/* --- to override Bootstrap --- */

*, ::after, ::before {
    -moz-box-sizing: border-box;
}

body {
    padding-right: 0 !important;
}

:root {
    --cta-green: #28a745 !important;
}
.rtl {
    unicode-bidi: bidi-override;
    direction: rtl;
}

.fixed-top {
    position: sticky;
    position: -webkit-sticky;
}

.btn-primary {
    background: var(--main) !important;
    border: 2px solid var(--main) !important;
}

.btn-primary:hover {
    background: var(--main-dark) !important;
    border-color: var(--main-dark) !important;
}

button:focus,
.btn:focus,
.btn-light:focus,
.btn-dark:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus,
.form-control:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.bg-light {
    background-color: var(--grey-light)!important;
}

.bg-dark {
    background-color: var(--grey-dark)!important;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media screen and (max-width: 767px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

a {
    text-decoration: inherit;
    color: inherit;
}

a:hover {
    text-decoration: inherit;
    color: inherit;
}

.alert {
    position: fixed;
    bottom: .6rem;
    max-width: 70%;
    margin: auto 1rem;
    border-radius: 0;
    opacity: .8;
    z-index: 20;
    animation: appear 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.small,
small {
    font-size: 85%;
    font-weight: 300;
}

.smaller {
    font-size: 70%;
    font-weight: 300;
}

.big {
    font-size: 115%;
}

.shadow {
    -webkit-box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.08) !important;
    -moz-box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.08) !important;
}

.nav-link {
    cursor: pointer;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .8rem;
        padding-left: .8rem;
    }
}

/* --- Background --- */

html {
    scroll-behavior: smooth;
}

.bg-main {
    background-color: var(--main);
}

.bg-main-light {
    background-color: var(--main-light);
}

.bg-main-dark {
    background-color: var(--main-dark);
}
.btn-success:hover {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-outline-dark {
    color: #a2a2a2;
    background-color: white;
    border-color: #a2a2a2;
}

.btn-outline-dark:hover {
    color: #a2a2a2;
    background-color: white;
    border-color: #a2a2a2;
}

/* --- Text --- */

.text-main {
    color: var(--main);
}


.text-main-light {
    color: var(--main-light);
}

.text-main-dark {
    color: var(--main-dark);
}

.cursor-pointer {
    cursor: pointer;
}

/* --- Nav --- */

.navbar {
    background-color: white !important;
    font-weight: 400;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1) !important;
    width: 100%;
    padding: .5rem 1rem !important;
}

.navbar-toggler {
    border: none;
}

.navbar-collapse {
    max-height: calc(100vh - 55px);
    -ms-overflow-style: none;
    overflow-y: hidden;
}

.navbar-collapse form input {
    background-color: rgba(255, 255, 255, 0.9);
    font-size: .8rem;
    font-weight: 300;
    max-width: 60%;
}

.navbar-collapse form button {
    font-size: .8rem;
}

.navbar .nav-item.active {
    font-weight: 600;
}

.nav-item.sub a,
.nav-item.sub-sub a {
    display: inline-flex;
    padding: 0.2rem 0;
}
.nav-item.sub a::before {
    border-top: 3px solid var(--main);
    width: .2rem;
    margin-top: .55rem;
    content: "";
    margin-right: .5rem;
}

.nav-item.sub-sub a::before {
    border-top: 1px solid var(--main-light);
    width: 1.2rem;
    margin-top: .6rem;
    content: "";
    margin-right: .5rem;
}

@media screen and (min-width:992px) {
    nav .sub-menu {
        position: absolute;
        width: 100%;
        background-color: white;
        padding: 2rem 10vw;
        column-count: 3;
        left: 0;
        top: 62px;
    }

    .nav-item.sub a::before {
        border-top: none;
        width: 0;
        content: none;
        margin-right: 0;
    }

    .nav-item.sub a {
        border-bottom: 2px solid var(--main);
        width: 100%;
        font-size: 1.2rem;
        padding-bottom: 0;
        padding-top: 0;
        margin-bottom: .4rem;
    }

}

@media screen and (max-width: 991px) {
    .navbar {
        background-color: white !important;
        color: var(--body-color) !important;
        z-index: 100;
    }

    .navbar-collapse form input {
        margin-left: auto;
    }

    .navbar-collapse form button {
        margin-right: auto;
        font-size: .8rem
    }

    nav #shop {
        column-count: 3;
    }
}

@media screen and (max-width: 575px) {
    .navbar-collapse form button {
        margin-left: auto;
    }

    .navbar #shop {
        display: none !important;
    }
}

@media screen and (min-width: 576px) {
    .navbar #shop-m {
        display: none !important;
    }
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    font-size: 85%;
    color: #6c757d;
}

.breadcrumbs a::after {
    content: " / ";
}

.breadcrumbs a:last-of-type {
    color: var(--body-color);
    font-weight: 400;
    pointer-events: none;
}

.breadcrumbs a:last-of-type::after {
    content: "";
}

/* --- Animation --- */

.anim-appear {
    animation: appear 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.anim-zoom-smooth {
    animation: zoom-smooth 2s ease-in-out infinite alternate;
    -webkit-animation: zoom-smooth 2s ease-in-out infinite alternate;
}

@keyframes zoom-smooth {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    90% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
}

/* --- Header main-page --- */

header.main-page {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: calc(10rem + 15vh) 0
}

header.main-page div {
    margin: auto 20vw;
    color: white;
    background-color: var(--main);
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0px 5px 10px 0px rgba(5, 5, 5, 0.3) !important;
}

header.main-page .btn-main {
    border-color: transparent;
    background-color: white;
}

@media screen and (max-width: 767px) {
    header.main-page {
        padding: calc(3rem + 15vh) 0 15vh;
    }

    header.main-page div {
        margin: auto 2vw;
    }
    header.main-page div p {
        font-size: 1rem;
    }
}

/* --- Product slider --- */
.deal-item div {
    position: relative;
}

.deal-item .overlay-item {
    pointer-events: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s;
    background-color: var(--main-light);
}

.deal-item:hover .overlay-item {
    opacity: .6;
}

.deal-item .overlay-text {
    pointer-events: none;
    opacity: 0;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    -moz-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    transition: opacity 0.3s;
    font-weight: bold;
    font-size: 1.2rem;
}

.deal-item:hover .overlay-text {
    opacity: 1;
}

@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;
    }
}

/* --- 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;
}

/* --- Collection page --- */

.inner-collection-item {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.title-collection-item {
    padding-bottom: 5.9rem;
    margin-bottom: 0
}

.discount-tag {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.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;
}

/* --- 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;
}
.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);
}
.box-plan-back {
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main);
    z-index: -1;
    margin: 1rem;
}

.credit-card {
    display: inline-block;
    width: 38px;
    height: 25px;
    margin-right: 5px;
    background-size: contain;
}

.trust-badge {
    max-width: 20%;
}

#cookie-bar {
    position: fixed;
    bottom: 0;
    padding: 1rem calc(50px + 1rem) 1rem 5%;
    background-color: rgba(84,84,84,0.9);
    z-index: 9999999999;
}

#cookie-bar:hover {
    z-index: 2147483640!important;
}