﻿/*Product page product picture*/

.product-picture-slider .swiper-wrapper {
    align-items: center;
}

.product-picture-slider .swiper-slide {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.product-picture-slider img {
    max-height: 400px;
}

/*Product page thumb slider*/
.thumb-slider-container {
    max-height: 400px;
}

    .thumb-slider-container .swiper-button-next, .thumb-slider-container .swiper-button-prev {
        transform: rotate(90deg);
        position: static;
    }

.thumb-slider .swiper-slide {
    display: flex;
    justify-content: center;
    height: 50px !important;
    width: 50px !important;
    align-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
}

.thumb-slider img {
    max-width: 40px;
    max-height: 40px;
}
.swiper-button-prev::after, .swiper-button-next::after {
    color: black;
}

#swiper-buttons:after {
    font-family: swiper-icons;
    font-size: 16px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-weight: 600;
}

.swiper-slide-thumb-active {
    border: 1px solid #F04D24 !important;
}

.pswp__bg {
    background: #fff;
}

.pswp__button {
    display: inline-block;
    font-family: FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
    text-align: center;
    line-height: 1;
    position: relative;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: transparent;
    cursor: pointer;
    overflow: visible;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    float: right;
    opacity: 0.75;
    transition: opacity 0.1s ease-in-out, background-color 0.1s ease-in-out;
    box-shadow: none;
    color: #777;
    color: inherit;
}

    .pswp__button:focus, .pswp__button:hover {
        background: rgba(0, 0, 0, 0.08);
    }

    .pswp__button:active {
        background: rgba(0, 0, 0, 0.12);
    }

    .pswp__button:focus, .pswp__button:hover {
        opacity: 0.85 !important;
    }

    .pswp__button:active {
        outline: none;
        opacity: 1 !important;
    }

    .pswp__button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

.pswp__button--close {
    font-family: inherit;
    font-size: 26px;
    padding-bottom: 7px;
    font-weight: 600;
    background: #c5c5c5;
    color: #fff !important;
    margin-left: 2rem;
}

    .pswp__button--close:focus, .pswp__button--close:hover, .pswp__button--close:active {
        background: #f44336;
    }

.pswp__button--fs {
    display: none;
}

.pswp--supports-fs .pswp__button--fs {
    display: block;
    font-size: 25px;
}

    .pswp--supports-fs .pswp__button--fs:before {
        font-family: monospace;
        content: "\2922";
    }

.pswp--fs .pswp__button--fs:before {
    font-family: monospace;
    content: "\2922";
}


.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
    visibility: hidden;
}


.pswp__button--arrow--left,
.pswp__button--arrow--right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 68px;
    font-size: 60px;
    padding: 0;
}

.pswp__button--arrow--left {
    left: 0;
}

    .pswp__button--arrow--left:before {
        font-family: monospace;
        content: "\003C";
        display: flex;
        justify-content: center;
        width: 60px;
        height: 68px;
    }

.pswp__button--arrow--right {
    right: 0;
}

    .pswp__button--arrow--right:before {
        font-family: monospace;
        content: "\003E";
        display: flex;
        justify-content: center;
        height: 68px;
        width: 60px;
    }


.pswp__counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pswp__zoom-controls {
    position: relative;
    float: left;
    height: 40px;
}

.pswp__img {
    object-fit: contain;
}


.pswp__counter {
    position: relative;
    float: left;
    width: 80px;
    height: 40px;
    font-size: inherit;
    line-height: 40px;
    color: rgba(0,0,0, 0.6);
    padding-left: 20px;
}

.pswp__img {
    background: white;
}

.pswp__img--placeholder--blank {
    background: white !important;
}

.tooltip-container {
    position: absolute;
    width: 200px;
    color: #000000;
    background: #FFFFFF;
    border: 1px solid #eeeeee;
    text-align: center;
    visibility: hidden;
    border-radius: 5px;
}

    .tooltip-container:before {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -7px;
        width: 0;
        height: 0;
        border-bottom: 7px solid #eeeeee;
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
    }

    .tooltip-container:after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -6px;
        width: 0;
        height: 0;
        border-bottom: 6px solid #FFFFFF;
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
    }

    .tooltip-container .tooltip-header {
        background-color: #F6F6F6;
        height: 25px;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        padding-left: 10px;
        padding-top: 5px;
        text-align: left;
        width: 198px;
        font-size: 15px;
        border-bottom: 1px #EEEEEE solid;
    }

    .tooltip-container .tooltip-body {
        margin: 5px;
    }

        .tooltip-container .tooltip-body img {
            border: 0px #FFF;
            width: 190px;
        }

.attribute-squares li:hover .tooltip-container,
.attribute-squares li:focus .tooltip-container {
    visibility: visible;
    margin-left: -83px;
    margin-top: 5px;
    z-index: 999;
}

/********** PRODUCT REVIEWS **********/
.tooltip {
    position: initial;
    display: inline-block;
    color: #444;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: auto;
        background: #f0f0f0 no-repeat 100% 5%;
        border: #c0c0c0 1px dotted;
        text-align: Left;
        padding: 10px 10px 5px 5px;
        position: absolute;
        z-index: 1;
        left: 10%;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
        }

    .tooltip:hover .tooltiptext,
    .tooltip:focus .tooltiptext {
        visibility: visible;
        opacity: 1;
        cursor: help;
    }

.zoom-preview {
    height: 700px;
    width: 700px;
    border-radius: 4px;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0;
    left: 46%;
    top: 0px;
    display: none;
}

@media all and (min-width: 811px) {

    .zoom-preview {
        display: block;
    }
}

.show-magnifier {
    z-index: 99;
    transform-origin: left center;
    animation: showZoom 0.5s forwards;
}

@keyframes showZoom {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.giveaway-icon {
    height: auto;
    animation: rotate-giveaway 1.5s linear;
}

@keyframes rotate-giveaway {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-360deg);
    }
}

#thumb-slider,
#product-picture-slider {
    opacity: 0;
}

#product-code-copy {
    outline: none;
    border: none;
}

    #product-code-copy:hover {
        cursor: pointer;
    }

.product-picture {
    max-width: 5rem;
    max-height: 5rem;
}

    .product-picture img {
        max-height: 100%;
        max-width: 100%;
    }

.product-flex {
    transform: scale(1);
}

.product-review-popup .mfp-content {
    border-radius: 4px;
    background-color: #fff;
    width: 90%
}

.one-click-buy-popup .mfp-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

@media all and (min-width: 768px) {
    .one-click-buy-popup .mfp-content, .product-review-popup .mfp-content {
        width: 640px;
    }

    .one-click-buy-popup .mfp-content{
        position: unset;
        bottom: unset;
        left: unset;
        right: unset;
    }

    #buynow-popup {
        border-radius: 12px !important;
    }
}

#buynow-popup img {
    max-height: 100%;
}

.one-click-buy-wrapper::-webkit-scrollbar {
    width: 6px;
}

.one-click-buy-wrapper::-webkit-scrollbar-track {
    border-radius: 0.25rem;
}

.one-click-buy-wrapper::-webkit-scrollbar-thumb {
    background: #6E6E6E;
    border-radius: 0.25rem;
}

.customer-info input {
    width: 100%;
    height: 32px !important;
    margin-top: 1px;
    outline: none;
    border: none !important;
    border-bottom: 1px solid #E2E2E2 !important;
    border-radius: 0 !important;
    padding-left: 4px !important;
    background-color: transparent !important;
}

    .customer-info input:focus {
        border-bottom: 1px solid #F04D24 !important;
    }

.ocb-select {
    width: 100%;
    height: 32px !important;
    margin-top: 1px;
    outline: none;
    border: none !important;
    border-bottom: 1px solid #E2E2E2 !important;
    border-radius: 0 !important;
    padding-left: 4px !important;
    padding-bottom: 0;
    background-color: transparent;
}

    .ocb-select:focus {
        border-bottom: 1px solid #F04D24 !important;
    }

    .ocb-select option {
        background: #fff;
    }

#one-click-buy-form .payment-options {
    grid-gap: 20px;
}

.additional-info {
    background: #ECF3FF;
    border: 1px solid #4b7df3;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

    .additional-info .title {
        font-weight: 500;
    }

.bank-info {
    color: #6E6E6E;
    font-size: 12px;
}

@media all and (min-width: 426px) {
    .bank-transfer-payment-info {
        display: flex;
        gap: 24px
    }

    .bank-info {
        flex: 1;
        max-width: 50%;
    }
}

.bank-info-value {
    font-weight: 500;
    color: #2C2C2C;
    margin-left: 4px;
}

.bank-transfer-payment-info-title, .bank-title {
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
}

.bank-title {
    margin-bottom: 8px;
}

.bank-transfer-payment-info-title {
    margin-bottom: 16px;
}

/*Product page slider mobile bullet points*/
.product-essential .swiper-pagination-bullet-active {
    background-color: #F04D24 !important;
}


/*** PRODUCT ESTIMATE SHIPPING ***/

/*TODO delete if .product-estimate-shipping is not being used*/
.product-estimate-shipping .shipping-date {
    margin-top: 3px;
}

.product-estimate-shipping .shipping-title {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    margin-bottom: 5px;
    justify-content: center;
}

    .product-estimate-shipping .shipping-title .shipping-price {
        margin-left: 5px;
        vertical-align: middle;
    }

    .product-estimate-shipping .shipping-title .shipping-loading {
        margin-left: 5px;
        vertical-align: middle;
        background: url(../images/ajax-loader-small.gif) no-repeat;
        width: 16px;
        height: 16px;
        display: inline-block;
    }

.product-estimate-shipping .open-estimate-shipping-popup .arrow-down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin: 0 0 3px 6px;
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
}


@media all and (max-width: 811px) {

    .product-discount {
        font-size: 10px;
    }

    .gallery .picture-thumbs .thumb-item {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #fff;
    }

        .gallery .picture-thumbs .thumb-item img {
            opacity: 0;
        }
}

@media all and (max-width: 1000px) {

    .write-review .review-rating {
        text-align: center;
    }

        .write-review .review-rating div.name-description {
            width: 100%;
            margin: 0 5px 0 0;
            text-align: center;
        }
}

@media all and (min-width: 811px) {
    /*** PRODUCT PAGE ***/
    /*    .gallery {
        width: 50% !important;
    }*/

    .gallery {
        width: 550px;
    }
}

@media all and (min-width: 1400px) {
    /*** PRODUCT REVIEWS ***/
    .product-review-item .review-title {
        max-width: 1050px;
    }
}

.required {
    align-items: start !important;
}

#on-scroll-header {
    display: none;
}

@media (min-width: 1024px){
    #on-scroll-header {
        position: fixed;
        top: 66px;
        left: 0;
        width: 100%;
        padding: 24px 24px;
        background: white;
        box-shadow: 0px 4px 26px rgba(139, 137, 148, 0.16);
        z-index: 20;
        display: none;
    }

        #on-scroll-header.show {
            display: block;
        }
}

.product-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price__now {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    margin-right: 8px;
}

.product-price__then {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    text-decoration-line: line-through;
    color: #6e6e6e;
    margin-right: 8px;
}

.product-price__difference {
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    color: #f04d24;
}

/*HowToBuyOnlineStart*/
.side-button-wrapper {
    bottom: 52%;
}

#sideButton {
    pointer-events: auto;
    transform: translateX(65px)rotate(-10deg);
    transition: transform 0.3s;
    transition: all 0.3s;
}

    #sideButton:hover {
        transform: translateX(20px)rotate(-20deg);
    }

.sideButton-message {
    transform: translate(-50px, 10px);
    background: #FDF0ED;
    border-radius: 100% 100% 0 100%;
    box-shadow: 0px 4px 26px rgb(159 153 153 / 40%);
}

#how-to-buy-online {
    top: 138px;
    right: 60px;
    width: 224px;
    border: 1px solid #F04D24 !important;
    background: #FFFFFF;
}
@media only screen and (max-width: 769px) {
    #how-to-buy-online {
        top: 165px;
    }
}

@media only screen and (max-width: 426px) {
    #how-to-buy-online {
        width: 80%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .how-to-buy-content {
        flex-direction: row !important;
        align-items: start;
        text-align: start;
    }

    .how-to-buy-img {
        width: 40% !important;
    }
}

.how-to-buy-content * #play-button {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.how-to-video-overview {
    opacity: 0.2;
}

.modal-buttons button {
    background-color: #FFF;
    color: #6E6E6E;
    border: 1px solid #EAEAEA !important;
    border-radius: 4px !important;
}

#video-open {
    background-color: #F04D24 !important;
    color: #FFF;
}

.video-popup-wrapper {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-popup-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    max-height: 90%;
}
/*HowToBuyOnlineEnd*/

#buynow-popup {
    width: 100%;
    border-radius: 12px 12px 0 0;
    max-width: 630px;
    max-height: 100dvh;
    background-color: #fff;
    z-index: 1000;
    overflow: hidden !important;
    box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.3);
    animation: OCBmodalslide 0.3s ease-out forwards;
}

@keyframes OCBmodalslide {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.one-click-buy-popup .mfp-close {
    right: 6px !important;
    top: 12px !important;
    font-size: 28px !important;
}

.one-click-buy-wrapper {
    height: fit-content;
    max-height: 70dvh;
    min-height: 320px;
    align-content: center;
}
@media only screen and (min-width: 786px) {

    @keyframes OCBmodalslide {
        to {
            transform: translateX(0%);
        }

        from {
            transform: translateX(100%);
        }
    }

    .one-click-buy-popup .mfp-close {
        right: 6px !important;
        top: 14px !important;
        font-size: xx-large !important;
    }

    .one-click-buy-wrapper {
        height: fit-content;
        max-height: 70vh;
        min-height: unset;
    }
}

.ocb-comment-input {
    width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden;
    resize: none;
    border: 1px solid #EAEAEA;
    padding: 9px 12px !important;
}

    .ocb-comment-input:focus {
        outline: none;
        border: 1px solid #F04D24;
    }

 /*select2 library is unused for now*/
.select2-container--default .select2-selection--single {
    border: none !important;
    background-color: transparent !important;
    border-bottom: 1px solid #E2E2E2 !important;
    border-radius: 0 !important;
    width: 100% !important;
    outline: none !important;
    font-size: 14px !important;
    align-content: center;
    height: 32px !important;
    margin-top: 1px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #2c2c2c !important;
    padding-left: 4px !important;
}

.select2-container {
    display: block !important;
}

.select2-container--default .select2-selection--single:focus {
    border-bottom: 1px solid #F04D24 !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.select2-container--default .select2-selection__clear {
    display: none !important;
}

.select2-dropdown .select2-results {
    max-height: 150px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .select2-dropdown .select2-results::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .select2-dropdown .select2-results ul {
        overflow-y: auto;
    }

        .select2-dropdown .select2-results ul::-webkit-scrollbar {
            width: 8px;
            height: 15px;
            border-radius: 4px;
        }

        .select2-dropdown .select2-results ul::-webkit-scrollbar-thumb {
            background: #EAEAEA;
            border-radius: 4px;
        }

.select2-dropdown {
    left: 0px !important;
    top: 0px !important;
    border: 1px solid #d3d3d3 !important;
    border-top: 0px !important;
}

    .select2-dropdown .select2-results ul li:hover {
        background: #f7f7f9 !important;
    }

.select2-search--dropdown .select2-search__field {
    outline: none !important;
    border: none !important;
    border-bottom: 1px solid #B3B3B3 !important;
}

    .select2-search--dropdown .select2-search__field:focus {
        border-bottom: 1px solid #F04D24 !important;
    }

.select2-results__option {
    padding: 6px !important;
    color: #6E6E6E !important;
    font-size: 14px !important;
    background: transparent !important;
}

    .select2-results__option:hover {
        background: #f7f7f9 !important;
        color: #6E6E6E !important;
    }

.one-click-buy-submit-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.ocb-promotional-code-active {
    pointer-events: none;
    background: #EAEAEA !important;
}

.ocb-promotional-code-button-active {
    pointer-events: none;
    background: #EAEAEA !important;
    color: #2C2C2C !important;
    border:1px solid #EAEAEA !important;
}

.button-loading {
    position: relative;
    pointer-events: none;
}

    .button-loading::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 20px;
        margin-left: -10px;
        margin-top: -10px;
        border: 3px solid rgba(0, 0, 0, 0.1);
        border-top: 3px solid #F04D24;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ocb-price-promotional-wrapper {
    background: #F1F1F3;
    padding: 1px 4px;
}

.error-message-discount:empty,
.error-message-giftcard:empty {
    margin-top: 0 !important;
    display: none;
}

.input-validation-icon {
    height: 2rem;
}

#save-link.disabled {
    pointer-events: none;
    opacity: 0.7;
    background-color: #FAFAFA;
    color: #6e6e6e;
}

/*GiftCardUploadImageModal Start*/
.custom-mfp-close {
    top: 10px !important;
    right: -5px !important;
}

#openUploadModal {
    height: 40px;
    border: 1px dashed #CACACA;
    word-break: keep-all;
}

#uploadedImage {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-container {
    width: 100%;
    height: 300px;
    border: 1px dashed #CACACA;
    cursor: pointer;
}

    .photo-container.error {
        border: 2px dashed red;
    }

.disabled-button {
    opacity: 0.5;
    pointer-events: none;
}

#image-preview {
    min-height: 300px;
}
/*GiftCardUploadImageModal End*/

.credit-card {
    max-height: 36px;
    padding: 24px 8px;
}