/*!
Theme Name: Tivoli Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Pakom d.o.o.
Author URI: https://pakom.hr/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


img.custom-logo {
	opacity: 1 !important;
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
	border-radius:50px;
	line-height: 15px;
}

body.home section.entry-hero.product-archive-hero-section {
    display: none;
}

/* Ova stilizacija će biti primijenjena na .header-cart-inner-wrap samo kada je širina ekrana manja od 768 piksela (podesite vrijednost prema svojim potrebama) */
@media only screen and (max-width: 768px) {
    .header-cart-inner-wrap {
        position: fixed; /* Fiksirajte element */
        bottom: 20px; /* Udaljenost od dna ekrana */
        left: 50%; /* Centriranje po horizontali */
        transform: translateX(-50%); /* Pomičite element unatrag za polovicu njegove širine */
        width: 90%; /* Širina 90% */
        max-width: 400px; /* Maksimalna širina po potrebi */
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6); /* Donja sjena */
    }
	button.drawer-toggle.header-cart-button {
		width: 100%;
	}

	.header-cart-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

}

.site-header-item .profile-avatar {
	width: 35px;
	height: 35px;
	margin-right: 20px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.login-icon {
	margin-right: 20px;
	transition: filter 0.3s ease-in-out;
}
.login-icon:hover {
    filter: opacity(0.8); 
}

.header-cart-button {
    display: flex;
    align-items: center;
}

.header-cart-button .kadence-svg-icon {
    order: 1; /* Postavi ikone na lijevo */
}

.header-cart-button .header-cart-label {
    order: 2; /* Postavi labelu na desno */
    margin-left: 10px; /* Dodaj malo razmaka između ikona i labela */
}

.header-cart-button .header-cart-total {
	font-size: 0.8em !important;
}
span.woocommerce-Price-amount.amount.amount-eur small {display:none}
span.search-toggle-label.vs-lg-true.vs-md-true.vs-sm-true {
	text-transform: none !important;
}
button.search-toggle-open.drawer-toggle.search-toggle-style-default {
	border-radius: 50px;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart, 
a.button.product_type_simple.add_to_cart_button,
div#ppom-price-cloner-wrapper {
	display: none !important;
}

//informacije o narudžbi
.custom-product-info {
    display: flex;
	flex-wrap: wrap;
}

.info-item {
	display: inline;
	font-size: 12px;
	color: black;
	font-weight: 500;
	background-color: #e8e8e8;
    padding: 10px;
    border-radius: 50px;
    margin-right: 10px;
}
 


.woocommerce ul.products li.product a.woocommerce-loop-image-link {
	background-color: black;
}
/* Efekt potamnjivanja slike proizvoda */
.woocommerce-page img {
	opacity: 0.8;
}

/* Promijeni kursor na strelicu kada je iznad proizvoda */
.woocommerce ul.products li.product a.woocommerce-loop-image-link:hover, .woocommerce ul.products li.product .woocommerce-loop-product__title a {
    cursor: default;
}


/*quick view product*/

#yith-quick-view-close {
	border: none !important;
	text-decoration: none !important;
}
#yith-quick-view-modal p.price {
    color: #eead48; 
	font-weight: bold;
    font-size: 18px;
}

label.form-control-label {
	color: black !important;
	font-size: 16px !important;
}

textarea::placeholder {
    font-size: 13px; 
}

#yith-quick-view-modal div.product_meta {
	display: none !important;
}
#yith-quick-view-modal div.product {
	padding: 0;
}
#yith-quick-view-modal div.summary-content {
	padding: 12px;
}
img.allergen-icon {
	display: inline-block;
}
button.single_add_to_cart_button.button.alt {
	padding: 0px 40px !important;
	border-radius: 3px !important;
}
a.button.wc-forward {
	display: none;
}
a.button.checkout.wc-forward {
	display: block;
}

@media only screen and (max-width: 450px) {
	.woocommerce-product-gallery__image {
		width: 100%; /* Postavite željenu širinu */
		height: 150px; /* Postavite željenu visinu */
		overflow: hidden;
	}

	.woocommerce-product-gallery__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
.woocommerce-product-gallery__image a {
    pointer-events: none;
}

/*#post-2194 {
	background-image: url('https://staging.sc-tivoli.hr/wp-content/uploads/2020/12/pizza-in-take-out-box-isolated-T2DQ9YN.png');
    background-repeat: no-repeat;
    background-position: top right; 
    background-size: 30% auto; 
}*/

div.woocommerce-MyAccount-content{
	width: 100% !important;
	
 }



/* my account */
.content-title-style-above .page-hero-section .entry-hero-container-inner {
	background-position: top right !important;
    background-size: auto !important;
    background-attachment: none;
}
@media only screen and (min-width: 768px) {
	h2.my-account-title, div.woocommerce-billing-fields h3 {
		font-size:2.875rem; 
		margin-top: -150px !important;
		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	}
}
div.account-navigation {
    display: flex;
    justify-content: flex-start;
	gap: 2em;
	margin-top: 40px !important;
	margin-bottom: 40px !important;
	font-size: 1.2rem;
	font-weight: 500;
	position: relative;
	
}

.account-navigation a {
    position: relative;
    text-decoration: none;
    color: #333;
    padding-bottom: 4px;
    transition: color 0.3s, border-bottom 0.3s;
}

.account-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s, transform 0.3s;
    transform: scaleX(0);
    transform-origin: left center;
}

.account-navigation a.current::after {
    background-color: orange;
    transform: scaleX(1);
}

.account-navigation a:hover::after {
    background-color: orange;
    transform: scaleX(1);
}

/*osobne info*/
.account-welcome {
    text-align: center;
    margin: 40px auto;
}

.profile-avatar {
    position: relative;
	margin: 0em auto;
    width: 70px; /* Prilagodite širinu prema potrebi */
    height: 70px; /* Prilagodite visinu prema potrebi */
    border-radius: 50%;
    background-color: #ffe7bd; /* Boja pozadine avatara */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px; /* Veličina slova */
    color: #919191; /* Boja slova (siva) */
    background-size: cover;
	padding-top: 2px;
    background-position: center;
    border: 2px solid #ffffff; /* Bijeli rub */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sjena */
}

.profile-avatar::before {
    content: "";
    display: block;
    padding-bottom: 100%; /* Omogućava održavanje omjera stranica */
}


.welcome-text {
    font-size: 18px;
    color: #666;
}

.account-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Centrirajte vertikalno sadržaj unutar svake kućice */
    gap: 5px; /* Prilagodite razmak između kućica */
	margin: 3em auto 3em auto;
    text-align: left;
    width: 60%; /* Postavite širinu na 50% ekrana */
}

.account-detail-item {
    border: 1px solid #ccc;
	border-radius: 3px;
    padding: 1em;
    flex: 1; /* Svaka kućica zauzima jednaku širinu unutar roditeljskog kontejnera */
    box-sizing: border-box;
    height: 100%; /* Postavite visinu na 100% kako bi sve bile iste visine */
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Dodajte sjenu */
	transition: 0.5s;
}
.account-detail-item:hover {
	background-color: #ededed;
}

/* Stilovi za ekrane manje od 1024px */
@media screen and (max-width: 1024px) {
	 div.account-navigation {
        flex-direction: column;
        align-items: left;
  		margin-top: 0 !important;
		margin-bottom: 10 !important;
		gap: 0.5em;
}
	div.account-navigation a{
		width: 50%;
	}
	
	.account-welcome {
		text-align: left;
	}
	.profile-avatar {
		margin: 0;
	}
    .account-details {
            display: flex;
			flex-direction: column;
			justify-content: space-between;
			align-items: stretch;
			gap: 5px;
			margin: 3em auto 3em auto;
			text-align: left;
			width: 100%;
   	 }
}

/*kartice proizvoda na shop pageu*/

/* Stiliziranje kategorija proizvoda */
.product-categories {
	margin-top: 10px;
}
.product-category {
    background-color: #ba8b3b; /* Narančasta pozadina */
    color: #ffffff; /* Bijeli font */
    text-transform: uppercase; /* Velika slova */
    line-height: 22px;
    padding: 0 7px;
    font-size: 11px;
    border-radius: 10px; /* Obli rubovi */
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 5px;
}

div.product-details {
	padding-top: 0 !important;
}

.product-description p {
	font-size: 1rem;
	margin: 0;
	padding: 5px 10px;
	color: #5c5c5c;
}

.product-price {
	color: #FFA500;
	text-align: right;
	margin-top: -20px;
}

.product-price bdi {
	font-family: 'Permanent Marker', cursive;
	font-size: 26px;
}

.product-price small {
	display: block;
    margin-top: 0; 
	color: #5c5c5c;
}

/*custom login*/


.custom-login-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-top: 20px;
}

.custom-login-column {
    width: 48%; /* Prilagodite širinu kolona prema potrebi */
    padding: 20px 50px;

}


.custom-login-right {
    
}

.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="password"], 
.woocommerce-form-register input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="text"],
input#user_login.woocommerce-Input.woocommerce-Input--text.input-text {
    height: 50px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px; /* Dodajte po potrebi prostora unutar inputa */
    
}
button.woocommerce-form-login__submit {
	width: 160px;
	height: 50px;
}
button.woocommerce-form-register__submit {
	width: 220px;
	height: 50px;
	margin-top: 20px;
}


.ili-prijava {
    overflow: hidden;
    text-align: center;
	padding-top: 20px;
	color: #7B8794;
}
.ili-prijava:before,
.ili-prijava:after {
    background-color: #7B8794;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}
.ili-prijava:before {
    right: 0.5em;
    margin-left: -50%;
}
.ili-prijava:after {
    left: 0.5em;
    margin-right: -50%;
}

div.nsl-container.nsl-container-block .nsl-container-buttons {
	width: 100%;
}

   ul.lista-register {
        list-style-type: none;
        padding: 0;
    }

      ul.lista-register li {
        position: relative;
        padding-left: 20px; /* Prilagodite prema potrebi */
    }

      ul.lista-register li::before {
        content: "";
        position: absolute;
        display: block;
        width: 8px;
        height: 8px;
        background: #EEAD48; /* Narančasta boja */
        top: 50%; /* Centrirajte vertikalno */
        transform: translateY(-50%);
        left: 0;
        border-radius: 50%; /* Da dobijete kružni oblik */
    }




span.sku-hide, [class*="sku-hide"] {
	display: none !important;
}