/* Dallas — komponent ilości produktu. */
.single-product form.cart .quantity,
.single-product form.cart .single_add_to_cart_button {
	display: none !important;
}

.woocommerce ul.products li.product .ct-woo-card-actions[data-alignment="equal"],
.dallas-carousel .ct-woo-card-actions[data-alignment="equal"] {
	width: 100%;
}

.dcc {
	position: relative;
	width: 100%;
}

.single-product .dcc {
	max-width: 420px;
}

.dallas-qv2-cart .dcc {
	max-width: 100%;
}

.dcc-add,
.dcc-controls {
	width: 100%;
	min-height: 48px;
	overflow: hidden;
	border-radius: 24px;
	transition: all .18s ease;
}

.dcc-add {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: none;
	border-radius: 24px;
	background: #d65114;
	color: #ffc105;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	transition: background .18s ease, color .18s ease, transform .12s ease;
}

.dcc-add:hover {
	background: #ffc105;
	color: #d65114;
}

.dcc-add:active {
	transform: scale(.985);
}

.dcc-controls {
	display: flex;
	align-items: center;
	background: #d65114;
}

.dcc-minus,
.dcc-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	min-width: 52px;
	height: 48px;
	background: #d65114;
	color: #ffc105;
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	transition: background .18s ease, color .18s ease;
}

.dcc-minus {
	border-right: 1px solid rgba(255, 255, 255, .35);
}

.dcc-plus {
	border-left: 1px solid rgba(255, 255, 255, .35);
}

.dcc-minus:hover,
.dcc-plus:hover {
	background: #ffc105;
	color: #d65114;
}

.dcc-minus svg,
.dcc-plus svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.dcc-input {
	flex: 1;
	height: 48px;
	padding: 0;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: #d65114;
	color: #ffc105;
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	appearance: textfield;
	cursor: text;
	transition: background .18s ease, color .18s ease;
}

.dcc-input:hover,
.dcc-input:focus {
	background: #ffc105;
	color: #d65114;
}

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

.dcc-input::selection {
	background: rgba(255, 255, 255, .25);
}

.dcc-disabled {
	opacity: .45;
	pointer-events: none;
	cursor: not-allowed;
}

.dcc-spinner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 24px;
	background: #d65114;
}

.dcc-spinner::after {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #ffc105;
	border-radius: 50%;
	content: "";
	animation: dcc-spin .6s linear infinite;
}

.dcc[aria-busy="true"] {
	min-height: 48px;
	border-radius: 24px;
	background: #d65114;
}

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

@media (max-width: 767px) {
	.dcc-add,
	.dcc-controls {
		min-height: 38px;
		border-radius: 19px;
	}

	.dcc-add {
		padding: 0 10px;
		font-size: 13px;
	}

	.dcc-minus,
	.dcc-plus {
		width: 32px;
		min-width: 32px;
		height: 38px;
	}

	.dcc-input {
		min-width: 36px;
		height: 38px;
		font-size: 14px;
	}

	.dcc-minus svg,
	.dcc-plus svg {
		width: 14px;
		height: 14px;
	}

	.dcc[aria-busy="true"] {
		min-height: 38px;
		border-radius: 19px;
	}
}
