/* Bootstrap Overrides */

.btn-sortBy {
    padding: 0.5rem 1rem 0.5rem 1rem;
}

a.btn-addToFavorite:hover {
    background-color: transparent;
    color: var( --main-text-color );
}

a.btn-addToFavorite > i:first-child {
    display: inline-block;
}

a.btn-addToFavorite i:nth-child( 2 ) {
    display: none;
    color: var( --color-avoid );
}

a.btn-addToFavorite:hover i:first-child, a.btn-addToFavorite.active i:first-child {
    display: none;
}

a.btn-addToFavorite:hover i:nth-child( 2 ) {
    display: inline-block;
}

a.btn-addToFavorite.active i:nth-child( 2 ) {
    display: inline-block;
    color: var( --color-favorite );
}

/* Reviews Tooltip */

.tooltip-reviews {
    left: -200px !important;
}

.tooltip-reviews .tooltip-inner {
    max-width: 400px;
    text-align: left;
    font-size: 0.8rem;
}

.tooltip-reviews i {
    color: #FCDC3B;
}



/* Products Back */

.product-back {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-weight );
}


/* Products Alert */

.product-alert {
    width: 75px;
    height: 75px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.product-alert:before {
    content: '';
    display: block;
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 70px;
    text-align: center;
}

.product-alert.good {
    background-image: url( ../img/icons/hexagon-good.svg );
}

.product-alert.avoid {
    background-image: url( ../img/icons/hexagon-avoid.svg );
}

.product-alert.allergy {
    background-image: url( ../img/icons/hexagon-allergy.svg );
}

.product-alert.avoid.allergy {
    background-image: url( ../img/icons/hexagon-avoidallergy.svg );
}

.product-alert.good:before {
    content: '\f164';
}

.product-alert.avoid:before, .product-alert.allergy:before {
    content: '\f165';
    line-height: 78px;
}

.product-alert-small {
    width: 45px;
    height: 45px;
}

.product-alert-small:before {
    line-height: 40px;
    font-size: 0.8rem;
}

.product-alert-small.good:before {
    line-height: 45px;
}

.product-alert-small.avoid:before, .product-alert-small.allergy:before {
    line-height: 48px;
}


/* Products Search */

.product-search {
    border-top: 1px solid #EBF0F0;
    border-bottom: 1px solid #EBF0F0;
}

.product-search-label {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-demi-weight );
    border-right: 1px solid #ccc;
}

.product-search input {
    border: none;
}

.product-search input:active, .product-search input:focus {
    border: none;
    outline: none;
}

/* Products Concerns */
.product-concerns {
    background-color: #EBF0F0;
}

.product-concerns-list li:nth-child( odd ) {
    padding-right: 0px;
}


.product-concerns-list a {
    background-color: #ffffff;
    color: var( --main-text-color );
    margin-bottom: 10px;
    border: 3px solid #ffffff;
    font-weight: var( --font-futura-medium-weight );  
    padding: 0.4rem 1.5rem 0.4rem 1.5rem;
}

.product-concerns-list a:hover {
    background-color: var( --color-deepPink );
    color: #ffffff;
    border: 3px solid #FFD3EC;
    font-weight: var( --font-futura-demi-weight );
}

.product-concerns img {
    width: 100%;
}


.product-list {
    flex-direction: row;
}

.product-list .card {
    text-decoration: none;
}

.product-list .col-12+.col-12 > .card {
    border-left: 0;
}

.product-list .product-alert {
    position: absolute;
    right: 0;
    top: -37px;
}

.product-list .card-body {
    background-color: var( --color-purple );
    position: relative;
    padding-bottom: 0px;
    padding-top: 10px;
}

.product-list .card-title {
    color: rgba( 255, 255, 255, 0.5 );
    font-style: italic;
    margin-bottom: 5px;
}

.product-list .card-subtitle {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-demi-weight );
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
}

.product-list .card-body .text-muted {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-weight );
    font-size: 0.8889rem;
    color: #ffffff !important;
}

.product-list .card-footer {
    background-color: var( --color-purple );
    border-top: none;
    font-family: var( --font-futura );
    font-weight: var( --font-futura-weight );
    font-size: 0.8889rem;
    color: #ffffff;
    padding-top: 0px;
    padding-bottom: 5px;
}

.product-list .arrow.back {
    position: absolute;
    left:-25px;
    top:100px;
    z-index: 2;
}

.product-list .arrow.next {
    position: absolute;
    right:-25px;
    top:100px;
    z-index: 2;
}

/* Products Filter */

.product-filter {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-medium-weight );
    font-size: 1rem; /* 71% of XD 14.91px 0.931875rem (rounded up due to rendering issues) */
}

.product-filter ul ul {
    border: 1px solid var( --main-text-color );
}

.product-filter-header {
    margin-bottom: 25px;
    color: var( --color-deepPink );
    font-family: var( --main-body-font );
    font-weight: var( --main-body-font-weight-regular );
    font-style: italic;
}

.product-filter-item {
    margin-bottom: 15px;
}

.product-filter-item > a[aria-expanded="true"] > i:before {
    content: "\f146"; /* switch to a minus box icon */
}

/* NoUI Range Slider */

.product-filter-item .noUi-connect {
    background-color: var( --color-aqua );
}

.product-filter-item .noUi-horizontal {
    height: 10px;
}

.product-filter-item .noUi-horizontal .noUi-handle {
    background: #ACE0DF;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    border: none;
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.5);
    top: -8px;
    outline: none;
}

.product-filter-item .noUi-horizontal .noUi-handle:before {
    display:none;
}

.product-filter-item .noUi-horizontal .noUi-handle:after {
    background-color: #fff;
    height: 10px;
    width: 10px;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translateY( -50% ) translateX( -50% );
}

.product-filter-item .noUi-tooltip {
    display: none;
}
.product-filter-item .noUi-active .noUi-tooltip {
    display: block;
}

.product-active-filters {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-medium-weight );
    font-size: 0.75rem;
}

.product-active-filters li {
    cursor: pointer;
}

.product-active-filters li:hover i {
    color: var( --color-deepPink );
}


/* products detail */

.product-detail-image .carousel-control-next, .product-detail-image .carousel-control-prev {
    opacity: 1;
}

.product-detail-image .arrow.back {
    position: absolute;
    left:0px;
    top:50%;
    z-index: 2;
    transform: translateY( -50% ) translateX( -50% );;
}

.product-detail-image .arrow.next {
    position: absolute;
    right:0px;
    top:50%;
    z-index: 2;
    transform: translateY( -50% ) translateX( 50% );
}

.product-detail-image .carousel-indicators {
    bottom: -40px;
}

.product-detail-image .carousel-indicators li {
    opacity: 1;
    background-color: var( --color-inactive );
    width: 10px;
    height: 10px;
}

.product-detail-image .carousel-indicators li.active {
    background-color: var( --main-text-color );
    width: 15px;
    height: 15px;
}

/* Products Detail Info */

.product-detail-info h1 {
    font-size: 2rem;
}

.product-detail-info label {
    font-style: italic;
}

.product-detail-info-brand {
    font-style: italic;
}

.product-detail-info-more {
    font-weight: var( --main-body-font-weight-bold );
}

.product-detail-info-rating, .product-detail-info-rating label {
    cursor: pointer;
}

.product-detail-info-rating span {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-weight );
}

.product-detail-info-rating i {
    color: #FCDC3B;
}

.product-detail-option .btn {
    padding-left: 30px;
    padding-right: 30px;
}

.product-detail-option #prettydropdown-color {
    width: 100%;
}

.product-detail-option #prettydropdown-color > ul {
    width: 100%;
}

.prettydropdown.arrow > ul > li.selected:before, .prettydropdown.arrow > ul > li.selected:after {
    right: 45px;
}

.product-detail-info h2 {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-detail-info h2 a {
    color: #585858;
    font-size: 1.125rem;
    font-weight: var( --font-futura-medium-weight );
}

.product-detail-info h3 {
    font-size: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #585858;
}


.product-retailers-item {
    font-size: 1rem;
}

.product-retailers-item .price {
    font-style: italic;
    color: #999999;
    text-decoration: underline;
}

.product-retailers-item a {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-demi-weight );
    color: #999999;
}


.product-ingredients {
    background-color: #EBF0F0;
}

.product-ingredients h2 {
    text-transform: uppercase;
}


/* Product Details */

.product-details dt {
    font-family: var( --font-futura );
}

.product-details dd {
    padding-right: 0px;
    font-size: 0.875rem;
    margin-bottom: 0px;
}


/* Related Products */

.product-related {
    box-shadow: 0px 4px 10px #0000001A;
}

.product-related h1 {
    font-family: var( --font-futura );
    font-weight: var( --font-futura-medium-weight );
    font-size: 2rem;
}


/* Produt Gurus */

.product-gurus img {
    height: 70px;
}

/* Product Buttons */

.product-buttons-size .btn.active {
    background-color: var( --color-aqua );
    color: #fff;
    border-color: #fff;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

    .product-concerns-list li:nth-child( even ) {
        padding-right: 0px;
    }
    
    .product-concerns-list a {
        padding: 0.8rem 3rem 0.8rem 3rem;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

    .product-concerns-list li {
        min-width: auto;
    }
    
    .product-detail-option #prettydropdown-color {
        width: auto;
        min-width: 250px;
    }

    .product-details dt {
        padding-left: 0px;
        padding-right: 0px;
        text-align: right;
        font-family: var( --font-futura );
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

    .btn-sortBy {
        margin-right: -15px;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1600px) { 

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1900px) { 

}