/**
 * Runnerp — globalne sitne prilagodbe (mobil).
 */

:root {
	--runnerp-cta-color: #B08968;
	--runnerp-cta-hover-color: #7A5A45;
	--runnerp-cta-text-color: #F3ECE6;
	--runnerp-surface-color: #F3ECE6;
	--runnerp-text-color: #604235;
	--qode-main-color: #B08968;
}

/* Globalna boja teksta */
body,
#qodef-page-wrapper,
p,
li,
label,
td,
th,
span:not(.runnerp-header-wishlist-count),
.qodef-m-title,
.entry-title,
.qodef-woo-product-title,
.qodef-woo-product-title a,
#qodef-woo-page,
.qodef-header-navigation > ul > li > a,
.qodef-mobile-header-navigation > ul > li > a,
#qodef-page-mobile-header .qodef-mobile-header-opener,
#qodef-page-mobile-header .qodef-search-opener,
.widget,
.widget a:not(:hover) {
	color: var(--runnerp-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.qodef-h1,
.qodef-h2,
.qodef-h3,
.qodef-h4,
.qodef-h5,
.qodef-h6 {
	color: var(--runnerp-text-color);
}

/* Krem pozadina — footer i page title */
#qodef-page-footer,
#qodef-page-footer-top-area,
#qodef-page-footer-bottom-area,
.qodef-page-title,
.qodef-page-title .qodef-m-inner {
	background-color: var(--runnerp-surface-color) !important;
}

/* Transparentna pozadina — cart sidebar, blog, gift wrapper */
#qodef-woo-page.qodef--cart .cart-collaterals,
#qodef-author-info,
.qodef-blog .qodef-blog-item .qodef-e-info .qodef-e-info-left .qodef-e-info-social-share,
.qodef-blog .qodef-blog-item.format-link .qodef-e-link,
.qodef-blog .qodef-blog-item.format-quote .qodef-e-quote,
.runnerp-home-gift {
	background-color: transparent !important;
}

#qodef-woo-page.qodef--cart .woocommerce-cart-form table tr,
#qodef-woo-page.qodef--cart .woocommerce-cart-form table th,
#qodef-woo-page.qodef--cart .woocommerce-cart-form table td,
.qwfw-wishlist-table.qodef-passim-theme .shop_table.qwfw-m-items tbody tr,
.wishlist_table tr,
.wishlist_table th,
.wishlist_table td {
	border-color: var(--runnerp-surface-color) !important;
}

.qwfw-wishlist-table.qodef-passim-theme .shop_table.qwfw-m-items tbody tr {
	border-top-color: var(--runnerp-surface-color) !important;
}

/* Tema — primarna CTA dugmad (override Passim #ff2b09) */
input[type="submit"]:not(.runnerp-cookie-banner__btn--ghost),
button[type="submit"]:not(.runnerp-cookie-banner__btn--ghost),
.qodef-theme-button {
	background-color: var(--runnerp-cta-color) !important;
	border-color: var(--runnerp-cta-color) !important;
	color: var(--runnerp-cta-text-color) !important;
}

.qodef-button.qodef-layout--filled,
.qodef-button.qodef-layout--filled.qodef-html--link {
	background-color: var(--runnerp-cta-color) !important;
	border-color: var(--runnerp-cta-color) !important;
	color: var(--runnerp-cta-text-color) !important;
}

.qodef-button.qodef-layout--outlined {
	border-color: var(--runnerp-cta-color) !important;
}

.qodef-button.qodef-layout--outlined:hover {
	background-color: var(--runnerp-cta-hover-color) !important;
	border-color: var(--runnerp-cta-hover-color) !important;
	color: var(--runnerp-cta-text-color) !important;
}

input[type="submit"]:not(.runnerp-cookie-banner__btn--ghost):hover,
button[type="submit"]:not(.runnerp-cookie-banner__btn--ghost):hover,
.qodef-theme-button:hover,
.qodef-button.qodef-layout--filled:hover,
.qodef-button.qodef-layout--filled.qodef-html--link:hover,
#qodef-woo-page .button:hover,
#qodef-woo-page .add_to_cart_button:hover,
#qodef-woo-page .single_add_to_cart_button:hover,
.qodef-woo-shortcode .button:hover,
.qodef-woo-shortcode .add_to_cart_button:hover,
.qodef-woo-product-image-inner .button:hover,
.qodef-woo-product-image-inner .add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.qwfw-wishlist-table .button:hover,
.qwfw-wishlist-table .add_to_cart_button:hover,
.wishlist_table .product-add-to-cart a.button:hover {
	background-color: var(--runnerp-cta-hover-color) !important;
	border-color: var(--runnerp-cta-hover-color) !important;
	color: var(--runnerp-cta-text-color) !important;
}

#qodef-woo-page .button,
#qodef-woo-page .add_to_cart_button,
#qodef-woo-page .single_add_to_cart_button,
.qodef-woo-shortcode .button,
.qodef-woo-shortcode .add_to_cart_button,
.qodef-woo-product-image-inner .button,
.qodef-woo-product-image-inner .add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.qwfw-wishlist-table .button,
.qwfw-wishlist-table .add_to_cart_button,
.wishlist_table .product-add-to-cart a.button {
	background-color: var(--runnerp-cta-color) !important;
	border-color: var(--runnerp-cta-color) !important;
	color: var(--runnerp-cta-text-color) !important;
}

.qodef-woo-dropdown-cart .qodef-m-action-link {
	border-color: var(--runnerp-cta-color) !important;
}

.qodef-woo-dropdown-cart .qodef-m-action-link:hover {
	background-color: var(--runnerp-cta-hover-color) !important;
	border-color: var(--runnerp-cta-hover-color) !important;
	color: var(--runnerp-cta-text-color) !important;
}

@media only screen and (max-width: 680px) {
	/* Sivi page title bar — manji naslov */
	.qodef-page-title {
		height: auto;
		min-height: 80px;
	}

	.qodef-page-title .qodef-m-inner {
		display: flex;
		width: 100%;
		min-height: 80px;
		height: 100%;
	}

	.qodef-page-title .qodef-m-content {
		width: 100%;
		min-height: 80px;
		height: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		padding: 0 34px !important;
		box-sizing: border-box;
	}

	.qodef-page-title.qodef-alignment--center .qodef-m-content {
		justify-content: center !important;
	}

	.qodef-page-title.qodef-alignment--right .qodef-m-content {
		justify-content: flex-end !important;
	}

	.qodef-page-title .qodef-m-title.entry-title {
		font-size: 22px !important;
		line-height: 1.15 !important;
		margin: 0 !important;
		letter-spacing: -0.01em;
	}
}
