/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/*https://getcssscan.com/css-box-shadow-examples*/

/*202512 SNOW Effect*/



/*GENERALNO*/
.hideme, .hideMe, .skrijMe .skrijme, .woocommerce-shipping-calculator, .woocommerce-shipping-destination{
	display:none!important;
	visibility:hidden!important;
}

/*
.champion-header-v2__menu .awb-menu__sub-ul_main {
	--awb-transition-time: 600; /* milliseconds, no unit */
}
*/


/*POZOR - BE MINDFUL - NOT TESTED*/
.woocommerce .fusion-fullwidth .fusion-row{
	z-index:unset;
}

ul.awb-menu__sub-ul.awb-menu__sub-ul_main {
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.post-content:not(.fusion-post-content), .single-fusion_tb_section .fusion-tb-header, body:not(.side-header) #wrapper{
	z-index:1;
}

/*SEARCH BAR*/
.fusion-search-results.suggestions-added{
	width: 356px;
	right: 0px;
}
.fusion-page-title-bar{
	/*fix, da search stoji v ospredju*/
	position: sticky;
}
.fusion-search-element .fusion-live-search .fusion-search-results{
	z-index: 100000000000;
}


/*PRODUCT VIEW PAGE*/
.woocommerce-variation-add-to-cart{
	margin-bottom:30px;
}
.woocommerce-price-suffix{
	font-size: 12px;
	color:#161817;
}


/*CATEGORY VIEW QUICK*/
/* Quick view se izpiše za footerjem (znotraj #wrapper, izven #main), zato #wrapper. Avada responsive typography vsili font-size z !important prek --fontSize */
#wrapper .fusion-woocommerce-quick-view-container h1.product_title.entry-title{
	--fontSize: 24 !important;
	font-size: 24px !important;
}
#wrapper .fusion-woocommerce-quick-view-container .single_add_to_cart_button{
	margin-top: 30px;
}
#wrapper .fusion-woocommerce-quick-view-container .price ins .amount{
	font-size: 20px;
}
#wrapper .fusion-woocommerce-quick-view-container .price del .amount{
	font-size: 14px;
}
#wrapper .fusion-woocommerce-quick-view-container .post-content:not(.fusion-post-content){
	font-size: 12px;
}
#wrapper .fusion-woocommerce-quick-view-container .product-border.fusion-separator.sep-none{
	display:none;
	visibility:hidden;
}
#wrapper .fusion-woocommerce-quick-view-container .variations select{
	border-color: var(--awb-color4);
}
#wrapper .fusion-woocommerce-quick-view-container h1.product_title.entry-title,
#wrapper .fusion-woocommerce-quick-view-container .price .woocommerce-Price-amount,
#wrapper .fusion-woocommerce-quick-view-container .fpf-fields-config-wrapper a{
	color: #bd161d;
}
#wrapper .fusion-woocommerce-quick-view-container .single_add_to_cart_button:not(:hover),
#wrapper .fusion-woocommerce-quick-view-container .fusion-button-view-details:not(:hover){
	background: #bd161d;
	border-color: #bd161d;
}

/*CATEGORY VIEW - SLIKE RAZLIČNIH VIŠIN PORAVNANE NA VRH (Avada jih centrira, zato je bil zgoraj bel pas in preskok ob hoverju)*/
.product-images .featured-image.crossfade-images{
	align-items: flex-start;
}
.product-images .featured-image.crossfade-images img{
	vertical-align: top;
}
.product-images .featured-image.crossfade-images .hover-image{
	top: 0;
}

/*CATEGORY VIEW*/
#wrapper .product-category a h2.woocommerce-loop-category__title {
	
}
.woocommerce li.product .fusion-product-wrapper .fusion-product-content .product-details .product-details-container h3.product-title.fusion-responsive-typography-calculated{
	line-height: 18px!important;
	margin-bottom:10px;
}
.woocommerce li.product .fusion-product-wrapper .fusion-product-content .product-details .product-details-container h3 a{
	font-size: 18px;   
}
.woocommerce .fusion-price-rating .price .woocommerce-Price-amount.amount{
	font-size: 18px; 
	font-weight:900;
}
.woocommerce .fusion-price-rating .price del .woocommerce-Price-amount.amount{
	font-size: 14px;
	font-weight:normal;
}
.fusion-product-wrapper .product-images{
	/*height: 346px;*/
	/*MOD 20250404 umaknjeno - iz nekega razloga se je navzgor zamaknilo*/
}
.woocommerce li.product .fusion-product-wrapper .fusion-product-content .product-details .product-details-container h3.product-title.fusion-responsive-typography-calculated{
	height: 40px;
}
.fusion-woo-product-grid .product .product-buttons .fusion-content-sep{
	display:none;
	visibility:hidden;
}
.wc-block-cart .wc-block-cart__submit-container a{
	color:#fff;
}
.wc-block-cart .wc-block-cart__submit-container,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained{
	background: var(--button_gradient_top_color);
    color: var(--button_accent_color);
    border-color: var(--button_border_color);
	box-sizing: border-box;
    font-family: var(--button_typography-font-family);
    font-weight: var(--button_typography-font-weight);
    font-style: var(--button_typography-font-style, normal);
    letter-spacing: var(--button_typography-letter-spacing);
    border-width: var(--button_border_width-top, 0) var(--button_border_width-right, 0) var(--button_border_width-bottom, 0) var(--button_border_width-left, 0);
    border-style: solid;
    border-radius: var(--button-border-radius-top-left, 0) var(--button-border-radius-top-right, 0) var(--button-border-radius-bottom-right, 0) var(--button-border-radius-bottom-left, 0);
    text-transform: var(--button_text_transform);
    transition: all .2s;
}
.wc-block-cart .wc-block-cart__submit-container:hover,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover{
	background: var(--button_gradient_top_color_hover);
    color: var(--button_accent_hover_color, var(--button_accent_color));
    border-color: var(--button_border_hover_color);
}
/*Category filters*/
.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a:before{
	right: 25px;
    top: -2px;
}

/*CART*/
.wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper h3.wc-block-components-product-name,
.wc-block-components-product-details__name,
.wc-block-components-product-details__velikost,
.wc-block-components-product-details__value{
	font-size: 12px;
}
.wc-block-components-form.wc-block-checkout__form .wc-block-components-checkout-step{
	margin: 0 0 12px;
}
/*ZALOGA PO TRGOVINAH*/
.woocommerce-Tabs-panel .table-responsive table td{
	content:none;
	font-size: 1px;
	color: #fff;
}
.woocommerce-Tabs-panel .table-responsive table thead tr {
	background-color: #000;
	color:#fff;
	/*background-color: rgba(0, 0, 0, .05);*/
}
/*#686965*/
.woocommerce-Tabs-panel .table-responsive table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, .05);
}
.woocommerce-Tabs-panel .table-responsive table td{
	color: #fff;
	position: relative;
	height: 55px;
	width: 55px;
	font-size: 1px;
}
.woocommerce-Tabs-panel .table-responsive table td:after{
	content: "-";
	/*background: red;*/
    background: rgb(244 35 35 / 55%);
	width: 35px;
	height: 35px;
	border-radius: 10%;
	color: red;
	display: block;
	text-align: center;
	margin: 0;
	position: absolute;
	top: 10px;
	left: 10px;
}
.woocommerce-Tabs-panel .table-responsive table td.naZalogi:after{
        content: "+";
        background: rgb(0 128 0 / 55%);
        width: 35px;
        height: 35px;
        border-radius: 10%;
        color: green;
        display: block;
        text-align: center;
        margin: 0;
        position: absolute;
        top: 10px;
        left: 10px;
}

/**/
.ppc-button-wrapper{
	max-width:480px;
}
/*Filter fixes*/
.bapf_clr_text{
	font-size:10px;
}
.woocommerce .product span.onsale{
	padding: 0 .3em;
}
/*Main images not loading immediately fix*/

@media screen and (max-width:640px){
	/*.shopMenu{
		display:block!important;
	}*/
	.mobileMenuRight li.menu-item-150{
		margin-left:12px;
	}
	.fusion-search-element.mobileSearch .searchform .fusion-live-search-input{
		height:30px!important;
		margin-top: 18px;
	}
	.fusion-search-element.fusion-search-form-clean.mobileSearch .searchform .fusion-search-form-content .fusion-search-button input[type=submit]{
		height: 35px;
	}
	.iskanjeHeader{
		/*width:60%!important;*/
	}
	.mobileSearch{}
	.meniTrgovina{
		min-width:100px;
	}
}

@media screen and (max-width:1024px){
	.wp-child-theme-Avada-Child-Theme .awb-menu.collapse-enabled.mobile-size-full-absolute .awb-menu__main-ul{
		position:sticky;
	}
}
@media screen and (min-width:1024px){
	.topDoor div div{
		margin-bottom:0px!important;
	}
	/*shopMenuSearch shopMenuProfileCart*/
	.shopMenu{
		/*margin-top:-90px; - prej na modulu neuporabno*/
		top: 0px !important;
        right: 0 !important;
        display: block !important;
        position: absolute !important;
	}
}
/*HEADER - ŠTEVEC KOŠARICE*/
.champion-header-v2__cart-link{
	position: relative;
}
/* Gumb ima font-size: 0 (skrit napis "Košarica"); števec ima zato vse lastnosti pisave in barve nastavljene sam,
   lasten sloj (z-index + translateZ) in sistemsko pisavo - Safari (iPhone/iPad) sicer številke ni izrisal. */
.champion-header-v2__cart-link .champion-cart-count{
	position: absolute;
	top: -6px;
	right: -8px;
	z-index: 2;
	display: block;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: #bd161d;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 11px !important;
	font-style: normal;
	font-weight: 700;
	line-height: 18px !important;
	letter-spacing: 0;
	text-align: center;
	text-indent: 0;
	white-space: nowrap;
	visibility: visible;
	opacity: 1;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-sizing: border-box;
	pointer-events: none;
}
/* Mobilni header: gumb je čisto na vrhu zaslona, števec 10px nižje, da ni odrezan. */
.champion-header-v2--mobile .champion-header-v2__cart-link .champion-cart-count{
	top: 4px;
}
.champion-header-v2__cart-link .champion-cart-count--empty{
	display: none;
}
/*QUICK VIEW - OBVESTILO OB DODAJANJU V KOŠARICO*/
#wrapper .fusion-woocommerce-quick-view-container .champion-qv-notice{
	margin: 10px 0;
	font-size: 13px;
}
#wrapper .fusion-woocommerce-quick-view-container .champion-qv-notice--error{
	color: #bd161d;
}
#wrapper .fusion-woocommerce-quick-view-container .champion-qv-notice .button{
	float: none;
	display: inline;
	margin: 0 0 0 6px;
	padding: 0;
	background: none;
	border: 0;
	color: #bd161d;
	text-decoration: underline;
}
/*QUICK VIEW - MED DODAJANJEM V KOŠARICO SKRIJEMO BESEDILO, VIDNE SO LE PIKICE*/
#wrapper .fusion-woocommerce-quick-view-container .single_add_to_cart_button.loading{
	color: transparent !important;
}
#wrapper .fusion-woocommerce-quick-view-container .single_add_to_cart_button.loading::after{
	color: #ffffff;
}
/*HEADER - MINI KOŠARICA: NAZIV IZDELKA 14px (Avada uporablja --awb-product-title-font-size, ki v elementu ni nastavljen)*/
.champion-header-v2__mini-cart.awb-woo-mini-cart{
	--awb-product-title-font-size: 14px;
}

/*ZALOGA PO TRGOVINAH*/
/* Zaloga po trgovinah: green = in stock, red = 0; numbers hidden for now */
.table-responsive .table th,
.table-responsive .table td {
  border: 1px solid #fff !important;
}
.table-responsive .table td {
  color: transparent !important;
}
.table-responsive .table td.naZalogi {
  background: rgba(46, 125, 50, 0.8) !important;
}
.table-responsive .table td:not(.naZalogi) {
  background: rgba(198, 40, 40, 0.8) !important;
}

/* Mobile */
@media (max-width: 767px) {
  .champion-related-heading .fusion-title-heading {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive .table {
    width: 100%;
    margin: 0;
    table-layout: fixed;
  }
  .table-responsive .table th,
  .table-responsive .table td {
    padding: 6px 4px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    vertical-align: middle;
  }
  /* store names: left column wider, text wraps */
  .table-responsive .table tbody th,
  .table-responsive .table thead th:first-child {
    width: 46%;
    text-align: left;
    white-space: normal;
    word-break: break-word;
  }
  /* sizes: equal narrow columns */
  .table-responsive .table thead th:not(:first-child) {
    text-align: center;
  }
  .table-responsive .table td {
    height: 30px;
  }
}



/*HEADER - MINI KOŠARICA: VEČ ČASA ZA PREMIK MIŠKE (SAMO NAPRAVE Z MIŠKO)*/
@media (hover: hover) and (pointer: fine){
	/* Zapiranje z zamikom; klikabilnost ureja visibility, da miška med zamikom še "ujame" košarico */
	.champion-header-v2 .champion-header-v2__cart-wrap .champion-header-v2__mini-cart{
		pointer-events: auto;
		transition: opacity 180ms ease 350ms, transform 180ms ease 350ms, visibility 0s linear 530ms;
	}
	.champion-header-v2 .champion-header-v2__cart-wrap:hover .champion-header-v2__mini-cart,
	.champion-header-v2 .champion-header-v2__cart-wrap:focus-within .champion-header-v2__mini-cart{
		transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 0s;
	}
	/* Neviden most čez 12px režo med ikono in košarico */
	.champion-header-v2 .champion-header-v2__cart-wrap .champion-header-v2__mini-cart::after{
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -14px;
		height: 14px;
	}
}
/*HEADER - DROPDOWN MENI: SINHRONO IZGINJANJE (SAMO NAPRAVE Z MIŠKO)*/
@media (hover: hover) and (pointer: fine){
	/* Avada ob mouseout takoj nastavi visibility:hidden in z-index:-10 (brez prehoda), zato dropdown takoj pade pod vsebino strani,
	   medtem ko opacity še bledi 300ms. Visibility in z-index zamaknemo za Avadin "transition time" (--awb-transition-time = 300). */
	.awb-menu_desktop.awb-menu_dropdown.awb-menu_transition-fade .awb-menu__sub-ul{
		transition: opacity calc(var(--awb-transition-time) * 1ms) cubic-bezier(0.42, 0.01, 0.58, 1), visibility 0s linear calc(var(--awb-transition-time) * 1ms), z-index 0s linear calc(var(--awb-transition-time) * 1ms);
	}
	.awb-menu_desktop.awb-menu_dropdown.awb-menu_transition-fade.awb-menu_em-hover .awb-menu__li.hover > .awb-menu__sub-ul,
	.awb-menu_desktop.awb-menu_dropdown.awb-menu_transition-fade.awb-menu_em-hover .awb-menu__li:hover > .awb-menu__sub-ul,
	.awb-menu_desktop.awb-menu_dropdown.awb-menu_transition-fade.awb-menu_em-hover .awb-menu__li:focus-within > .awb-menu__sub-ul{
		transition: opacity calc(var(--awb-transition-time) * 1ms) cubic-bezier(0.42, 0.01, 0.58, 1), visibility 0s linear 0s, z-index 0s linear 0s;
	}
	/* Ko se zapira celoten dropdown, 3. nivo ne bledi sam (opacity bi se množila s staršem), ampak izgine skupaj s staršem */
	.awb-menu_desktop.awb-menu_dropdown.awb-menu_transition-fade .awb-menu__main-li:not(:hover):not(.hover):not(:focus-within) .awb-menu__sub-ul_grand{
		transition: opacity 0s linear calc(var(--awb-transition-time) * 1ms), visibility 0s linear calc(var(--awb-transition-time) * 1ms), z-index 0s linear calc(var(--awb-transition-time) * 1ms);
	}
	/* li imajo v Avadi "transition: all" (tudi visibility) - omejimo na barve */
	.awb-menu_desktop.awb-menu_dropdown .awb-menu__sub-li{
		transition-property: background-color, color, border-color;
	}
}
