/* ===========================================================================
Buttons
============================================================================*/
.btn-primary {
	background-color: var(--color-green);
    border-color: var(--color-green);
    color: white;
}
.btn-primary:hover {
	background-color: white;
    border-color: var(--color-green);
    color: var(--color-green);
}
.btn-info {
    background-color: var(--color-green);
    border-color: var(--color-green);
}
.btn-info:hover {
    color: #fff;
    background-color: var(--color-red);
    border-color: var(--color-red);
}

.btn-outline-info {
    color: var(--color-green);
    border-color: var(--color-green);
}
.btn-outline-info:hover {
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.btn-sale-red{
    background-color: var(--color-red);
    color: white;
}
.btn-sale-red:hover{
    background-color: var(--color-green);
    color: white;
}

.btn-light{background-color: #eaeaea;}

.btn-outline-dark {
    color: var(--color-green);
    border-color: var(--color-green);
}
.btn-outline-dark:hover {
    color: #fff;
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.btn-secondary {
    color: #fff;
    background-color: var(--color-green);
    border-color: var(--color-green);
}
.btn-secondary:hover {
    color: #fff;
    background-color: var(--color-red);
    border-color: var(--color-red);
}

/* ===========================================================================
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-red);
    background-color: transparent;
    color: var(--color-red);
}
/* ===========================================================================
Forms
============================================================================*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
}

.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-red);
    border-color: var(--color-red);
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none;
}
.custom-control-input:active ~ .custom-control-label::before {
    background-color: #fff;
}

/* ===========================================================================
Breadcrumb
============================================================================*/
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0rem;
    margin-bottom: 10px;
    font-size: 12px;
    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;
}


/* ===========================================================================
Pagination
============================================================================*/
.pagination .page-item:hover .page-link {
	background-color: var(--color-green-light);
}
.pagination .page-item.current-page .page-link {
	background: var(--color-green-light);
}
.pagination .page-item.current-page:hover .page-link {
	background: var(--color-green-light);
}


/* ===========================================================================
Productbox 
============================================================================*/
.product-box.grid-box {
    /*box-shadow: 2px 2px 5px 1px #e1e1e1;*/
    border-radius: 7px;
    border: 1px solid #d4d4d4;
}

.product-box.grid-box .picture-container {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 15px 15px 0;
}

.product-box .picture-container img {
    border-radius: 7px;
    color: transparent;
}

.product-box .add2cart-desktop {
	background-color: rgba(0,0,0,0.4);
	position: absolute;
	left: 15px;
	right: 15px;
	top: 15px;
	bottom: 0;
	border-radius: 7px;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s ease;
}
@media(min-width: 1200px){
    .product-box:hover .add2cart-desktop {
        opacity: 1;
    }
}
.product-box .add2cart-desktop .btn-add-to-card {
	min-width: 60%;
    pointer-events: all;
}
.product-box .add2cart-desktop .btn-sold-out {
	min-width: 60%;
    opacity: 1;
}

.product-box.grid-box .top {
    padding: 8px 15px;
    background-color: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* labels */
/*
.label-circle-discount-percent {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 55px;
    height: 55px;
    background-color: #30b476;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}
html[lang="ar"] .label-circle-discount-percent {
    left: unset;
    right: 10px;
}
@media(max-width: 767.98px) {
    .label-circle-discount-percent {
        width: 40px;
        height: 40px;
        font-weight: normal;
        font-size: 12px;
    }
}
*/

.product-box .labels-top {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 20px;
    pointer-events: none;
}

.labels-bottom {
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 0;
    pointer-events: none;
}

.product-box .product-box-label {
	background-color: var(--color-green-light);
    color: white;
	font-size: 12px;
	font-weight: bold;
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 3px;
    justify-content: center;
}

html[lang="en"] .product-box .product-box-label:not(:first-of-type) {
    margin-left: 5px;
}
html[lang="ar"] .product-box .product-box-label:not(:first-of-type) {
    margin-right: 5px;
}

.product-box .product-box-label.label-blue {
	background-color: #61b0f6;
}
.product-box .product-box-label.label-green {
	background-color: var(--color-green-light);
}
.product-box .product-box-label.label-red {
	background-color: #ff5353;
}
  
  /*
  .row-labels-under-pic {
    width: 100%;
    min-height: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  
  html[lang="en"] .grid-box .labels-vertical {
    transform: rotate(-90deg) translate(-100%, 0%);
    transform-origin: 0 0;
  }
  html[lang="ar"] .grid-box .labels-vertical {
    transform: rotate(-90deg) translate(0, -100%);
    transform-origin: 100% 0;
  }
  
  .grid-box .labels-vertical .product-box-label {
    font-size: 14px !important;
    padding: 5px 10px !important;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    letter-spacing: unset;
  }
  html[lang="ar"] .grid-box .labels-vertical .product-box-label {
    padding: 3px 10px 8px 10px !important;
  }
  */
  
  /* product name: grid box */
  .product-box.grid-box .product-info .top .title {
    width: 100%;
    /* min-height: 50px; */
    min-height: 40px;
    margin-bottom: 7px;
    margin-top: 3px;
  }
  @media(max-width: 767.98px) {
    .product-box.grid-box .product-info .top .title {
        min-height: unset;
        height: auto;
    }
  }
  .product-box.grid-box .product-info .top .title a {
    color: #7b7b7b;
    font-size: 14px;
    line-height: 1.3;
    font-weight: bold;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  @media(max-width: 767.98px){
    .product-box.grid-box .product-info .top .title a {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        height: unset;
        line-height: 27px;
    }
  }
  html[lang="ar"] .product-box.grid-box .product-info .top .title a {
    text-align: right;
    /*line-height: 1.5;*/
  }
  html[lang="ar"] .product-box.grid-box .product-info .top .sku {
    text-align: right !important;
    width: 100%;
  }
  /* product name: list box */
  .product-box.list-box .product-info .top .title a {
    line-height: 1.5;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
@media (max-width: 767.98px) {
    .product-box.list-box .product-info .top .title a {
        font-size: 14px;
        line-height: 1.3;
    }
}
  
.product-box .prices .actual-price {
	color: black;
	font-weight: bold;
	font-size: 18px;
}
@media (max-width: 767.98px) {
    .product-box .prices .actual-price {
        font-size: 15px;
    }
    html[lang="ar"] .product-box .prices .actual-price {
        font-size: 15px;
    }
}

.product-box .prices .old-price {
	font-size: 14px;
	font-weight: bold;
}
  
.product-box .action-buttons-over-pic {
	position: absolute;
	top: 10px;
	display: flex;
	flex-direction: column;
}
html[lang="en"] .product-box .action-buttons-over-pic {
	right: 10px;
}
html[lang="ar"] .product-box .action-buttons-over-pic {
	left: 10px;
}
.product-box.grid-box .row-action-buttons {
    width: 100%;
}
.product-box .row-action-buttons .btn-add-to-card {
    height: 35px;
}
@media (max-width: 1600px) {
    .product-box .row-action-buttons .btn {
        font-size: 13px;
    }
}
.product-box .btn-add-to-card {
    height: 40px;
}
  
.product-box .btn-quickview, .product-box .btn-wishlist {
    background-color: white;
    color: #006e79;
    width: 40px;
    height: 40px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #eee;
}
/*
.product-box .btn-quickview:hover,
.product-box .btn-wishlist:hover {
background-color: rgb(226, 226, 226);
    color: black;
}
*/
.btn-quickview i,
.btn-wishlist i {
    font-size: 17px;
}
  
/* fix add to cart btn group for mobile*/
@media (max-width: 767.98px) {
    .col-btn-quickview {
        display: none;
    }
    .product-box .row-action-buttons .btn-add-to-card {
        height: 30px;
        font-size: 13px;
        line-height: 13px;
        font-weight: normal;
        padding: 5px;
    }
    .product-box .btn-quickview,
    .product-box .btn-wishlist {
        width: 30px;
        height: 30px;
        padding: 7px;
    }
}
  
/* sold out products */
.product-box .btn-sold-out {
    background-color: #b4b4b4;
    color: white;
    font-weight: bold;
    font-size: 14px;
    height: 35px;
    cursor: not-allowed;
    pointer-events: none;
}
@media(max-width: 767.98px){
    .product-box .btn-sold-out {
        height: 30px;
        font-size: 13px;
        line-height: 13px;
        font-weight: normal;
        padding: 5px;
    }
}
.product-box-sold-out .picture-container picture img {
    filter: grayscale(100%);
}
  
/*badges on productbox*/
.badge-danger {
	color: #fff;
	background-color: red;
}

/* productbox hover effets for desktop*/
/*
@media(min-width: 1200px){
    .product-box.grid-box {
        border: 1px solid transparent;
        transition: 0.4s ease;
    }
    .product-box.grid-box:hover {
        border: 1px solid #f0f0f0;
    }
    .product-box .btn-add-to-card {
        pointer-events: none;
        opacity: 0;
        transform: scale(0.6);
        transition: 0.2s ease;
    }
    .product-box:hover .btn-add-to-card {
        pointer-events: unset;
        opacity: 1;
        transform: none;
    }
    .product-box .btn-sold-out {
        opacity: 0;
    }
    .product-box:hover .btn-sold-out {
        opacity: 1;
    }
    html[lang="en"] .product-box .action-buttons-over-pic {
        opacity: 0;
        transform: translateX(50%);
        transition: 0.2s ease;
    }
    html[lang="en"] .product-box:hover .action-buttons-over-pic {
        opacity: 1;
        transform: none;
    }
    html[lang="ar"] .product-box .action-buttons-over-pic {
        opacity: 0;
        transform: translateX(-50%);
        transition: 0.2s ease;
    }
    html[lang="ar"] .product-box:hover .action-buttons-over-pic {
        opacity: 1;
        transform: none;
    }
}

@media(max-width: 1199.98px){
    .product-box .action-buttons-over-pic {
        display: none;
    }
}
*/

/* ---------- productbox tiny ---------- */
.product-box.product-box-tiny .picture-container {
	padding: 5px 5px 0;
}
.product-box.product-box-tiny .labels-top {
	left: 10px;
	right: 10px;
	top: 10px;
}
.product-box.product-box-tiny .product-box-label {
	font-size: 11px;
	font-weight: normal;
	display: inline-flex;
	padding: 3px 5px;
}
.product-box.product-box-tiny .labels-bottom {
	left: 5px;
	right: 5px;
}


/* ===========================================================================
user panel (push sidebar menu)
============================================================================*/
.user-panel-head {
    background-color: var(--color-green);
}
.flyout-cart-header {
    background-color: var(--color-green);
}
.flyout-cart-header a {
	color: #fff;
	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;
}

/* ===========================================================================
Popup (with custom image)
============================================================================*/
.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);
}

/* ===========================================================================
Section Titles Common
============================================================================*/
.row-section-title-common h1 {
	color: var(--color-green);
	font-weight: bold;
	font-size: 25px;
	text-transform: capitalize;
    margin: 10px 0 !important;
}

.row-section-title-common a {
	color: #afafaf;
	font-weight: bold;
}

.row-section-title-common hr {
	min-width: 200px;
	border-color: #afafaf;
}

/* ===========================================================================
Slick
============================================================================*/
.module-slick-products .row-heading {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.module-slick-products h2 {
    color: var(--color-red);
    font-weight: 600;
    margin-bottom: 5px;
}

.module-slick-products h2 a {
    color: var(--color-red);
    font-weight: bold;
    font-size: 28px;
}

.module-slick-products .morelink {
    color: var(--color-red);
    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.row-slick-store-pics .slick-next,
html[lang="en"] .slick-common-styles.row-slick-store-vids .slick-next {
    right: 20px;
}

html[lang="en"] .slick-common-styles .slick-prev {
    left: 0;
    transform: translate(-100%, -50%);
}

html[lang="en"] .slick-common-styles.row-slick-store-pics .slick-prev,
html[lang="en"] .slick-common-styles.row-slick-store-vids .slick-prev {
    left: 20px;
    z-index: 1;
}

html[lang="ar"] .slick-common-styles .slick-next {
    right: auto;
    left: 0;
    transform: translate(-100%, -50%);
}

html[lang="ar"] .slick-common-styles.row-slick-store-pics .slick-next,
html[lang="ar"] .slick-common-styles.row-slick-store-vids .slick-next {
    left: 20px;
}

html[lang="ar"] .slick-common-styles .slick-prev {
    left: auto;
    right: 0;
    transform: translate(100%, -50%);
}

html[lang="ar"] .slick-common-styles.row-slick-store-pics .slick-prev,
html[lang="ar"] .slick-common-styles.row-slick-store-vids .slick-prev {
    right: 20px;
    z-index: 1;
}

.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;
}

/* dots */
.slick-common-styles .slick-dots li button::before {
    font-size: 20px;
}

/* fix broken flash */
.slick-slider {
    display: none;
}

.slick-slider.slick-initialized {
    display: block !important;
}


/* for touch devices, no slick, use browser overflow styles */
@media (pointer: coarse) {
    .no-slider-on-touch-device {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .no-slider-on-touch-device .each-item{
        flex: 0 0 230px;
        max-width: 230px;
    }
    .no-slider-on-touch-device::-webkit-scrollbar {
        display: none;
    }
    .no-slider-on-touch-device::-webkit-scrollbar-track {
        display: none;
    }
    .no-slider-on-touch-device::-webkit-scrollbar-thumb {
        display: none;
    }
    .no-slider-on-touch-device::-webkit-scrollbar-thumb:hover {
        display: none;
    }
}

/* ===========================================================================
Lightbox
============================================================================*/
.lg-outer, .lg-outer .lg, .lg-outer .lg-inner {
	direction: ltr !important;
}

/* ===========================================================================
Others
============================================================================*/
/* 5 products in a row */
@media(min-width: 992px){
    .thumbs-5in1row-lg > .product-container {
        flex: 0 0 20%;
        max-width: 20%;
    }
}
