@charset "utf-8";
/* CSS Document */



.index-best-sellers {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 42px 12px;
    box-sizing: border-box;
}


/* 
   HEADER
*/

.index-best-sellers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 0 6px 0;
}

.index-best-sellers-header h2 {
    margin: 0;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;

    color: #111;
}

.index-best-sellers-view-all {
    color: #f2185b;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}

.index-best-sellers-view-all span {
    display: inline-block;

    margin-left: 7px;

    font-size: 20px;
    line-height: 10px;

    transition: transform .2s ease;
}

.index-best-sellers-view-all:hover span {
    transform: translateX(4px);
}




.index-best-sellers-carousel {
    position: relative;
    width: 100%;
}



.index-best-sellers-viewport {
    width: 100%;
    overflow: hidden;
}



.index-best-sellers-track {
    display: flex;
    gap: 8px;

    width: max-content;

    transition: transform .45s ease;
    will-change: transform;
}


/* =========================================================
   OUTER PRODUCT CARD

   This is the actual visible box.
   ========================================================= */

.index-best-sellers-item {

    flex: 0 0 calc((100vw - 160px) / 5);

    width: calc((100vw - 160px) / 5);
    max-width: 230px;

    height: 320px;

    box-sizing: border-box;

    border: 1px solid #e6e6e6;
    border-radius: 6px;

    background: #fff;

    overflow: hidden;

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

.index-best-sellers-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
    transform: translateY(-2px);
}



.index-best-sellers-item #index_item {

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 5px 8px 7px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 15px;

    color: #111;
}


/* =========================================================
   PRODUCT IMAGE

   Your image is inside:

   <div style="pointer-events: none">
       <img ...>
   </div>
   ========================================================= */

.index-best-sellers-item #index_item > a:first-child {
    display: block;

    width: 100%;
    height: 200px;

    margin: 0;
    padding: 0;

    text-align: center;
}

.index-best-sellers-item #index_item > a:first-child img { height:300px; }


/* Remove the inline <br> after the image */

.index-best-sellers-item #index_item > br:first-of-type {
    display: none;
}


/* Image wrapper */

.index-best-sellers-item #index_item > a:first-child > div {
    width: 100%;
    height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Actual product image */

.index-best-sellers-item #index_item img#index-product-aspect-ratio {

    display: block;

    width: 100%;
    height: 200px;

    object-fit: contain;

    margin: 0 auto;
}


/* =========================================================
   PRODUCT NAME

   This is the first text div after the image.
   ========================================================= */
   
   .index-best-sellers-item #index_item > div:nth-of-type(1) {

    width: 100%;

    margin: 0;
    padding: 0 2px;

    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    font-size: 16px;
    line-height: 22px;
    font-weight: normal;

    color: #111;
}
   

.index-best-sellers-item #index_item > div:nth-of-type(2) {

    width: 100%;

    margin: 0;
    padding: 0 2px;

    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    font-size: 13px;
    line-height: 15px;
    font-weight: 600;

    color: #111;
}



.index-best-sellers-item #index_item > div:nth-of-type(3) {
    display: flex;
	width: 100%;

    margin: 0;
    padding: 0 2px;

    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    font-size: 13px;
    line-height: 15px;
    font-weight: 600;

    color: #111;
}


/* 
   PRICE
*/

.index-best-sellers-item #index_item > div:nth-of-type(4) {

    width: 100%;

    margin: 2px 0 5px;
    padding: 0;

    font-size: 14px;
    line-height: 18px;

    font-weight: 700;

    color: #111;
}


/* 
   Turn img that image into the BUY NOW button.
*/

.index-best-sellers-item #index_item > a:last-of-type {

    display: flex;

    width: 82px;
    height: 24px;

    margin-top: auto;

    align-items: center;
    justify-content: center;

    border-radius: 3px;

    background: #f2185b;

    text-decoration: none;

    overflow: hidden;

    transition:
        background .2s ease,
        transform .2s ease;
}


/* Hide the existing "more info" image */

.index-best-sellers-item #index_item > a:last-of-type img {

    display: none;
}


/* Create BUY NOW text */

.index-best-sellers-item #index_item > a:last-of-type::after {

    content: "BUY NOW";

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 24px;
    font-weight: 700;

    color: #fff;

    text-align: center;
}


/* Button hover */

.index-best-sellers-item #index_item > a:last-of-type:hover {

    background: #d91450;

    transform: translateY(-1px);
}


/* Remove final BR */

.index-best-sellers-item #index_item > br:last-of-type {
    display: none;
}


/* =========================================================
   ARROWS
   ========================================================= */

.index-best-sellers-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 28px;
    height: 28px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #050505;
    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background .2s ease,
        opacity .2s ease;
}

.index-best-sellers-arrow:hover {
    background: #333;
}

.index-best-sellers-prev {
    left: -31px;
}

.index-best-sellers-next {
    right: -31px;
}

.index-best-sellers-arrow.disabled {
    opacity: .25;
    pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .index-best-sellers {
        padding-left: 35px;
        padding-right: 35px;
    }

    .index-best-sellers-item {

        flex-basis: calc((100vw - 105px) / 3);

        width: calc((100vw - 105px) / 3);

        max-width: none;
		height:320px;
    }

    .index-best-sellers-prev {
        left: -27px;
    }

    .index-best-sellers-next {
        right: -27px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .index-best-sellers {
        padding-left: 32px;
        padding-right: 32px;
    }

    .index-best-sellers-header h2 {
        font-size: 20px;
    }

    .index-best-sellers-view-all {
        font-size: 11px;
    }

    .index-best-sellers-item {

        flex-basis: calc((100vw - 78px) / 2);

        width: calc((100vw - 78px) / 2);

        height: 320px;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 430px) {

    .index-best-sellers {
        padding-left: 28px;
        padding-right: 28px;
    }

    .index-best-sellers-header h2 {
        font-size: 18px;
    }

    .index-best-sellers-view-all {
        font-size: 10px;
    }

    .index-best-sellers-item {

        flex-basis: calc(100vw - 70px);

        width: calc(100vw - 70px);
    }

    .index-best-sellers-arrow {
        width: 26px;
        height: 26px;
        font-size: 22px;
    }

    .index-best-sellers-prev {
        left: -25px;
    }

    .index-best-sellers-next {
        right: -25px;
    }

}
