/* Košarica, blagajna in stranska košarica: pisava Noto Sans, gumbi s prelivom #000000 → #3533CD */

/* Oranžna barva teme Astra samo v vsebini košarice in blagajne (glava in noga ostaneta) */
body.woocommerce-cart #content,
body.woocommerce-checkout #content {
	--ast-global-color-3: #1B1A44;
	--e-global-color-astglobalcolor3: #1B1A44;
}

/* Vsa pisava v košarici, na blagajni in v stranski košarici */
body.woocommerce-cart #content,
body.woocommerce-cart #content h1,
body.woocommerce-cart #content h2,
body.woocommerce-cart #content h3,
body.woocommerce-cart #content .entry-title,
body.woocommerce-cart #content input,
body.woocommerce-cart #content select,
body.woocommerce-cart #content textarea,
body.woocommerce-cart #content label,
body.woocommerce-checkout #content,
body.woocommerce-checkout #content h1,
body.woocommerce-checkout #content h2,
body.woocommerce-checkout #content h3,
body.woocommerce-checkout #content .entry-title,
body.woocommerce-checkout #content input,
body.woocommerce-checkout #content select,
body.woocommerce-checkout #content textarea,
body.woocommerce-checkout #content label,
body.woocommerce-checkout #content .select2-container,
body .astra-cart-drawer,
body .astra-cart-drawer h2,
body .astra-cart-drawer .astra-cart-drawer-title,
body .astra-cart-drawer input {
	font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
}

/* Gumbi: enaka velikost, pisava Noto Sans, bela pisava na prelivu */
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button,
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button.checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 46px;
	min-width: 220px;
	width: auto;
	padding: 0 24px;
	margin: 0;
	background-color: #1B1A66;
	background-image: linear-gradient(90deg, #000000 0%, #3533CD 50%, #000000 100%);
	background-size: 200% 100%;
	background-position: 0% 50%;
	color: #ffffff;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0.3px;
	text-shadow: none;
	opacity: 1;
	transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce a.button:focus,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce button.button:focus,
body.woocommerce-cart .woocommerce input.button:hover,
body.woocommerce-cart .woocommerce input.button:focus,
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce a.button:focus,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce button.button:focus,
body.woocommerce-checkout .woocommerce input.button:hover,
body.woocommerce-checkout .woocommerce input.button:focus,
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button:hover,
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button:focus,
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button.checkout:hover,
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button.checkout:focus {
	background-color: #1B1A66;
	background-position: 100% 50%;
	color: #ffffff;
	border-color: transparent;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(53, 51, 205, 0.25);
}

/* Gumbi v stranski košarici drug pod drugim, čez celo širino */
body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.button {
	width: 100%;
	min-width: 0;
}

/* »Posodobi košarico« je enako intenziven tudi, ko je neaktiven */
body.woocommerce-cart .woocommerce button.button:disabled,
body.woocommerce-cart .woocommerce button.button:disabled[disabled],
body.woocommerce-cart .woocommerce button.button:disabled:hover {
	opacity: 1;
	color: #ffffff;
	background-color: #1B1A66;
	background-image: linear-gradient(90deg, #000000 0%, #3533CD 50%, #000000 100%);
	background-position: 0% 50%;
	transform: none;
	box-shadow: none;
	cursor: default;
}

/* »Nadaljuj na zaključek nakupa« in »Kupite sedaj«: enaka velikost kot ostali gumbi, desno */
body.woocommerce-cart .wc-proceed-to-checkout {
	text-align: right;
	padding: 1em 0 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	width: auto;
	font-size: 15px;
	padding: 0 24px;
	margin: 0;
}

body.woocommerce-checkout .woocommerce #payment #place_order {
	float: right;
	width: auto;
	font-size: 15px;
	padding: 0 24px;
}

/* Ime izdelka oranžno (v košarici je navadno besedilo, ne povezava) */
body.woocommerce-cart .woocommerce table.shop_table td.product-name,
body.woocommerce-cart .woocommerce table.shop_table td.product-name a,
body.woocommerce-checkout .woocommerce table.shop_table td.product-name,
body .astra-cart-drawer .woocommerce-mini-cart-item a:not(.remove) {
	color: #FF4D13;
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-cart .woocommerce table.shop_table td.product-name a:hover,
body.woocommerce-cart .woocommerce table.shop_table td.product-name a:focus {
	color: #FF4D13;
	text-decoration: underline;
}

/* Oznake pred vrednostmi na telefonu (»Izdelek:«, »Cena:« …) ostanejo sivo vijolične */
body.woocommerce-cart .woocommerce table.shop_table_responsive tr td::before {
	color: #58587C;
}

/* Količina in cene na blagajni ostanejo v barvi besedila */
body.woocommerce-checkout .woocommerce table.shop_table td.product-name .product-quantity {
	color: #58587C;
	font-weight: 500;
}

/* Tabela košarice: cene in glava sivo vijolične */
body.woocommerce-cart .woocommerce table.shop_table thead th,
body.woocommerce-cart .woocommerce .cart_totals table.shop_table th {
	color: #58587C;
}

body.woocommerce-cart .woocommerce table.shop_table td.product-price,
body.woocommerce-cart .woocommerce table.shop_table td.product-price .amount,
body.woocommerce-cart .woocommerce table.shop_table td.product-subtotal,
body.woocommerce-cart .woocommerce table.shop_table td.product-subtotal .amount,
body.woocommerce-cart .woocommerce .cart_totals td,
body.woocommerce-cart .woocommerce .cart_totals td .amount {
	color: #58587C;
}

body.woocommerce-cart .woocommerce .cart_totals .order-total td .amount {
	font-weight: 700;
}

/* × (odstrani izdelek): siv, ob prehodu bel na sivem krogu */
body.woocommerce-cart .woocommerce table.shop_table a.remove {
	color: #58587C !important;
	background: transparent;
	border-radius: 50%;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-cart .woocommerce table.shop_table a.remove:hover,
body.woocommerce-cart .woocommerce table.shop_table a.remove:focus {
	color: #ffffff !important;
	background: #58587C;
}

/* Polje za kupon */
body.woocommerce-cart .woocommerce .coupon input.input-text,
body.woocommerce-checkout .woocommerce form.checkout_coupon input.input-text {
	min-height: 46px;
	border: 1px solid #D6EFEE;
	border-radius: 8px;
}

body.woocommerce-cart .woocommerce .coupon input.input-text:focus,
body.woocommerce-checkout .woocommerce form.checkout_coupon input.input-text:focus {
	border-color: #5DCCC6;
	outline: none;
	box-shadow: 0 0 0 3px rgba(93, 204, 198, 0.2);
}

/* Obvestila */
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .cart-empty,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
	background-color: #E7F7F6;
	border-top-color: #5DCCC6;
	color: #1B1A44;
}

body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before {
	color: #5DCCC6;
}

/* Telefon: gumbi čez celo širino */
@media (max-width: 544px) {
	body.woocommerce-cart .woocommerce a.button,
	body.woocommerce-cart .woocommerce button.button,
	body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
	body.woocommerce-checkout .woocommerce a.button,
	body.woocommerce-checkout .woocommerce button.button,
	body.woocommerce-checkout .woocommerce #payment #place_order {
		display: flex;
		float: none;
		width: 100%;
		min-width: 0;
	}
}
