/* Zestaw (inc/iltom-zestaw.php) */

.iltom-set-form .iltom-set-variation .woocommerce-variation-price,
.iltom-set-form .iltom-set-variation .woocommerce-variation-description {
	display: none !important;
}

.iltom-set-addons {
	margin: 20px 0 25px;
}

.iltom-set-addons__title {
	margin: 0 0 12px;
	font-weight: 500;
	color: #111;
}

.iltom-set-addons__counter {
	margin-left: 4px;
	color: #999;
	font-weight: 400;
}

.iltom-set-complete .iltom-set-addons__counter {
	color: #3a9a4f;
}

.iltom-set-addons__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

@media (min-width: 768px) {
	.iltom-set-addons__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.iltom-set-addon {
	position: relative;
	border: 2px solid #eee;
	border-radius: 6px;
	padding: 6px;
	text-align: center;
	background: #fff;
	transition: border-color .2s, opacity .2s;
}

.iltom-set-addon label {
	display: block;
	margin: 0;
	cursor: pointer;
}

.iltom-set-addon input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.iltom-set-addon__image {
	display: block;
}

.iltom-set-addon__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 4px;
}

.iltom-set-addon__name {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.3;
	color: #111;
}

.iltom-set-addon.is-selected {
	border-color: #111;
}

.iltom-set-addon.is-selected:not(:has(.iltom-set-addon__stepper))::after {
	content: "✓";
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 12px;
	line-height: 20px;
}

.iltom-set-addon.is-locked,
.iltom-set-addon.is-disabled {
	opacity: .45;
}

.iltom-set-addon.is-locked label,
.iltom-set-addon.is-disabled label {
	cursor: not-allowed;
}

.iltom-set-addon__stock {
	display: block;
	font-size: 11px;
	color: #c00;
}

.iltom-set-addon__stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 6px;
}

.iltom-set-addon__stepper button {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 16px;
	line-height: 26px;
	min-width: 0;
}

.iltom-set-addon__stepper button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.iltom-set-addon__qty {
	min-width: 16px;
	font-weight: 500;
}

.iltom-set-addons__error {
	margin: 10px 0 0;
	color: #c00;
	font-size: 14px;
}

.iltom-set-form .single_add_to_cart_button {
	width: 100%;
}
