/* --- Header main-page --- */
header{
    height:100vh;
    background-color: var(--main-light)!important;
}
header.main-page {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 85px);
}
header.main-page div {
    color: white;
}
header.main-page .btn-main {
    border-color: transparent;
    background-color: white;
}

/* --- How it works --- */
.hiw svg{
    width: 50%;
    margin: 0 auto;
}
/*--- bg ---*/
.bg-main{
    background-color:var(--main)!important;
}
.bg-main-light{
    background-color:var(--main-light)!important;
}
.text-main{
    color:var(--main)!important;
}
.text-main-dark{
    color:var(--main-dark)!important;
}
.hover-overlay-main-light:hover {
    background-color:var(--main-light);
}
/* --- Filters --- */
.filter-header:not(:first-of-type) {
    margin-top: .5rem;
}
.filter-header {
    margin-bottom: .5rem;
}
.filters-block .link-filter {
    display: inline-flex;
    width: 100%;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.filters-block .link-filter.suboption {
    padding-left: 1.2rem;
    transform: scale(0.9);
}
.filters-block .link-filter input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.filters-block .link-filter span {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
    margin-right: 10px;
    text-align: center;
    background-color: white;
    border: solid 1px var(--grey);
    line-height: 16px;
    border-radius: 3px;
    top: 1px;
    transition: all 0.2s;
}
.filters-block .link-filter label {
    cursor: pointer;
}
.filters-block .link-filter:not(.selected) span i {
    display: none;
}
.filters-block .link-filter:not(.selected):hover span {
    border: solid 1px var(--grey-dark);
    margin-right: 1rem;
}
.filters-block .link-filter.selected span {
    border-color: var(--grey-dark);
    background-color: var(--grey-dark);
    margin-right: 1rem;
}
.filters-block .link-filter.selected span i {
    display: inline-flex;
    color: white;
}
.filters-block .brand-filter {
    max-height: 250px;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
    padding: 0 0.4rem 0.5rem;
    border-bottom: 0.5px solid #f1f1f1;
    overflow-y: scroll;
}
.filters-block .brand-filter::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}
.filters-block .brand-filter::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}
.filters-block .brand-filter::-webkit-scrollbar-thumb {
    background-color: #000000;
}

/* --- Services Box --- */

.serviceBox{
        background-color:var(--main-light);
        padding:15%;
        height:100%;
    }
.serviceBox h2{
        color:var(--main);
        padding:15px 0;
    }
.serviceBox a{
        font-size:3rem;
        color:var(--main);
    }
.figure{
text-align:center;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
div.figure img {
  -webkit-transition: .8s ease-in-out;
  transition: .8s ease-in-out;
}
div.figure:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.btn{
    border:1px solid black;
    background:linear-gradient(to right, var(--grey-light) 50%, var(--main) 50%) left;
    background-size:200%;
    transition: .2s ease-out;
}  
.btnVariant{
    border:1px solid black;
    background:white;
    background:linear-gradient(to right, var(--main) 50%, var(--main-dark) 50%) left;
    background-size:200%;
    transition: .2s ease-out;
    color:white;
}

.btn:hover{
    color:white;
    background-position:right;
}

.btnVariant:hover{
    color:black;
    background-position:right;

}
.btn-circle{
    position: absolute;
    bottom: -0.9rem;
    right: 1.9rem;
    }
.btn-circle.btn-primary {
    background-color: #ffffff;
    border: 3px solid var(--main);
    border-radius: 100px;
    color: #1e1e1e;
    width: 60px;
    height: 60px;
    transition:all .2s ease-in-out;
}
.btn-circle.btn-primary:hover{
    width:130px;
}
.btn-circle.btn-primary:hover > div{
    margin-left:15%;
}
.btn-circle.btn-primary div{
    height: 100%;
}
.btn-circle.btn-primary div i{
}
.btn-circle.btn-primary:hover div > i{
    display:none;
}
.btn-circle.btn-primary div p{
    padding-top: 15%;
    position: absolute;
    width: 100%;
    margin-right: 20%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease-in;
}
.btn-circle.btn-primary:hover > div > p{
    opacity:1;
    visibility:visible;
}
.collection-button{
    background:linear-gradient(to right, var(--main) 50%, var(--grey-light) 50%) left;
    background-size:200%;
    transition: .2s ease-out;
    color: white;
    font-size:0.8rem;
}
.collection-button:hover{
    color:black;
    background-position:right;
}
@media screen and (max-width: 992px) {
    .deal-item:last-of-type {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .deal-item:nth-last-of-type(2) {
        display: none;
    }
}


/* --- Collection page --- */
.inner-collection-item {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.title-collection-item {
    padding-bottom: 2.9rem;
    margin-bottom: 0
}
.discount-tag {
    position: absolute;
    right: 0;
    top: 1.2rem;
}
.back-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
}
/* --- Product page --- */
.product-view .carousel-indicators {
    position: relative;
    justify-content: left;
    opacity: .7;
    transition: opacity 0.2s;
}
.product-view .carousel-indicators {
    position: relative;
    justify-content: left;
    margin-right: 5%;
    margin-left: 5%;
}
.product-view .carousel-indicators div {
    opacity: .6;
    transition: opacity 0.2s;
}
.product-view .carousel-indicators div.active {
    opacity: 1;
}
.product-view .price .discount {
    background-color: var(--main-dark);
    color: white;
    font-weight: 400;
    font-size: 1.2rem;
    padding: .2rem .8rem;
}
.product-view .star-ratings-sprite {
    background-repeat: repeat-x;
    font-size: 0;
    height: 18px;
    line-height: 0;
    overflow: hidden;
    text-indent: -999em;
    width: 90px;
}
.product-view .star-ratings-sprite-rating {
    background-repeat: repeat-x;
    background-position: 0 100%;
    float: left;
    height: 18px;
    display: block;
}
/* select product */
.product-view #product-selection {
    position: relative;
}
.product-view #product-selection .row {
    margin: 0;
}
.product-view #product-selection #chevron.rotate {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.product-view #product-selection #color-option {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10;
    background: white;
    border: 0.5px solid rgb(221, 221, 221);
    margin-top: 5px;
    padding: 0.5rem 1px;
}
.product-view #product-selection .color-option {
    padding: 0 1.2rem 0 0.5rem;
    background-color: white;
    cursor: pointer;
}
.product-view #product-selection .color-option:hover {
    filter: brightness(.96);
}
.product-view #product-selection #color-selected {
    border: 0.5px solid #ddd;
    position: relative;
    padding-bottom: 1px;
    cursor: pointer;
}
.img-container{
    height:200px;
}
.img-container img{
    object-fit: cover;
}
/* --- Account page --- */
.indicator-account {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: .05rem;
    font-weight: 500;
    padding: 0 1.5rem;
    cursor: pointer;
}
.indicator-account.active {
    background-color: var(--main-dark);
    color: white;
}
/* --- Cart page --- */
.cart-product-thumb .discount-tag {
    background-color: var(--main);
    color: white;
    font-size: 13px;
    font-weight: 500;
    width:40px;
    height:40px;
    border-radius: 50%;
    position: absolute;
    top:3%;
    right:3%;
    padding: 10px 0;
    text-align: center;
}
.item-in-cart {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebebeb;
}
.item-in-cart:last-of-type {
    border-bottom: none;
}
/* --- How it works --- */
.box-plan {
    transition: transform .2s;
    border:1px solid grey;
    background-color:white;
}
.box-plan:hover {
    transform: scale(1.05);
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
}

#cookie-bar {
    position: fixed;
    bottom: 0;
    padding: 1rem calc(50px + 1rem) 1rem 5%;
    background-color: #7f8596cc;
    z-index: 100;
}

#cookie-bar:hover {
    z-index: 2147483640!important;
}

footer{
    background-color:var(--grey-dark);
}
footer i{
    color:var(--main);
}

footer{
    color:var(--grey-light);
}
.grey-light {
    color:var(--grey-light);
}
.header-decoration{
    background-color:var(--main);
    height:10vh;
}
.credit-card {
    display: inline-block;
    width: 38px;
    height: 25px;
    margin-right: 5px;
    background-size: contain;
}
