﻿html {
    scroll-behavior: smooth;
}

.product-images img {
    border-radius: var(--radius)
}

/*.product-variations.fixed{*/
/*   scroll-margin-top: 120px !important;*/
/*position: fixed;
}*/
.product-variations img {
    border-radius: var(--radius-md)
}

@media only screen and (max-width: 440px) {
    .product-images img {
        border-radius: var(--radius-sm)
    }

    .product-variations img {
        border-radius: var(--radius-xs) !important;
    }
}

.ui.longer.modal {
    max-height: 90vh !important;
    overflow: hidden !important;
}

    .ui.longer.modal > .content {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        max-height: calc(90vh - 100px);
    }

.product-variations .header h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.product-variations .price {
    font-size: 1.5rem;
}

.product-variations .variations {
    display: none;
}

.product-variations .disabled.button {
    box-shadow: 0px 0px 0px 1px #1B1C1D inset !important;
    overflow: hidden;
    position:relative;
}


    .product-variations .disabled.button .disabled-strike {
        border-bottom: 2px solid var(--primary-color-700);
        position: absolute;
        z-index: 1;
        width: 100%;
        right: 0;
        top: 50%;
        transform: rotate(-35deg);
        opacity: .5
    }

.product-variations .product-colors .color-selector.out-of-stock {
    overflow: hidden;
    display:inline-block;
    position: relative;
}


    .product-variations .product-colors .color-selector.out-of-stock img {
        opacity: .5;
    }


    .product-variations .product-colors .color-selector.out-of-stock .disabled-strike {
        border-left: 2px solid var(--primary-color-700);
        position: absolute;
        z-index: 1;
        height: 100%;
        right: 50%;
        top: 0;
        transform: rotate(40deg);
        opacity: .8
    }

    .color-selector .color-sample {
        position: absolute;
        right: 10px;
        bottom: 10px;
    }


.color-selector img {
    opacity: 1;
    padding: 3px;
}


    .color-selector.active img,
    .color-selector img:hover {
        opacity: 1;
    }

.color-selector.active img {
    border: 1px solid var(--primary-color-700);
    /*    solid var(--primary-color-100);*/
    box-shadow: 0px 0px 9px -2px var(--primary-color-900);
    /*    padding: 5px;*/
}


@media only screen and (min-width: 441px) {

    .product-image-collection {
        display: flex;
        flex-wrap: wrap;
    }

    .product-image-item {
        cursor: zoom-in;
        margin-bottom: .5rem;
        padding: 1rem;
        width: 33.33%;
    }


        .product-image-item[data-image-index="0"],
        .product-image-item[data-image-index="1"] {
            width: 50%;
        }
}

@media only screen and (max-width: 991px) {
    .product-variations-column {
        padding: 1rem 1rem 0rem !important;
    }
}

@media only screen and (max-width: 440px) {

    .product-image-collection {
        border-radius: var(--radius) !important;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color-900) var(--primary-color-100);
        scrollbar-arrow-color: var(--primary-color-900);
    }

    .product-image-item {
        flex-basis: calc((100% - 10px) / 1.5);
        flex: 0 0 calc((100% - 120px) / 1);
        /*        flex: 0 0 calc((100% - 120px) / 6.5);*/
    }
}



.selected-size {
    display: inline-block;
    direction: ltr;
}
/* =========================================================
   Semantic UI Modal
   ========================================================= */
.product-image-modal {
    width: 90% !important;
    max-width: 1200px !important;
    height: 90vh;
    margin: 0 auto !important;
    background: transparent !important;
    box-shadow: none !important;
}


    /*
 * Semantic UI adds .content with padding.
 */

    .product-image-modal > .content {
        height: 100%;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }


/* =========================================================
   Close Button
   ========================================================= */

.product-image-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    color: #fff !important;
    font-size: 1.5rem !important;
    cursor: pointer;
}


/* =========================================================
   Splide
   ========================================================= */

.product-image-slider {
    width: 100%;
    height: 100%;
}


    .product-image-slider .splide__track {
        width: 100%;
        height: 100%;
    }


    .product-image-slider .splide__list {
        height: 100%;
    }


    .product-image-slider .splide__slide {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }


/* =========================================================
   Large Image
   ========================================================= */

.product-slider-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}


/* =========================================================
   Splide Arrows
   ========================================================= */

.product-image-slider .splide__arrow {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    opacity: 1;
}


    .product-image-slider .splide__arrow:hover {
        background: #fff;
    }


    .product-image-slider .splide__arrow svg {
        width: 18px;
        height: 18px;
    }


/* =========================================================
   Pagination
   ========================================================= */

.product-image-slider .splide__pagination {
    bottom: 10px;
}


.product-image-slider .splide__pagination__page {
    width: 8px;
    height: 8px;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .product-image-modal {
        width: 100% !important;
        height: 100vh;
        max-width: none !important;
    }


        .product-image-modal > .content {
            padding: 40px 5px 20px !important;
        }


    .product-slider-image {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 80px);
    }


    .product-image-slider .splide__arrow {
        width: 36px;
        height: 36px;
    }


    .product-image-slider .splide__arrow--prev {
        left: 5px;
    }


    .product-image-slider .splide__arrow--next {
        left: 5px;
    }


    .product-image-modal-close {
        top: 8px;
        right: 8px;
    }
}

.measurment-helper {
    float: left;
    display: flex;
    align-items: center;
}

    .measurment-helper img {
        border-radius: 0;
        margin-left: 5px;
    }

    .measurment-helper a {
        color: var(--primary-color-900);
        text-decoration: underline;
        margin-top: -5px;
        font-weight: bold;
    }

.grid.sizes button {
    font-weight: bold !important;
}

    .grid.sizes button i:not(.check) {
        width: 0 !important;
    }


.variation-hint {
    font-style: italic;
    color: var(--primary-color-500);
}

.purchase-box-wrapper .purchase-box:not(.active) {
    display: none;
}

.purchase-button {
    font-size: 1.4rem !important;
}

@media (max-width: 441px) {
    .purchase-button {
        font-size: 1.32rem !important;
    }
}

.purchase-button:not(.basic) {
    box-shadow: 0px 0px 16px -6px var(--primary-color-900) !important;
    background: linear-gradient(to right, var(--primary-color-500), var(--primary-color-700)) !important;
}

@media only screen and (max-width: 440px) {
    .purchase-button-wrapper {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        background: #FFF;
        padding: .5rem;
        box-shadow: 0px -1px 4px 0px var(--primary-color-900);
        z-index: 1;
    }
}

.product-colors.grid .column {
    padding: .3rem !important;
}


@media only screen and (max-width: 440px) {
    .copy-right {
        padding-bottom: 80px;
    }
}

.flipper{
    margin-top: .5rem;
}

#size-guide-modal img{
    display: inline-block !important;
    margin-bottom: 15px;
}