/* Links */

a {
	color: #6c757d;
}

a:hover {
	color: #343a40;
}

/* Buttons */

.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
	background: #6c757d;
	border-color: #6c757d;
	color: #fff;
	text-transform: uppercase;
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
	background: #868e96;
	border-color: #868e96;
	color: #fff;
}

.btn-secondary,
.btn-secondary:disabled,
.btn-secondary.disabled {
	background: #fff;
	border-color: #868e96;
	color: #495057;
	text-transform: uppercase;
}

.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active {
	background: #f1f3f5;
	color: #495057;
}

/* Icons */

.icon-shopping-cart::before {
	content: "\ec01";
}

/* Header */

.header-search-btn {
	color: #adb5bd;
}

.header-search-btn:hover {
	color: #6c757d;
}

.header-search-advanced {
	display: none;
}

.header-cart .icon-shopping-cart::after {
	background-color: #3c4145;
	box-shadow: 0 0 0 3px #fff;
}

.popper.popper-popover-mega-menu {
	background: #f8f9fa;
	margin-top: 0;
}

.mega-menu-col > .cat-parent {
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.header-menu {
		border-color: #dee2e6 transparent;
		border-style: solid;
		border-width: 1px;
	}
	.header-menu > .navbar-nav {
		margin-left: -.625rem;
	}
	.header-menu-item .header-menu-link {
		padding: .75rem .625rem;
	}
}

/* Index */

.block-products-index {
	margin: .75rem 0 1rem;
}

.block-products-index .title-primary {
	border-bottom: 1px solid #dee2e6;
	margin: .75rem 0 1rem;
	padding-bottom: 1rem;
}

/* Catalog */

.prod-cat {
	font-size: .8125rem;
}

.title-secondary + .block-products-catalog {
	border-top: 1px solid #dee2e6;
	padding-top: .75rem;
}

/* Buy */

.site-buy .title-primary:not(.title-buy),
.site-blog-post .title-primary:not(.title-blog) {
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 1rem;
	padding-bottom: .75rem;
}

.col-gallery-buy .gallery-buy {
    width: auto!important;
    margin-right: 0;
}

@media (min-width: 992px) {
	.title-buy,
	.title-blog {
		font-size: 1.625rem;
	}
}

/*----- rafy -----*/

#buy_prod_specifications_form .row-choice .form-group  {
	display: inline-block;
	position: relative;
}

#buy_prod_specifications_form .row-choice .form-group.disabled::before, 
#buy_prod_specifications_form .row-choice .form-group.disabled::after {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: all 0.15s cubic-bezier(0.5, 1, 0.25, 1);
	z-index: 1;
}

#buy_prod_specifications_form .row-choice .form-group.disabled::before  {
	padding: 5px 5px 7px;
	width: 170px;
	border-radius: 3px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	content: "Click pentru a te anunta cand revine pe stoc.";
	text-align: center;
	font-size: 11px;
	font-weight: normal;
	line-height: 1.2;
	bottom: 100%;
	left: 50%;
	margin-bottom: 5px;
	transform: translateX(-50%);
	z-index: 1100;
}

#buy_prod_specifications_form .row-choice .form-group.disabled::after {
	border-color: rgba(0,0,0,0.5) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
	border-style: solid;
	border-width: 8px;
	content: "";
	font-size: 0;
	left: 50%;
	line-height: 0;
	top: -5px;
	transform: translateX(-50%);
	width: 0;
}

#buy_prod_specifications_form .row-choice .form-group.disabled:hover::before, 
#buy_prod_specifications_form .row-choice .form-group.disabled:hover::after {
	transform: translateX(-50%) translateY(-5px);
	visibility: visible;
	opacity: 1;
}

#buy_prod_specifications_form .row-choice .custom-radio .custom-control-label::before,
#buy_prod_specifications_form .row-choice .custom-radio .custom-control-label::after {
	display: none;
}

#buy_prod_specifications_form .row-choice  .custom-control {
	padding-left: 0;
}

#buy_prod_specifications_form .row-choice .custom-control-label {
	background: #fff;
	border: 1px solid #666;
	color: #313131;
	cursor: pointer;
	display: inline-block;
	font-size: 17px;
	font-weight: 700;
	height: 44px;
	line-height: 42px;
	margin: 0 5px 5px 0;
	min-width: 44px;
	padding: 0 3px;
	text-align: center;

}

#buy_prod_specifications_form .row-choice .custom-control-label:hover, 
#buy_prod_specifications_form .row-choice .form-group.active .custom-control-label {
	background: #313131;
	color: #FFFFFF;
	border: 1px solid #313131;
}

#buy_prod_specifications_form .row-choice .form-group.disabled .custom-control-label {
	background-color: #FFFFFF;
	border: 1px solid #EEEEEE;
	color: #CCCCCC;
}

#buy_prod_specifications_form .row-choice-container {
	display: inline-block;
}

#buy_prod_description .label-prod,
#buy_prod_specifications_form .row-choice-container > .label-prod {
	color: #313131;
	font-size: 14px;
	display: block;
	font-weight: 700;
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	text-transform: uppercase;
	border-bottom: 1px solid #bcbcbc;
}

#buy_prod_description .label-prod {
	min-width: 300px;
	max-width: 50%;
	}


/* Footer */

@media (min-width: 992px) {
	.footer-bottom-sides {
		border-top: 1px solid #dee2e6;
		padding-top: 1.5rem;
	}
}
/* Promo */

[class^="promo-"] {
    border-radius: 0;
    }
/*    
.buy-family-carousel {
    height: 82px;
    overflow: hidden;
    width: 286px;
}
*/
.buy-family-label {
    color: #a5a5a3;
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 5px;
    text-transform: none;
}

.row-family-prods .slick-slide {
    padding-right: 20px;
}

.row-family-prods a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.row-family-prods img {
    max-width: 82px;
    border: 1px solid #ccc;
}

.row-family-prods .slick-prev {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpolygon points='8 11 4 7 8 3 9 4 6 7 9 10 8 11' fill='%23000000'/%3E%3C/svg%3E")!important;
    opacity: 1;
    border: none;
    background-color: transparent;
    left: 0;
}

.row-family-prods .slick-next {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpolygon points='6 3 10 7 6 11 5 10 8 7 5 4 6 3' fill='%23000000'/%3E%3C/svg%3E")!important;
    opacity: 1;
    border: none;
    background-color: transparent;
}

#quick_view_prod_specifications_form .row-family-prods {
    display: none;
}