/* ==========================================================================
   Workmed — woocommerce.css
   Generieke WooCommerce-elementen (WooCommerce' eigen CSS is uitgeschakeld):
   notices, formulierrijen, aantal-stepper, sterren, prijzen, badges, laders.
   ========================================================================== */

/* Notices ------------------------------------------------------------------ */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	line-height: 1.5;
	background: var(--c-green-tint);
	color: var(--c-petrol);
	border: 1px solid transparent;
}

.woocommerce-info {
	background: var(--c-sand);
}

.woocommerce-error {
	background: #F7E2DF;
	color: var(--c-red);
	flex-direction: column;
	align-items: flex-start;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	padding: 9px 16px;
	font-size: 14px;
	border-radius: 20px;
	background: var(--c-white);
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button) {
	font-weight: 600;
}

/* Formulieren -------------------------------------------------------------- */

.form-row {
	margin: 0 0 16px;
	padding: 0;
}

.form-row label {
	display: block;
}

.form-row .required {
	color: var(--c-red);
	text-decoration: none;
	border: 0;
}

.form-row .optional {
	color: var(--c-muted);
	font-weight: 500;
}

.form-row-first,
.form-row-last {
	width: calc(50% - 8px);
	float: left;
}

.form-row-last {
	float: right;
}

.form-row-wide,
.clear {
	clear: both;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: var(--c-red);
}

.woocommerce form .form-row.woocommerce-validated input.input-text {
	border-color: var(--c-input);
}

.woocommerce-input-wrapper {
	display: block;
}

.woocommerce-form__label-for-checkbox,
.woocommerce-form__label-for-checkbox span,
label.checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 0;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--c-ink);
	cursor: pointer;
}

.woocommerce-password-strength {
	font-size: 13px;
	margin-top: 6px;
}

.woocommerce-password-hint {
	display: block;
	font-size: 12.5px;
	color: var(--c-muted);
	margin-top: 4px;
}

.password-input {
	position: relative;
	display: block;
}

.show-password-input {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: .55;
}

.show-password-input::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin: auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E3538' stroke-width='1.8'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.show-password-input.display-password {
	opacity: 1;
}

@media (max-width: 767px) {
	.form-row-first,
	.form-row-last {
		width: 100%;
		float: none;
	}
}

/* Select2 (land/provincie) ------------------------------------------------- */

.select2-container .select2-selection--single {
	height: 48px;
	border: 1px solid var(--c-input);
	border-radius: var(--radius-sm);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px;
	padding-left: 16px;
	color: var(--c-text);
	font-size: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 10px;
}

.select2-dropdown {
	border-color: var(--c-input);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--c-green);
}

/* Aantal-stepper ----------------------------------------------------------- */

.quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--c-input);
	border-radius: 28px;
	background: #fff;
	height: 54px;
	padding: 0 6px;
}

.quantity .qty {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	box-shadow: none;
	-moz-appearance: textfield;
}

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

.quantity .qty:focus {
	box-shadow: none;
}

.qty-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--c-petrol);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.qty-btn:hover {
	background: var(--c-sand);
	color: var(--c-green);
}

.quantity--small,
.quantity.is-small {
	height: 44px;
}

.quantity--small .qty-btn,
.quantity.is-small .qty-btn {
	width: 32px;
	height: 32px;
}

/* Verborgen aantal (sold individually) */
.quantity.hidden,
.quantity input[type="hidden"] + .qty-btn {
	display: none;
}

/* Sterren (WooCommerce .star-rating markup) -------------------------------- */

.star-rating {
	position: relative;
	display: inline-block;
	width: 92px;
	height: 17px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
	vertical-align: middle;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.4' height='17' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.2 1.1 5.9L10 15.2l-5.3 2.8 1.1-5.9L1.4 7.9l6-.8L10 1.6z' fill='%23DDD4C4'/%3E%3C/svg%3E") repeat-x 0 0 / 18.4px 17px;
}

.star-rating span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.4' height='17' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.2 1.1 5.9L10 15.2l-5.3 2.8 1.1-5.9L1.4 7.9l6-.8L10 1.6z' fill='%23E8873A'/%3E%3C/svg%3E") repeat-x 0 0 / 18.4px 17px;
	text-indent: -9999px;
}

.star-rating span::before,
.star-rating::before {
	content: none;
}

/* Sterren invoeren in reviewformulier */
p.stars {
	margin: 0 0 16px;
}

p.stars span {
	display: inline-flex;
	gap: 4px;
}

p.stars a {
	position: relative;
	width: 28px;
	height: 28px;
	font-size: 0;
	display: inline-block;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.2 1.1 5.9L10 15.2l-5.3 2.8 1.1-5.9L1.4 7.9l6-.8L10 1.6z' fill='%23DDD4C4'/%3E%3C/svg%3E") no-repeat center / contain;
}

p.stars:hover a,
p.stars.selected a {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.2 1.1 5.9L10 15.2l-5.3 2.8 1.1-5.9L1.4 7.9l6-.8L10 1.6z' fill='%23E8873A'/%3E%3C/svg%3E");
}

p.stars a:hover ~ a,
p.stars.selected a.active ~ a {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.2 1.1 5.9L10 15.2l-5.3 2.8 1.1-5.9L1.4 7.9l6-.8L10 1.6z' fill='%23DDD4C4'/%3E%3C/svg%3E");
}

p.stars.selected a.active,
p.stars.selected a:not(.active) {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.2 1.1 5.9L10 15.2l-5.3 2.8 1.1-5.9L1.4 7.9l6-.8L10 1.6z' fill='%23E8873A'/%3E%3C/svg%3E");
}

/* Prijzen ------------------------------------------------------------------ */

.price {
	color: var(--c-text);
	font-weight: 700;
}

.price del {
	color: var(--c-muted);
	font-weight: 500;
	font-size: .8em;
	margin-right: 6px;
	text-decoration-thickness: 1px;
}

.price ins {
	text-decoration: none;
}

.woocommerce-Price-currencySymbol {
	margin-right: .15em;
}

.onsale {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 5px 12px;
	border-radius: 20px;
	background: var(--c-salmon);
	color: var(--c-petrol);
	font-size: 12px;
	font-weight: 700;
}

.stock {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.stock.in-stock {
	color: var(--c-green);
}

.stock.out-of-stock {
	color: var(--c-red);
}

.stock.available-on-backorder {
	color: #8A4A2E;
}

/* Laders (blockUI) --------------------------------------------------------- */

.blockUI.blockOverlay {
	background: rgba(255, 253, 251, .7) !important;
	opacity: 1 !important;
}

.blockUI.blockOverlay::after,
.loader::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	border: 3px solid var(--c-green-4);
	border-top-color: var(--c-green);
	animation: workmed-spin .8s linear infinite;
}

@keyframes workmed-spin {
	to {
		transform: rotate(360deg);
	}
}

.button.loading,
.btn.loading {
	opacity: .7;
	pointer-events: none;
	position: relative;
}

.button.added::after,
.add_to_cart_button.added::after {
	content: none;
}

a.added_to_cart {
	display: none;
}

/* Paginering --------------------------------------------------------------- */

.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
	height: auto;
}

.woocommerce-pagination ul.page-numbers li {
	border: 0;
}

/* Tabellen (generiek) ------------------------------------------------------ */

.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.shop_table th,
.shop_table td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: middle;
}

.shop_table th {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-body-2);
}

/* Diversen ---------------------------------------------------------------- */

.woocommerce-store-notice,
p.demo_store {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	margin: 0;
	padding: 12px 20px;
	background: var(--c-petrol);
	color: #fff;
	font-size: 14px;
	text-align: center;
}

.woocommerce-store-notice a {
	color: var(--c-salmon);
	margin-left: 10px;
}

.screen-reader-text.woocommerce-loop-product__link {
	position: absolute !important;
}

.wc-block-components-button {
	border-radius: var(--radius-pill);
}

.breadcrumb--wc .breadcrumb__sep {
	margin: 0 8px;
}

.breadcrumb--wc .breadcrumb__item:last-child {
	color: var(--c-text);
	font-weight: 600;
}
