@import 'item-product.css';
@import 'wishlist-compare.css';

.details-product .product-spec {
    margin-bottom: 15px;
    margin-top: 25px
}

@media (min-width: 767px) {
    .details-product .product-spec {
        position:sticky;
        top: 0px
    }
}

@media (max-width: 767px) {
    .details-product .product-spec {
        margin-top:18px
    }
}

.details-product .product-spec .product_getcontent {
    border-bottom: 1px solid #f1f1f1;
    border-radius: 5px;
    max-height: 300px;
    overflow: hidden
}

.details-product .product-spec .bea-pro__seemore {
    position: relative;
    text-align: center
}

.details-product .product-spec .bea-pro__seemore::before {
    height: 50px;
    margin-top: -50px;
    content: "";
    display: block;
    background: transparent;
    background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.6) 50%, #fff 55%);
    background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(255,255,255,0.2)), color-stop(50%, rgba(255,255,255,0.6)), color-stop(55%, #fff));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.6) 50%, #fff 55%);
    background: -o-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.6) 50%, #fff 55%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.6) 50%, #fff 55%);
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.6) 50%, #fff 55%)
}

.details-product .product-spec .bea-pro__seemore .carret {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #5b5b5b;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    margin-bottom: 2px;
    color: inherit
}

.details-product .product-spec .bea-pro__seemore .btn-icon {
    line-height: 1;
    height: auto;
    font-weight: 600
}

.details-product .product-spec .bea-pro__seemore:hover .btn-icon {
    color: var(--mainColor)
}

.details-product .product-spec .bea-pro__seemore:hover .carret {
    border-left: 5px solid var(--mainColor)
}

.details-product .product-spec .heading-title {
    margin-bottom: 20px;
    padding-bottom: 6.1px;
    padding-top: 6.11px;
    color: var(--mainColor);
    border-bottom: 1px solid #dee2e6;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase
}

@media (max-width: 767px) {
    .details-product .product-spec .heading-title {
        font-size:16px
    }
}

.details-product .product-spec .heading-title span {
    border-bottom: 2px solid var(--mainColor);
    padding: 8px 0px
}

.details-product .product-spec table {
    border-collapse: unset;
    border-spacing: 0;
    border-color: inherit;
    border: 0px;
    margin-bottom: 0px
}

.details-product .product-spec table,.details-product .product-spec #spec-modal table {
    max-width: 100%;
    border: 0px;
    font-size: 13px
}

.details-product .product-spec table td {
    padding: 5px;
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    text-align: left
}

.details-product .product-spec table tr:nth-of-type(odd) {
    background-color: #fff
}

.details-product .product-spec table tr:first-child td {
    border-top: 1px solid #f1f1f1
}

.details-product .product-spec table tr td:first-child {
    border-left: 1px solid #f1f1f1;
    width: 40%;
    background-color: #f9f9fb;
    font-weight: 600
}

.details-product .product-spec table tr:first-child td:first-child {
    border-top-left-radius: 5px
}

.details-product .product-spec table tr:first-child td:last-child {
    border-top-right-radius: 5px
}

.details-product .product-spec table tr:last-child td:last-child {
    border-bottom-right-radius: 5px
}

.details-product .product-spec table tr:last-child td:first-child {
    border-bottom-left-radius: 5px
}

.details-product .product-wish {
    width: 24px;
    height: 24px;
    position: absolute;
    line-height: 1;
    right: 7px;
    bottom: 7px;
    z-index: 2
}

@media (max-width: 767px) {
    .details-product .product-wish {
        width:20px;
        height: 20px
    }
}

.details-product .product-wish svg {
    width: 24px;
    height: 24px
}

@media (max-width: 767px) {
    .details-product .product-wish svg {
        width:20px;
        height: 20px
    }
}

.details-product .product-wish:hover svg path {
    fill: var(--mainColor)
}

.title-product {
    font-size: 22px;
    margin: 0px 0px 15px;
    line-height: 26px;
    font-weight: 600
}

.gallery-top {
    position: relative;
    margin-bottom: 10px;
    display: block
}

.gallery-top .swiper-slide {
    padding-bottom: 100%;
    display: block;
    height: 0
}

.gallery-top .swiper-slide img {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 99%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    position: absolute
}

.gallery-thumbs {
    margin-top: 10px !important;
    position: relative;
    display: block;
    padding: 0px 3px
}

.gallery-thumbs .swiper-slide {
    border: 1px solid #e4e4e4;
    cursor: pointer;
    background: #fff
}

.gallery-thumbs .swiper-slide .p-100 {
    padding-bottom: 100%;
    height: 0;
    position: relative
}

.gallery-thumbs .swiper-slide .p-100 img {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    position: absolute
}

.gallery-thumbs .swiper-slide {
    width: 80px;
    max-width: 80px;
    margin-right: 10px;
}

.gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
    border-color: var(--mainColor);
    overflow: hidden
}

.gallery-thumbs .swiper-slide:hover {
    border-color: var(--mainColor)
}

.gallery-thumbs .swiper-button-next {
    right: 5px
}

.gallery-thumbs .swiper-button-prev {
    left: 5px
}

.gallery-thumbs .swiper-button-next,.gallery-thumbs .swiper-button-prev {
    background: transparent
}

.gallery-thumbs .swiper-button-next:after,.gallery-thumbs .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
    background: #fff;
    padding: 8px 5px;
    color: #333;
    box-shadow: 0 1px 2px 2px rgba(0,0,0,0.04)
}

.gallery-thumbs .swiper-button-next:hover:after,.gallery-thumbs .swiper-button-prev:hover:after {
    color: var(--mainColor)
}

.gallery-thumbs .swiper-button-next.swiper-button-disabled,.gallery-thumbs .swiper-button-prev.swiper-button-disabled {
    display: none
}


.layout-product {
    padding-bottom: 30px
}

.layout-product .product-image-block {
    margin-bottom: 10px;
    position: relative;
    z-index: 0
}

@media (min-width: 767px) {
    .layout-product .product-image-block {
        position:sticky;
        top: 10px
    }
}

.layout-product .product-image-block .badge {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 0px 8px;
    border-radius: 15px;
    height: 22px;
    line-height: 22px;
    background-color: #c90000;
    z-index: 1
}

.layout-product form {
    margin-bottom: 0px
}

.layout-product form.form-inline {
    display: block;
}

.layout-product .form-inline .form-group {
    display: inline-block;
}

.layout-product .form-inline .price-box {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.1
}

.layout-product .form-inline .price-box .special-price {
    display: block;
    line-height: 1.1
}

.layout-product .form-inline .price-box .special-price .price {
    font-size: 24px;
    font-weight: 600;
    color: #c90000;
}

.layout-product .form-inline .price-box [data-mode="rent"] .special-price .price {
    color: var(--mainColor);
}

@media (max-width: 767px) {
    .layout-product .form-inline .price-box .special-price .price {
        font-size:22px
    }
}

.layout-product .form-inline .price-box .old-price,.layout-product .form-inline .price-box .save-price {
    color: #7a7c80;
    font-size: 13px;
    font-weight: 400;
    display: inline-block
}

.layout-product .form-inline .price-box .save-price {
    margin-left: 10px
}

.layout-product .form-inline .price-box .save-price .product-price-save {
    color: #c90000
}

@media (max-width: 480px) {
    .layout-product .form-inline .price-box .save-price {
        margin-left:0;
        display: block;
        margin-top: 5px
    }
}

.layout-product .product-top {
    margin-bottom: 10px;
    display: none
}

.layout-product .product-top .sku-product {
    font-size: 14px;
    display: flex;
    margin-right: 15px
}

.layout-product .product-top .sku-product span:last-child {
    margin-right: 0px
}

.layout-product .a-sku {
    color: var(--mainColor)
}

.layout-product .inventory_quantity {
    font-size: 14px;
    margin-bottom: 10px
}

.layout-product .inventory_quantity .a-stock {
    color: var(--mainColor)
}

.layout-product .inventory_quantity .a-vendor {
    color: var(--mainColor)
}


.layout-product .form-product {
    padding: 10px 0 0px;
    margin-bottom: 15px
}

.layout-product .form-product.clas-cont {
    padding-bottom: 0px
}

.layout-product .form-product .select-swatch {
    margin-bottom: 10px
}


.layout-product .button_actions {
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px;
}

.layout-product .button_actions .btn {
    /* background: var(--mainColor); */
    /* color: #fff; */
    padding: 0px 25px;
    font-size: 18px;
    text-transform: uppercase;
    /* border: 1px solid var(--mainColor); */
    border-radius: 5px
}

@media (max-width: 322px) {
    .layout-product .button_actions .btn {
        padding:0px 10px
    }
}

.layout-product .button_actions .btn:hover {
    background: #fff;
    color: var(--mainColor)
}

.layout-product .button_actions .btn.btn[disabled] {
    opacity: 0.6
}

.layout-product .button_actions .btn_add_cart,.layout-product .button_actions .btn-installment {
    background-color: #fff;
    color: var(--mainColor);
    border: 1px solid var(--mainColor);
    width: calc(50% - 5px);
    font-weight: bold
}

.layout-product .button_actions .btn_add_cart:hover,.layout-product .button_actions .btn-installment:hover {
    color: var(--subColor);
    border: 1px solid var(--subColor)
}

.layout-product .button_actions .btn-installment {
    margin-left: 10px;
    line-height: initial !important;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px !important;
    line-height: 16px !important
}

.layout-product .button_actions .btn-installment span {
    text-transform: initial !important;
    font-weight: 400
}

.layout-product .flex-quantity {
    display: block;
    font-size: 14px
}

.layout-product .custom-btn-number {
    display: block;
    margin-bottom: 10px
}

.layout-product .custom-btn-number label {
    margin: 0;
    font-weight: 500;
    display: block !important;
    margin-bottom: 5px
}

.layout-product .input_number_product {
    width: auto;
    position: relative;
    padding: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    display: inline-flex
}

.layout-product .input_number_product .btn_num {
    font-size: 20px;
    line-height: 0px;
    border: solid 1px #e4e4e4;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #fff;
    float: left;
    color: #333;
    text-align: center;
    padding: 0px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center
}

.layout-product .input_number_product .btn_num:hover {
    background-color: var(--mainColor);
    color: #fff;
    border: solid 1px var(--mainColor)
}

.layout-product .input_number_product .btn_num.num_1 {
    border-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px
}

.layout-product .input_number_product .btn_num.num_2 {
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px
}

.layout-product .input_number_product input {
    display: block;
    color: var(--textColor);
    text-align: center;
    box-shadow: none;
    background: #fff;
    margin: 0;
    height: 40px;
    line-height: 40px;
    box-shadow: none;
    border-radius: 0px;
    font-size: 16px;
    width: 60px;
    padding: 0;
    border: none;
    border-bottom: solid 1px #ddd;
    border-top: solid 1px #ddd
}

@media (max-width: 322px) {
    .layout-product .input_number_product input {
        width:50px
    }
}


.product-tab {
    margin-top: 25px;
    margin-bottom: 25px
}

@media (max-width: 991px) {
    .product-tab {
        margin-bottom:10px;
        margin-top: 0;
    }
}

.product-tab .tabs-title {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    border-bottom: 1px solid #dee2e6
}

.product-tab .tab-link {
    cursor: pointer;
    padding: 8px 0px;
    margin-right: 30px
}

.product-tab .tab-link h3 {
    color: #333;
    padding: 0;
    margin: 0;
    position: relative;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase
}

@media (max-width: 767px) {
    .product-tab .tab-link h3 {
        font-size:16px
    }
}

.product-tab .tab-link.active {
    border-bottom: 2px solid var(--mainColor);
    color: var(--mainColor);
    margin-bottom: -1px
}

.product-tab .tab-link.active h3 {
    color: var(--mainColor)
}

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

.product-tab .tab-content .view_mores {
    text-align: center
}

.product-tab .tab-content .block-collection {
    margin-bottom: 30px
}

.product-tab .tab-content .content_coll {
    max-height: 300px;
    overflow: hidden;
    position: relative
}

.product-tab .tab-content .content_coll.active {
    max-height: initial
}

.product-tab .tab-content .view_mores a.active {
    display: none
}

.product-tab .tab-content .bg_cl {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: linear-gradient(#ffffff00, #fff)
}

.product-tab .tab-content .bg_cl.active {
    display: none
}

.product-tab .tab-content .view_mores {
    margin-bottom: 30px
}

.product-tab .tab-content .view_mores a {
    display: inline-block;
    padding: 5px 15px;
    color: #000;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #000;
    border-radius: 40px
}

.product-tab .tab-content .view_mores a:hover {
    background-color: var(--subColor);
    border: 1px solid var(--subColor)
}

.product-tab .tab-content a.one .fa {
    margin-right: 6px
}

.product-tab .tab-content .view_mores img {
    max-width: 16px;
    vertical-align: -1px
}

.product-tab .tab-content .view_mores .two img {
    transform: rotate(180deg)
}

@media (max-width: 991px) {
    .product-tab .tab-content iframe {
        width:100% !important
    }
}

.product-tab .tab-content.active {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 15px 0px
}

.product-tab .rte ul {
    list-style: initial;
    padding-left: 25px
}


@media (max-width: 767px) {
    .product-tab .tabs-title {
        display:block;
        width: 100%;
        max-width: unset;
        height: auto;
        white-space: nowrap;
        overflow-x: scroll
    }

    .product-tab .tabs-title::-webkit-scrollbar {
        display: none
    }

    .title-product {
        font-size: 20px;
        line-height: 24px
    }

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

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


#spec-modal {
    bottom: 0;
    left: 0;
    overflow-x: auto;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0 !important;
    z-index: 9999
}

#spec-modal .chosee_size {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase
}

#spec-modal .chosee_size p {
    margin-bottom: 10px
}

#spec-modal .modal-coupon-product {
    position: absolute;
    width: 650px;
    top: 30px;
    height: auto;
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: #fff;
    z-index: 8011;
    border-radius: 5px
}

@media (max-width: 767px) {
    #spec-modal .modal-coupon-product {
        width:96%;
        padding: 5px 5px 15px
    }
}

#spec-modal .modal-coupon-product .modal-body {
    max-height: 500px;
    overflow-y: auto;
    padding: 0px
}

#spec-modal .modal-coupon-product .modal-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    border-radius: 5px;
    background-color: #F5F5F5
}

#spec-modal .modal-coupon-product .modal-body::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5
}

#spec-modal .modal-coupon-product .modal-body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    background-color: #e5e5e5
}

#spec-modal .modal-coupon-product .modalcoupon-close {
    position: absolute;
    right: 5px;
    top: 0px;
    color: #616161
}

#spec-modal .modal-coupon-product .modalcoupon-close svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s
}

#spec-modal .modal-coupon-product .modalcoupon-close:hover svg {
    transform: rotate(90deg)
}

#spec-modal .modalcoupon-overlay {
    position: fixed;
    top: 0px !important;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: .5
}

#spec-modal .chosee_size {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase
}



/* Purchase Mode Selector Styles */
.purchase-mode-selector {
    margin-bottom: 20px;
}

.purchase-mode-selector .mode-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.purchase-mode-selector .mode-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
    max-width: 200px;
    line-height: 1;
    font-size: 18px;
}

.purchase-mode-selector .mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.purchase-mode-selector .mode-btn.active {
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.purchase-mode-selector .mode-btn-buy.active {
    border-color: #c90000;
    background: #f8eded;
    color: #c90000;
}

.purchase-mode-selector .mode-btn-rent.active {
    border-color: var(--mainColor);
    background: #e7f3ff;
    color: var(--mainColor);
}

/* Price Display Styles */
.price-display {
    display: none;
}

.price-display.active {
    display: block;
}

.price-display .price.product-price {
    font-size: 24px;
    color: var(--mainColor);
    font-weight: bold;
}

.price-display .old-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-display .old-price .price.product-price-old {
    font-size: 18px;
}

.discount-badge {
    display: inline-block;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

[data-mode="buy"] .discount-badge {
    background: #c90000;
}

[data-mode="rent"] .discount-badge {
    background: var(--mainColor);
}

.btn.buynow {
    width: 100%; 
    padding: 15px; 
    font-size: 16px; 
    font-weight: 600; 
}

.min-order-info {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid var(--mainColor);
}

.min-order-info span {
    color: #666;
}

#total-price-display {
    margin-left: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--mainColor);
}

.input_number_product {
    display: flex;
    align-items: center;
}

.input_number_product .btn_num {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.input_number_product .btn_num:hover {
    background: #f0f0f0;
    border-color: var(--mainColor);
}

.input_number_product .prd_quantity {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
}

.layout-product .button_actions .buynow.buy-button {
    background: #c90000;
    border-color: #c90000;
}


.buynow span:first-child {
    position: relative;
    font-weight: 400
}

.buynow {
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px !important;
    line-height: 16px !important;
    width: 100%;
    background: var(--mainColor);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid var(--mainColor);
    border-radius: 5px;
    font-weight: bold;
}

.buynow:hover {
    background: var(--mainColor) !important;
    opacity: 0.8;
    color: #fff !important
}

.buynow span {
    font-weight: 400
}

.buynow.btn-default {
    background: #fff;
    color: var(--mainColor);
    border: 1px solid var(--mainColor);
}

@supports (-webkit-touch-callout: none) {
    .layout-product .button_actions .btn {
        line-height: normal !important;
    }
}