.rdeca { --rgb: 255, 0, 0; }
.zelena { --rgb: 0, 255, 0; }
.modra { --rgb: 0, 0, 255; }

.header-center.header-logo{
    padding: 15px 0;
}

.z-2{
    z-index: 2;
}



/* Popup style */
.popup-id-1 .fancybox-skin{
    padding: 20px !important;
}
.popup-id-1 h3{
    text-align: center;
    font-size: 30px;
    padding-bottom: 20px;
}



/* V menu dodajanje bannerjev */
.main-menu .nav.navbar-nav li::after{
    position: absolute;
    content: "";
    width: 33px;
    height: 14px;
    left: auto;
    right: 13px;
    top: 5px;
    bottom: auto;
}

/*Akcija banner*/
/*.main-menu .nav.navbar-nav li[data-category_name="Ženske"]::after,
.main-menu .nav.navbar-nav li[data-category_name="Razprodaja"]::after{
    background: rgba(0, 0, 0, 0) url("catalog/view/theme/OPC100237_2/image/megnor/sale.png") no-repeat scroll 0 0;
    background-size: 33px 14px;
}

/*Novo (modro) banner*/
/*.main-menu .nav.navbar-nav li[data-category_name="Moški"]::after{
    background: rgba(0, 0, 0, 0) url("catalog/view/theme/OPC100237_2/image/megnor/new.png") no-repeat scroll 0 0;
    background-size: 33px 14px;
}

/*Novo (rumeno) banner*/
.main-menu .nav.navbar-nav li[data-category_name="Parfumerija"]::after{
    background: rgba(0, 0, 0, 0) url("catalog/view/theme/OPC100237_2/image/megnor/new1.png") no-repeat scroll 0 0;
    background-size: 33px 14px;
}



/* Custom pruduct page */
.productpage #tabs_info{
    margin-top: 0 !important;
}
#content.productpage .product-left, #content.productpage .product-right,#content{
    min-height: auto !important;
}
.btn-group.wish-comp{
    margin:0;
}
.process.page-nav.ve-clearfix{
    display: none;
}
.btn-group.wish-comp .btn.btn-default.wishlist{
    padding: 13px 23px !important;
    border: 1px solid #e2e2e2;
    margin: 0;
}
.btn-group.wish-comp .fa-heart::before, .btn-group.wish-comp .fa-exchange::before{
    font-size: 20px;
    left: 13px;
    line-height: 48px;
}
#custom-price{
    border-top: 1px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
    padding: 10px 0 !important;
    margin: 30px 0 !important;
    display: flex;
    align-items: center;
}
#button-cart span{
    background: url("catalog/view/theme/OPC100237_2/image/megnor/Icon.png") no-repeat scroll left -718px;
    padding-left: 35px;
}
#button-cart{
    text-transform: uppercase;
    background: var(--text_color);
    border: 1px solid #c3222c;
}
#button-cart:hover{
    background: #bb1a25;
}
#custom-price ul{
    flex: 1;
}
#custom-price h4{
    font-size: 30px;
}
.description{
    margin-bottom:30px;
}
#content h3.product-title{
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.1px;
    line-height: 32px;
}
.custom-stock.available{
    color: #9ebe32;
}
.custom-stock.available:before{
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f00c";
}
.custom-stock.not-available{
    color: #d49727;
}
.custom-stock{
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}
.custom-stock.available>span{
    padding-left: 5px;
}
#custom-price .list-unstyled{
    margin-bottom: 0 !important;
}
#custom-price .list-unstyled li:last-child{
    padding-bottom: 0;
}
#custom-price input[name="quantity"]{
    width: 50px;
    text-align: center;
}
.custom-add-to-cart{
    display: flex;
    gap: 5px;
    align-items: center;
}
.custom-add-to-cart button{
    flex: 1;
}



/* Homepage wishlist button position */
.product-block-inner .status_stock{
    display: flex;
    justify-content: center;
}
.product-block-inner .status_stock .wishlist_button{
    position: relative;
    top: 0;
    right: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.product-block-inner .status_stock .wishlist_button .fa-heart:before{
    line-height: 0;
}
.product-details{
    padding: 10px 15px;
}
.product_hover_block .action{
    left: 10px;
}
.caption .rating,
.product_hover_block .action .compare_button,
.product-thumb .rating{
    display: none;
}

.product-block-inner .image{
	width:100%;
}
.quickview-button .quickbox{
    overflow: revert !important;
}


/* skrit breadcrumb na product pagu */
.layout-1 .content-top-breadcum{
    display: none;
}


/* prikaz in slike poizvajalca in title izdelka */
.product-title-container{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.product-title-container .product-title{
    margin-bottom: 0;
}



/* Custom radio for Velikost */
.custom-input-radio.velikost,
.custom-input-radio.barva{
    display: block;
    align-items: center;
	overflow:hidden;
}
.custom-input-radio.velikost>div,
.custom-input-radio.barva>div{
    margin-top: 0 !important;
    margin-right: 10px;
	float: left;
}
.custom-input-radio>div,
.custom-input-radio>div{
    margin-top: 0 !important;
}
.custom-input-radio.velikost>div:last-child,
.custom-input-radio.barva>div:last-child{
    margin-right: 0;
}

.custom-input-radio.velikost input[type="radio"],
.custom-input-radio.barva input[type="radio"]{
    display: none;
}
.custom-input-radio.velikost label,
.custom-input-radio.barva label{
    padding: 0;
    display: block;
    width: auto;
	min-width:30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    border: 1px solid #e2e2e2;
	max-width: initial;
	padding:0 5px;
}
.custom-input-radio.barva label{
    background: rgba(var(--rgb), 0.4);
    filter: grayscale(0.2);
    width: 30px;
}
.custom-input-radio.velikost input[type="radio"]:checked + label,
.custom-input-radio.barva input[type="radio"]:checked + label{
    border: 1px solid var(--text_color);
    color: var(--text_color);
    background: rgba(var(--rgb), 1);
    filter: grayscale(0);
}







/* Style for custom HTML in product page */
.custom-product-offer{
    background-color: #333;
    margin-top: 20px;
    padding: 12px 12px 12px 55px;
    color: white;
    position: relative;
}
.custom-product-offer img{
    position: absolute;
    left: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}
.custom-product-offer p{
    margin-bottom: 0;
    line-height: 1.7rem;
}
.custom-product-offer a{
    color: white;
    text-decoration: underline;
}
.custom-product-offer a:hover{
    color: var(--text_color);
}
.custom-product-bullet-points{
    margin-top: 20px;
}
.custom-product-bullet-points>div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.custom-product-bullet-points span{
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
.custom-product-bullet-points p{
    width: 100%;
    margin: 0;
    line-height: 18px;
}






/* Custom cart button */
#cart-total{
    color: white;
}
#cart .custom-cart-number{
    position: absolute;
    top: -5px;
    left: 14px;
    background: var(--text_color);
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0px;
    color: white;
}



/* Slike v homepagu da se ne stiskajo ampak se samo overflowa */
.banner-left{
    display: flex;
    justify-content: flex-end;
}
.banner-left .left-banner,
.banner-right .right-banner{
    position: relative;
    width: fit-content;
}
.main-slider img{
    margin: 0 auto;
}
.banner-left img,
.banner-right img,
.main-slider img{
    object-fit: cover;
}
.customNavigation .prev,
.customNavigation .next{
    transform: translateY(-50%);
    z-index: 50;
}
.customNavigation{
    top: calc(50% - 17px) !important;
}




/* Pagination */
@media only screen and (max-width: 479px){
    .pagination{
        display: flex;
        justify-content: space-between;
    }
    .pagination li a,
    .pagination li.active span{
        padding: 0 !important;
        margin: 0 !important;
    }
    .pagination:has(li:first-child.active),
    .pagination:has(li:last-child.active){
        margin: 0 60px;
    }
}
@media only screen and (max-width: 300px){
    .pagination:has(li:first-child.active),
    .pagination:has(li:last-child.active){
        margin: 0 30px;
    }
}


/* Custom style za košarico */
.ve-input-group{
    box-shadow: none !important;
    margin-left: -5px;
}
.ve-btn.d-vis.ve-btn--primary.increase{
    border-radius: 0 4px 4px 0 !important;
}
.ve-btn.d-vis.ve-btn--danger.delete{
    margin-left: 5px !important;
    border-radius: 4px !important;
}
#child4 .qc-custom .ve-card__header{
    display: none;
}
#child10 .ve-btn--primary{
    width: 100%;
}



.special .caption h4{
    padding: 0 10px;
}




/* Product link fix */
.custom-product-link{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.cart-action{
    left: 50%;
    right: auto;
    transform: translate(-50%);
}






.quantity-container{
    display: flex;
    align-items: center;
}
.quantity-container .fa{
    color: #555;
    padding: 0 10px;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    line-height: 40px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    text-align: center;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2px;
}
.quantity-container .fa:first-child{
    border-left: 1px solid #e2e2e2;
}
.quantity-container .fa:last-child{
    border-right: 1px solid #e2e2e2;
}
.quantity-container .fa:hover{
    color: var(--text_color);
}

#special-grid .caption,
.custom-recomended-product .caption{
	text-align:left;
}

.box-product.product-carousel .product-text,
#featured-carousel .product-text{
	opacity:1;
	-khtml-opacity:1;
	-webkit-opacity:1;
	-moz-opacity:1;
	background:transparent;
}

.box-product.product-carousel .product-text .product_hover_block,
#featured-carousel .product-text .product_hover_block{
	display:none;
}
.box-product.product-carousel .product-text:hover .product_hover_block,
#featured-carousel .product-text:hover .product_hover_block{
	display:inline-block;
}

.box-product.product-carousel .product-text:hover,
#featured-carousel .product-text:hover{
	background:rgba(0, 0, 0, 0.5);
}

#featured-carousel .product-details,
.box-product.product-carousel .product-details{
	bottom:0;
	position:relative;
}
.box-product.product-carousel .product-block-inner .image img,
#featured-carousel .product-block-inner .image img{
	width:80%;
}

.box-product.product-carousel .product-thumb h4 a,
.box-product.product-carousel .product-thumb .price,
#featured-carousel .product-thumb h4 a,
#featured-carousel .product-thumb .price,
#special-grid .product-thumb .price,
#special-grid .caption h4 a,
.custom-recomended-product .product-thumb .price,
.custom-recomended-product .caption h4 a{
    color: #575757;
	text-align:left;
}

#content .custom-recomended-product  .product-layout.product-grid{
	float:left;
	width:25%;
}
.custom-recomended-product .product-thumb .image{
	display:block;
}
#special-grid .product-thumb .price{
	padding-left:10px;
}
.qc-logo .img-responsive{
    cursor: pointer;
}

#column-left .list-group{
	clear:both;
}

#column-left >.list-group > .list-group-wrap,
#column-left .category-inner .box.category{
    content:" ";
	display:block;
	width:100%;
	border-bottom:1px solid #ccc;
	border-radius:0;
	padding-bottom:8px;
}

.product-thumb .image a.fullbox{
	display: block;
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
	z-index:1;
}
@media (max-width: 767px) {
	#content .custom-recomended-product  .product-layout.product-grid,
	#content .product-layout.product-grid{
		width:49.5%;
	}

	.box-product.product-carousel .product-block-inner .image img,
	#featured-carousel .product-block-inner .image img{
		width:100%;
		object-fit: contain;
		max-height: 132px;
	}


}