.site-main>.product,
.woocommerce-notices-wrapper {
	width: 100%;
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}

.woocommerce-breadcrumb {
	text-align: center;
}

.woocommerce-breadcrumb-list {
	list-style: none;
	display: flex;
	gap: 10px;
	padding-left: 0;
	width: 100%;
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}

.breadcrumb-item {
	position: relative;
}

.breadcrumb-item:after {
	content: "";
	display: inline-block;
	background-image: url(../images/icons/chevron-right.svg);
	background-size: contain;
	position: relative;
	width: 16px;
	height: 16px;
	top: 2px;
	left: 5px;
}

.breadcrumb-item--current::after {
	display: none;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
	position: relative;
	margin-left: 0
}

/* Single-product spinner override */
.single_add_to_cart_button.button {
	position: relative;
	padding-right: 28px !important;
}

.single_add_to_cart_button.button.added.loading::after {
	font-family: WooCommerce;
	content: "\e01c";
	vertical-align: top;
	font-weight: 400;
	position: absolute;
	top: 50%;
	margin-top: -8px;
	right: 1em;
	animation: spin 2s linear infinite;
}

.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 2em;
}

.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
	content: none;
}


/* Buttons */
.woocommerce .button {
	background-color: var(--primary-color, black);
	color: var(--neutral-white, white);
	border: none;
	border-radius: 60px;
	cursor: pointer;
	display: inline-flex;
	letter-spacing: 0.025em;
	/* font-weight: 600;
	font-size: .94rem; */
	line-height: 1.25;
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 28px;
	padding-right: 28px;
	white-space: nowrap;
	text-transform: none;
	transition: background-color .2s ease-out;
}

.woocommerce .button:hover {
	opacity: .8;
}

.btn,
.button,
.woocommerce .button,
.woocommerce div.product form.cart .button {
	background-color: var(--primary-color, black);
	color: var(--neutral-white, white);
	display: inline-flex;
	border-radius: 60px;
	vertical-align: middle;
	height: 55px;
	min-width: 200px;
	line-height: 1.25;
	font-size: 18px;
	font-weight: 500;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 25px;
	padding-right: 25px;
	text-align: center;
	align-items: center;
	align-content: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 0;
	text-decoration: none;
}

.btn--ghost,
.button.button--ghost,
.woocommerce .button.button--ghost {
	background-color: transparent;
	border: 1px solid var(--primary-color, black);
	color: var(--primary-color, black);
}

.woocommerce div.product form.cart div.quantity,
.bc-mini-qtyctrl {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	justify-content: space-between;
	margin: 0;
	border: 1px solid var(--border-color);
	border-radius: 65px;
	height: 55px;
	width: 100%;
	max-width: 124px;
	padding-left: 6px;
	padding-right: 6px;
}

.bc-mini-qtyctrl {
	border: 1px solid var(--border-color);
	border-radius: 35px;
	height: 32px;
	max-width: 80px;
	padding-left: 2px;
	padding-right: 2px;
	position: relative;
}

.woocommerce .quantity .qty,
.bc-mini-qtyinput {
	color: var(--primary-color, black);
	width: inherit;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0;
	padding: 0;
	display: inline-block;
	outline: 0 !important;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button,
.bc-mini-qtyinput::-webkit-outer-spin-button,
.bc-mini-qtyinput::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}


.bc-mini-qtyinput {
	/* width: 30px; */
}

.qty-btn,
.bc-mini-qtybtn {
	background-color: #fff;
	font-size: 26px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bc-mini-qtybtn {
	width: 28px;
	height: 28px;
}

.bc-mini-qtybtn .qty-btn__svg {
	width: 20px;
	height: 20px;
}

.qty-btn:hover,
.bc-mini-qtybtn:hover {
	background-color: #eee;
}

.qty-btn.is-at-min {
	pointer-events: none;
}

.qty-btn.is-at-min .minus-svg {
	fill: #757575;
}

/* --- ADD TO CART: elegantan CSS spinner umjesto Woo ikone --- */

/* 1) Osiguraj da pseudo-element ima gdje stajati */
.woocommerce .product .single_add_to_cart_button,
.woocommerce .product input.button {
	position: relative;
	font-size: 16px;
}

/* 2) Kad je loading, malo zatamni labela i onemogući klikove */
.woocommerce .product .button.loading {
	opacity: initial;
}

.woocommerce .product .button.loading>span {
	opacity: 0;
}

.woocommerce .product .button.loading {
	pointer-events: none;
}

/* 1) Neutraliziraj Woo check ikonu na gumbu (koja pomiče tekst) */
.woocommerce .product .single_add_to_cart_button.added::after,
.woocommerce input.button.added::after {
	content: none;
}


/* 3) Spinner: zamjenjuje Woo ::after ikonu fonta */
.woocommerce .product .button.loading::after {
	/* pregazi Woo postavke */
	font-family: initial !important;
	content: "" !important;
	background: none !important;

	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.2em;
	/* veličina spinnnera */
	height: 1.2em;
	margin: -0.6em 0 0 -0.6em;
	/* centriraj */
	border-radius: 50%;
	/* ring koji se vrti; koristi boju teksta gumba */
	border: 2px solid currentColor;
	border-left-color: transparent;
	/* “prazan” segment za efekt */
	border-bottom-color: transparent;
	/* možeš ostaviti samo left ako želiš puniji look */
	animation: bc-atc-spin .7s linear infinite;
	/* malo bolje renderiranje na nekim preglednicima */
	box-sizing: border-box;
}

/* 4) Animacija */
@keyframes bc-atc-spin {
	to {
		transform: rotate(1turn);
	}
}

/* 5) Poštuj smanjene animacije */
@media (prefers-reduced-motion: reduce) {
	.woocommerce .product .button.loading::after {
		animation: none;
		/* statičan indikator: točkica */
		width: .5em;
		height: .5em;
		margin: -.25em 0 0 -.25em;
		border: 0;
		background: currentColor;
		border-radius: 50%;
	}
}


/* 2) Span s tekstom: rezerviraj prostor za ikonu (nema “skoka” kad se pojavi) */
.woocommerce .product .single_add_to_cart_button>span,
.woocommerce .product input.single_add_to_cart_button {
	position: relative;
	display: inline-block;

}

/* 3) Kvačica: crta se na span-u, absolutno ispred teksta */
.woocommerce .product .single_add_to_cart_button.added>span::before,
.woocommerce .product input.button.added::before {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: -25px;
	width: 0.66em;
	/* duži krak */
	height: 0.36em;
	/* kraći krak */
	transform: translateY(-58%) rotate(-45deg);
	/* nagib udesno-gore */
	border-left: 0.18em solid currentColor;
	/* KVAČICA = lijevi + donji rub */
	border-bottom: 0.18em solid currentColor;
	border-radius: 0.03em;
}

/* 4) Dodatni touch-up: u added stanju vrati punu neprozirnost teksta */
.woocommerce .product .button.added>span {
	opacity: 1;
}


.product-loop-footer {
	position: relative;
	display: flex;
}

.woocommerce-loop-product__name {
	margin-right: auto;
	width: calc(100% - 40px);
}

.woocommerce-loop-product__link {
	padding-top: 12px;
}

#primary .products .add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	color: var(--font-color, black);
	border-radius: 50%;
	margin-top: 5px;
	padding: 5px;
	position: relative;
	width: 40px;
	height: 40px;
	min-width: auto;
	transition: none;
}

#primary .products .add_to_cart_button:hover {
	background-color: #e7e7e7;
}

#primary .products .add_to_cart_button.added::after {
	margin-left: 0;
	font-size: 15px;
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.add_to_bag_svg {
	width: 22px;
	height: 22px;
}

.added .add_to_bag_svg {
	background-color: currentColor;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M11.5 21H8.574a3 3 0 0 1-2.965-2.544l-1.255-8.152A2 2 0 0 1 6.331 8H17.67a2 2 0 0 1 1.977 2.304l-.5 3.248"/><path d="M9 11V6a3 3 0 0 1 6 0v5m0 8l2 2l4-4"/></g></svg>') no-repeat center / contain;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M11.5 21H8.574a3 3 0 0 1-2.965-2.544l-1.255-8.152A2 2 0 0 1 6.331 8H17.67a2 2 0 0 1 1.977 2.304l-.5 3.248"/><path d="M9 11V6a3 3 0 0 1 6 0v5m0 8l2 2l4-4"/></g></svg>') no-repeat center / contain;
}

.add_to_bag_svg,
.added:hover .add_to_bag_svg {
	background-color: currentColor;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M12.5 21H8.574a3 3 0 0 1-2.965-2.544l-1.255-8.152A2 2 0 0 1 6.331 8H17.67a2 2 0 0 1 1.977 2.304l-.263 1.708M16 19h6m-3-3v6"/><path d="M9 11V6a3 3 0 0 1 6 0v5"/></g></svg>') no-repeat center / contain;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M12.5 21H8.574a3 3 0 0 1-2.965-2.544l-1.255-8.152A2 2 0 0 1 6.331 8H17.67a2 2 0 0 1 1.977 2.304l-.263 1.708M16 19h6m-3-3v6"/><path d="M9 11V6a3 3 0 0 1 6 0v5"/></g></svg>') no-repeat center / contain;
}

#primary .products .add_to_cart_button.loading>svg {
	opacity: 0;
}

#primary .products .add_to_cart_button.added>svg path {
	fill: var(--wc-red);
}

.product-brand--wrapper {
	max-width: 150px;
}

.product-brand__link {
	display: inline-flex;
}

.product-brand__logo {
	height: auto;
	max-height: 50px;
	max-width: 150px;
}

.product_title__brand {
	display: block;
	font-size: 70%;
	text-transform: uppercase;
}

.product_title__name {
	display: block;
}

.product_title__category {
	display: block;
	font-size: 70%;
}

.bc-login h3,
.bc-login__heading {
	margin-bottom: 20px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	border: 2px solid var(--border-color);
	border-radius: 6px;
}

.woocommerce form .password-input input[type="password"],
.woocommerce-page form .password-input input[type="password"] {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 2.5rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-page form .password-input input[type="password"]:focus {
	box-shadow: 0 0 3px 0 #1183d6;
	/* border-color: #1183d6; */
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.woocommerce form .form-row input.input-text,
.woocommerce-page form .password-input input[type="password"] {
	height: 46px;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
	right: 0;
	top: 0;
	height: 100%;
	border: none;
	background: none;
	padding-left: 10px;
	padding-right: 10px;
}

.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after {
	font-family: WooCommerce;
	margin-left: 0;
	content: "\e010";
}

.woocommerce-password-strength {
	text-align: left;
	font-weight: normal;
	margin-top: 10px;
	padding: 3px .5em;
	font-size: 1rem;
	border-width: 1px;
	border-style: solid;
}

.woocommerce-password-hint {
	line-height: 1.5;
}

#customer_login .u-column1 {
	display: flex;
}

#customer_login .u-column2 {
	display: none;
}

.woocommerce #customer_login form .form-row {
	padding: 0;
	margin-bottom: 6px;
}

.heading-login--register {
	display: none;
}

.bc-login {
	flex: 1;
}

.bc-login--info,
.bc-register--info {
	border: 2px solid #cfc8d8;
	border-radius: 5px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 2.5%;
	padding-right: 2.5%;
}

.bc-login--login,
.bc-login--register {
	border: 2px solid #cfc8d8;
	border-radius: 5px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 2.5%;
	padding-right: 2.5%;
}

.woocommerce form.login,
.woocommerce form.register {
	border: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.heading-login {
	margin-bottom: 1em;
}

.woocommerce-privacy-policy-text p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 1.5em;
}


/* ==========================================================
   WooCommerce custom checkbox styling
   Works with markup where input is inside label
   and text is wrapped in a <span>
   ========================================================== */

.wc-block-components-checkbox {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	line-height: 0;
	text-decoration: inherit;
	text-transform: inherit;
}

/* Base label styling */
.woocommerce-form__label-for-checkbox {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme,
.wc-block-components-checkbox label {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 12px;
	line-height: 20px;
	margin-top: 15px;
	margin-bottom: 25px;
	position: relative;
}

.woocommerce-form__input-checkbox,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	appearance: none;
	background-color: #fff;
	border: 2px solid var(--border-color);
	border-radius: 4px;
	box-sizing: border-box;
	cursor: pointer;
	height: 20px;
	margin: 0;
	min-width: 20px;
	overflow: hidden;
	position: static;
	width: 20px;
}

.woocommerce-form__input-checkbox:focus,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus {
	outline: 1.5px solid hsla(0, 0%, 7%, .8);
	outline-offset: 1.5px;
}

.woocommerce-form__input-checkbox[type="checkbox"]:not(:checked)+.wc-block-components-checkbox__mark {
	display: none;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #000;
	height: 15px;
	margin-left: 3px;
	margin-top: 1px;
	pointer-events: none;
	position: absolute;
	width: 15px;
}

/* Disabled state */
.woocommerce-form__input-checkbox:disabled+span {
	opacity: 0.5;
	cursor: not-allowed;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit {
	float: none;
	margin-right: 0;
	margin-bottom: 10px;
	display: block;
	width: 100%;
	max-width: 180px;
}
