/* ===========================================================================
Buttons
============================================================================*/
.btn-primary {
	color: black;
	background-color: var(--color-yellow);
	border-color: #dcb307;
}
.btn-primary:hover {
	color: black;
    background-color: #e6bb10;
    border-color: var(--color-yellow);
}
.btn-info {
    color: black;
	background-color: var(--color-yellow);
	border-color: #dcb307;
}
.btn-info:hover {
    color: black;
    background-color: #e6bb10;
    border-color: var(--color-yellow);
}

.btn-outline-info {
    color: var(--color-khaki);
    border-color: var(--color-khaki);
}
.btn-outline-info:hover {
    background-color: var(--color-khaki);
    border-color: var(--color-khaki);
}

.btn-sale-red{
    color: black;
	background-color: var(--color-yellow);
	border-color: #dcb307;
}
.btn-sale-red:hover{
    color: black;
    background-color: #e6bb10;
    border-color: var(--color-yellow);
}

.btn-light{background-color: #eaeaea;}

.btn-outline-dark {
	color: var(--color-blue);
	border-color: var(--color-yellow);
}
.btn-outline-dark:hover {
    color: #fff;
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
}

.btn-secondary {
	color: black;
	background-color: var(--color-yellow);
	border-color: #dcb307;
}
.btn-secondary:hover {
    color: black;
    background-color: #e6bb10;
    border-color: var(--color-yellow);
}

.btn-skyblue{
    background-color: #66c4c5;
    color: white;
}
.btn-skyblue:hover{
    background-color: #3fa7a8;
    color: white;
}

.btn-green {
    background-color: #192b1d;
    color: white;
}
.btn-green:hover {
    background-color: #000;
    color: white;
}

.btn-blue {
    background-color: var(--color-blue);
    color: white;
}
.btn-blue:hover {
    background-color: #000;
    color: white;
}

/* ===========================================================================
Nav Pills
============================================================================*/
.nav-pills .nav-link{
    border-bottom: 1px solid #eee;
    border-radius: 0;
}
.nav-pills .nav-link.active{
    border-bottom: 1px solid var(--color-khaki);
    background-color: transparent;
    color: var(--color-khaki);
}

/* ===========================================================================
Forms
============================================================================*/
.custom-select:hover, .custom-select:focus, 
.custom-select:active, .form-control:hover, 
.form-control:focus, .form-control:active {
    border-color: black;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--color-khaki);
    border-color: var(--color-khaki);
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none;
}
.custom-control-input:active ~ .custom-control-label::before {
    background-color: #fff;
}

/* ---------- checkbox switch ---------- */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch-slider::before {
	position: absolute;
	content: "";
	height: 17px;
	width: 17px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.switch-slider {
    background-color: #2196F3;
}

input:focus+.switch-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.switch-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.switch-slider.round {
    border-radius: 34px;
}

.switch-slider.round:before {
    border-radius: 50%;
}


/* ===========================================================================
Breadcrumb
============================================================================*/
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0rem;
    margin-bottom: 10px;
    font-size: 10px;
    border-radius: 0;
    text-transform: capitalize;
    margin-top: 10px;
}
.breadcrumb .breadcrumb-item a {
    color: #999;
    font-weight: 400;
}
.breadcrumb-item.active {
    color: #999;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: .3rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    padding-right: .3rem;
    color: #999;
}

/* ===========================================================================
Section Header Common (for slick sliders)
============================================================================*/
.section-header-common-slick a{
    color: #192b1d;
    font-weight: bold;
}
.section-header-common-slick .h3{
    font-weight: bold;
    color: #192b1d;
    margin: 10px 0;
}
@media(max-width: 767.98px){
    .section-header-common-slick .h3 {
        margin: 5px 0;
        font-size: 23px;
    }
}

.section-header-common-slick .slick-prev-trigger,
.section-header-common-slick .slick-next-trigger {
	background-color: #fafafa;
	border-radius: 0;
}
.section-header-common-slick .slick-triggers .material-icons-outlined{
    line-height: 1.3;
    color: var(--color-black);
    cursor: pointer;
}


/* ===========================================================================
Productbox
============================================================================*/
.product-box {
    transition: all 0.6s ease;
    border: 1px solid #bcbcbc !important;
    background-color: white;
    border-radius: 0px;
    overflow: hidden;
}
.product-box:hover {
	box-shadow: 2px 2px 20px rgba(0,0,0,0.1);
}

.product-box .title {
	padding: 0;
	min-height: 60px;
    width: 100%;
}
.product-box .product-info .top .title h5 a {
	color: black;
	font-size: 14px;
	font-weight: bold;
	display: block;
	width: 100%;
    height: unset !important;
	line-height: 1.4;
	overflow: hidden !important;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
/* pic */
.product-box .picture-container {
	margin-left: 15px;
	margin-right: 15px;
    margin: 15px;
    width: calc(100% - 30px);
    max-height: 290px;
    aspect-ratio: 1;
	/* height: 290px; */
}
/* @media(max-width: 1400px){
    .product-box .picture-container{
        height: 240px;
    }
}
@media(max-width: 767.98px){
    .product-box .picture-container{
        height: 220px;
    }
} */
.product-box .picture {
	height: 100%;
	width: 100%;
}
.product-box .picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
    color: transparent;
}
/*
.product-box:hover .picture img {
    background-color: #eeeeee;
}
*/
.product-box.grid-box .top {
    padding: 8px 15px;
}

.product-box hr {
	padding: 0;
	margin: 10px 0;
    width: 100%;
}

/* labels */
.product-box .row-labels-over-pic {
	position: absolute;
	left: -15px;
	top: 0;
	width: calc(100% - 40px);
	pointer-events: none;
}
html[lang="ar"] .product-box .row-labels-over-pic .form-row {
    justify-content: flex-end;
    text-align: left;
}
.product-box .label-circle-discount-percent {
	background: #e50000;
	color: white;
	padding: 2px 15px;
	border-radius: 4px;
}
.product-box .product-discount {
	background-color: #739f3e !important;
}

.product-box .row-labels-under-pic {
    height: auto;
	min-height: 28px;
}
.product-box .row-labels-under-pic .visible-on-init,
.product-box .row-labels-under-pic .visible-on-hover{
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-box:hover .row-labels-under-pic .visible-on-init{
    margin-top: -28px;
}

.product-box .product-box-label {
	border-radius: 0px;
	padding: 2px 10px !important;
	font-size: 11px !important;
	min-width: 70px;
	line-height: 1.6 !important;
    white-space: normal;
}
html[lang="en"] .product-box .product-box-label {
	margin-right: 10px;
}
html[lang="ar"] .product-box .product-box-label {
	margin-left: 10px;
}
@media(max-width: 1199.98px){
    .product-box .col-labels {
        min-height: 50px;
    }
    .product-box .product-box-label {
        padding: 1px 7px !important;
        font-size: 10px !important;
        min-width: unset;
        line-height: 1.5 !important;
    }
    html[lang="en"] .product-box .product-box-label {
        margin-right: 5px;
    }
    html[lang="ar"] .product-box .product-box-label {
        margin-left: 5px;
    }
}
@media(max-width: 474.98px){
    .product-box .col-labels {
        min-height: unset;
    }
}

.product-box .row-labels-over-pic-bottom {
	position: absolute;
	bottom: 5px;
	left: 10px;
	right: 10px;
}

/* -------- row action buttons bottom -------- */
/*
.product-box .row-action-buttons-bottom {
	margin-bottom: 10px;
    height: 35px;
    overflow: hidden;
}
*/
.product-box .row-action-buttons-bottom .visible-on-init,
.product-box .row-action-buttons-bottom .visible-on-hover{
    height: 35px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product-box:hover .row-action-buttons-bottom .visible-on-init{
    margin-top: -35px;
}

/* prices */
.product-box .prices {
	padding: 0 !important;
	display: flex !important;
    height: auto !important;
    align-items: center;
}
.product-box .prices .price{
    display: inline-flex;
    white-space: nowrap;
}
.product-box .prices .actual-price {
	color: #d7b93b;
	font-weight: bold;
	font-size: 20px;
}
.product-box .prices .old-price {
	font-size: 14px;
	color: var(--color-blue);
}
html[lang="en"] .product-box .prices .old-price {
    margin-left: 15px;
}
html[lang="ar"] .product-box .prices .old-price {
    margin-right: 15px;
}

/*
@media(max-width: 767.98px){
    .product-box.grid-box .prices {
        height: auto;
    }
}
*/
/* other btns */
.product-box .quickview-wrapper {
	background-color: rgba(0,0,0,0.4);
    display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 20;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}
.product-box:hover .quickview-wrapper{
    opacity: 1;
}
@media(max-width: 1199.98px){
    .product-box .quickview-wrapper {
        opacity: 1;
        left: 0;
        right: unset;
        top: 0;
        bottom: unset;
        background-color: transparent;
    }
}

.product-box .btn-buynow {
	font-weight: bold;
	border-radius: 0px;
}
.product-box .btn-buynow-disabled{
    pointer-events: none;
    background-color: gray;
    border-color: gray;
    color: white;
}
/*
.product-box .btn-quickview, 
.product-box .btn-wishlist {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-box .btn-quickview {
	color: var(--color-khaki);
	background-color: #eee;
	width: 40px;
	height: 40px;
    pointer-events: all !important;
}
.product-box .btn-quickview:hover {
	background-color: var(--color-khaki);
	color: #eee;
}
.product-box .btn-wishlist{
    color: var(--color-khaki);
    padding: 2px;
}

@media(max-width: 1199.98px){
    .product-box .holder-wishlist-mobile {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 50;
        border: 2px solid white;
        border-radius: 50%;
    }
    html[lang="ar"] .product-box .holder-wishlist-mobile {
        right: unset;
        left: 0;
    }
    .product-box:hover .holder-wishlist-mobile .btn-wishlist{
        background-color: var(--color-khaki);
        color: white;
    }
}
*/
.product-box .btn-wishlist {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
    color: #a1a1a1;
    background-color: rgba(255,255,255,0.7);
    padding: 2px;
}
.product-box .btn-wishlist.active {
	color: var(--color-khaki)
}
.product-box .holder-wishlist {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 50;
}
/* html[lang='ar'] .product-box .holder-wishlist {
    left: auto;
    right: 3px;
} */
/* add to cart btn */
.product-box .btn-add-to-cart {
	font-weight: bold;
	border-radius: 0px;
}
@media(max-width: 1199.98px){
    /*
    .product-box .btn-add-to-cart {
        border-radius: 50%;
        padding: 5px;
        height: 35px;
        width: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    */
    .product-box .btn-add-to-cart .material-icons-outlined {
        font-size: 22px;
    }
}
.product-box .btn-add-to-cart.btn-add-to-cart-disabled {
    pointer-events: none;
    background-color: gray;
    border-color: gray;
}

/* productbox-tiny */
.product-box.grid-box.productbox-tiny .picture-container {
	margin: 5px;
}
.product-box.grid-box.productbox-tiny .top {
	padding: 5px 5px;
}
.product-box.productbox-tiny .btn-wishlist {
	width: 28px;
	height: 28px;
}
.product-box.productbox-tiny .btn-wishlist .material-icons{
	font-size: 18px;
}


/*badges on productbox*/
.badge-danger {
	color: #fff;
	background-color: red;
}


/* disable productbox hover effets for touch devices by overriding rules */
@media(max-width: 1199.98px){

    .product-box .row-labels-under-pic {
        height: auto;
        overflow: visible;
    }
    .product-box:hover .row-labels-under-pic .visible-on-init {
        margin-top: unset;
    }

    
    .product-box .row-action-buttons-bottom {
        height: auto;
        overflow: visible;
    }
    .product-box .row-action-buttons-bottom > .form-row {
        align-items: flex-end;
    }
    .product-box:hover .row-action-buttons-bottom .visible-on-init {
        margin-top: unset;
    }

}


/* productbox tiny */
.productbox-tiny .action-buttons-tiny-prbox > .col {
	flex: 0 0 100%;
	max-width: 100%;
}
.productbox-tiny .action-buttons-tiny-prbox > .col:not(:last-of-type) {
	margin-bottom: 8px;
}

.product-box.productbox-tiny .prices {
	flex-direction: column;
	gap: 3px;
}
html[lang="en"] .product-box.productbox-tiny .prices .old-price {
    margin-left: 0;
}
html[lang="ar"] .product-box.productbox-tiny .prices .old-price {
    margin-right: 0;
}

@media(max-width: 767.98px) {
    .product-box .action-buttons-tiny-prbox > .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .product-box .action-buttons-tiny-prbox > .col:not(:last-of-type) {
        margin-bottom: 8px;
    }

    .product-box .prices {
        flex-direction: column;
        gap: 3px;
    }
    html[lang="en"] .product-box .prices .old-price {
        margin-left: 0;
    }
    html[lang="ar"] .product-box .prices .old-price {
        margin-right: 0;
    }
}


/* ===========================================================================
Offcanvas
============================================================================*/
.user-panel-head {
	background-color: var(--color-yellow);
	color: black;
}
.flyout-cart-header {
    background-color: var(--color-yellow);
	color: black;
}
.flyout-cart-header a {
	color: #000;
	font-size: 16px;
	font-weight: 500;
}
html[lang="ar"] .user-panel-content{
    padding-right: 15px !important;
}
.flycart-container .flyout-cart .picture img {
    max-width:100px
}
@media(max-width: 399.98px){
    .flycart-container .flyout-cart .picture img {
        max-width: 70px;
    }
}

/* ===========================================================================
Badges
============================================================================*/
.badge.bg-success{
	color: white;
}
.badge.bg-info{
	color: white;
}

/* ===========================================================================
5 products in a row
============================================================================*/
@media(min-width: 992px){
    .thumbs-5in1row-lg > .product-container {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* ===========================================================================
Custom image popup
============================================================================*/
.popup-holder {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.8);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.popup-box {
	position: relative;
}
@media(min-width: 1200px){
    .popup-box {
        max-width: 50vw;
    }
}
.popup-close {
	position: absolute;
	right: 0;
	top: 0;
	transform: translate(50%,-50%);
    z-index: 50;
    width: 35px; height: auto;
    cursor: pointer;
}
html[lang="ar"] .popup-close {
	right: unset; left: 0;
	transform: translate(-50%,-50%);
}
.popup-main-img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 40px);
}

/* ===========================================================================
Slick
============================================================================*/
.module-slick-products .row-heading {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.module-slick-products h2 {
    color: var(--color-khaki);
    font-weight: 600;
    margin-bottom: 5px;
}
.module-slick-products h2 a {
    color: var(--color-khaki);
    font-weight: bold;
    font-size: 28px;
}
.module-slick-products .morelink {
    color: var(--color-khaki);
    text-transform: capitalize;
}

.module-slick-products .add-to-cart-text {
    display: none;
}
.module-slick-products .row-main-action-buttons img {
    display: inline-flex !important;
}
  
/*arrows*/
.slick-common-styles .slick-prev,
.slick-common-styles .slick-next {
    background-image: none;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 10px #e3e3e3;
}
html[lang="en"] .slick-common-styles .slick-next {
    right: 0;
    transform: translate(100%, -50%);
}
html[lang="en"] .slick-common-styles .slick-prev {
    left: 0;
    transform: translate(-100%, -50%);
}
html[lang="ar"] .slick-common-styles .slick-next {
    right: auto;
    left: 0;
    transform: translate(-100%, -50%);
}
html[lang="ar"] .slick-common-styles .slick-prev {
    left: auto;
    right: 0;
    transform: translate(100%, -50%);
}
.slick-common-styles .slick-prev::before,
.slick-common-styles .slick-next::before {
    font-family: FontAwesome;
    font-size: 27px;
    line-height: 1;
    opacity: 1;
    color: black;
}
html[lang="ar"] .slick-common-styles .slick-prev::before,
html[lang="ar"] .slick-common-styles .slick-next::before {
    transform: rotate(180deg);
}
.slick-common-styles .slick-next::before {
    content: "\f105";
}
.slick-common-styles .slick-prev::before {
    content: "\f104";
}
.slick-common-styles .slick-arrow.slick-disabled {
    opacity: 0;
}

html[lang="ar"] .slick-prev-trigger,
html[lang="ar"] .slick-next-trigger {
	transform: rotate(180deg);
}

/* dots */
.slick-common-styles .slick-dots li button::before {
    font-size: 50px;
}
.slick-dots li.slick-active button::before {
	opacity: 1;
	color: var(--color-khaki);
}
.slick-dots li button::before {
	opacity: 1;
    color: #e5e5e5;
}

/* fix broken flash */
.slick-common-styles {
    display: none;
}
.slick-common-styles.slick-initialized {
    display: block !important;
}


/* ===========================================================================
Other
============================================================================*/
/* fix pagination mistake by backend guys*/
nav[aria-label="Page navigation"] {
	flex: 0 0 100%;
	max-width: 100%;
	margin: 15px;
}

/* colors */
.color-blue{
    color: var(--color-khaki)
}
.color-ocean{
    color: #66c4c4;
}

/* ---------- text bar ---------- */
.text-bar {
	background: #ddc7a1;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
}

/* ---------------- range slider ------------------ */
.range-slider-tooltip {
	position: relative;
    min-height: 20px;
    margin: 0 8px;
}
.range-slider-tooltip > .tooltip-txt {
	background-color: black;
	color: white;
	font-size: 13px;
    line-height: 19px;
	padding: 2px 5px;
	border-radius: 7px;
	position: absolute;
	bottom: 0;
}
html[lang="en"] .range-slider-tooltip > .tooltip-txt {
    transform: translateX(-50%);
	left: calc(0% + 5px); /* update via js */
}
html[lang="ar"] .range-slider-tooltip > .tooltip-txt {
    transform: translateX(50%);
	right: calc(0% + 5px); /* update via js */
}

.range-slider-tooltip > .tooltip-txt .bi.bi-caret-down-fill {
	color: black;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%,50%);
	z-index: 10 !important;
}

/*
custom range slider css generator: http://danielstern.ca/range.css/#/
*/
input[type=range] {
    width: 100%;
    margin: 8px 0;
    background-color: transparent;
    -webkit-appearance: none;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    background: rgba(234, 124, 45, 0.78);
    border: 0.2px solid #ea7c2d;
    border-radius: 1.3px;
    width: 100%;
    height: 0px;
    cursor: pointer;
  }
  input[type=range]::-webkit-slider-thumb {
    margin-top: -8.2px;
    width: 16px;
    height: 16px;
    background: #ea7c2d;
    border: 1.8px solid #e85592;
    border-radius: 10px;
    cursor: pointer;
    -webkit-appearance: none;
  }
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ed904d;
  }
  input[type=range]::-moz-range-track {
    background: rgba(234, 124, 45, 0.78);
    border: 0.2px solid #ea7c2d;
    border-radius: 1.3px;
    width: 100%;
    height: 0px;
    cursor: pointer;
  }
  input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ea7c2d;
    border: 1.8px solid #e85592;
    border-radius: 10px;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 8.5px 0;
    color: transparent;
    width: 100%;
    height: 0px;
    cursor: pointer;
  }
  input[type=range]::-ms-fill-lower {
    background: #dd6916;
    border: 0.2px solid #ea7c2d;
    border-radius: 2.6px;
  }
  input[type=range]::-ms-fill-upper {
    background: rgba(234, 124, 45, 0.78);
    border: 0.2px solid #ea7c2d;
    border-radius: 2.6px;
  }
  input[type=range]::-ms-thumb {
    width: 16px;
    height: 16px;
    background: #ea7c2d;
    border: 1.8px solid #e85592;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
  }
  input[type=range]:focus::-ms-fill-lower {
    background: rgba(234, 124, 45, 0.78);
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #ed904d;
  }
  /*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
  how to remove the virtical space around the range input in IE*/
  @supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range] {
      margin: 0;
      /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
  }
  