/* Dallas — mini-koszyk, konto i modal czyszczenia. */
.ct-cart-content .woocommerce-mini-cart__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ct-cart-content .woocommerce-mini-cart__buttons .button {
	display: flex;
	flex: 1 1 calc(50% - 5px);
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 8px;
	background: #d65114;
	color: #ffc105;
	transition: .25s;
}

.ct-cart-content .woocommerce-mini-cart__buttons .button:hover {
	background: #ffc105;
	color: #d65114;
}

.ct-account-login-submit,
.ct-account-register-submit {
	background: #d65114;
	color: #ffc105;
}

.ct-account-login-submit:hover,
.ct-account-register-submit:hover {
	background: #ffc105;
	color: #d65114;
}

.ct-cart-content .dallas-clear-cart-button {
	flex: 1 1 100%;
	margin-top: 2px;
	border: 2px solid #d65114;
	background: transparent;
	color: #d65114;
}

.ct-cart-content .dallas-clear-cart-button:hover {
	border-color: #ffc105;
	background: #ffc105;
	color: #d65114;
}

.dallas-clear-cart-wrap {
	margin-top: 10px;
}

.dallas-clear-cart-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 2px solid #d65114;
	background: transparent;
	color: #d65114;
}

.dallas-clear-cart-button:hover {
	background: #d65114;
	color: #ffc105;
}

/* Pełna strona koszyka: akcje zawartości bez pola kuponu. */
.woocommerce-cart-form .actions .coupon {
	display: none !important;
}

.woocommerce-cart-form .actions button[name="update_cart"] {
	float: right;
	width: auto;
	white-space: nowrap;
}

.woocommerce-cart-form .actions .dallas-clear-cart-page-button {
	display: inline-flex;
	float: left;
	width: auto;
	margin: 0;
	padding-inline: 24px;
	white-space: nowrap;
}

@media (max-width: 520px) {
	.woocommerce-cart-form .actions button[name="update_cart"],
	.woocommerce-cart-form .actions .dallas-clear-cart-page-button {
		width: auto;
		padding-inline: 16px;
	}
}

.dallas-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .6);
	backdrop-filter: blur(4px);
}

.dallas-modal {
	width: min(420px, calc(100% - 40px));
	padding: 28px;
	border-radius: 12px;
	background: #f7f6f0;
	box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
	text-align: center;
}

.dallas-modal h3 {
	margin: 0 0 14px;
	color: #d65114;
	font-size: 30px;
	font-weight: 700;
}

.dallas-modal p {
	margin: 0;
	color: #555;
	font-size: 17px;
	line-height: 1.6;
}

.dallas-modal-buttons {
	display: flex;
	gap: 12px;
	margin-top: 28px;
}

.dallas-modal-buttons button {
	flex: 1;
	height: 46px;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	transition: .25s;
}

.dallas-modal-cancel {
	background: #ececec;
	color: #444;
}

.dallas-modal-cancel:hover {
	background: #d8d8d8;
}

.dallas-modal-confirm {
	background: #d65114;
	color: #ffc105;
}

.dallas-modal-confirm:hover {
	background: #ffc105;
	color: #d65114;
}
