/* ── Floating cart button (FAB) ───────────────────────────────────────────── */
.nasevice-cart-fab {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #1D2328;
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 14px 22px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
	text-decoration: none;
	transition: background .2s;
}
.nasevice-cart-fab:hover {
	background: #3B3F42;
	color: #fff;
	text-decoration: none;
}
.nasevice-cart-count {
	background: #e53935;
	color: #fff;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	font-size: .75rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ── Toast notification ───────────────────────────────────────────────────── */
#nasevice-cart-toast {
	position: fixed;
	bottom: 100px;
	right: 30px;
	background: #1D2328;
	color: #fff;
	padding: 12px 20px;
	border-radius: 6px;
	font-size: .95rem;
	z-index: 10000;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s, transform .3s;
	pointer-events: none;
}
#nasevice-cart-toast.show {
	opacity: 1;
	transform: translateY(0);
}

/* ── Cart page wrapper ────────────────────────────────────────────────────── */
.nasevice-anfrage-cart-wrap {
	max-width: 820px;
	margin: 0 auto;
}

/* ── Cart table ───────────────────────────────────────────────────────────── */
.nasevice-cart-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: .5em;
}
.nasevice-cart-table th,
.nasevice-cart-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: middle;
}
.nasevice-cart-table th {
	background: #f5f5f5;
	font-weight: 600;
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.nasevice-cart-qty {
	width: 64px;
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	text-align: center;
}
.nasevice-cart-remove {
	background: none;
	border: none;
	color: #aaa;
	cursor: pointer;
	font-size: 1.1rem;
	padding: 4px 6px;
	border-radius: 4px;
	transition: color .15s, background .15s;
}
.nasevice-cart-remove:hover {
	color: #c00;
	background: #ffeaea;
}

/* ── Form sections ────────────────────────────────────────────────────────── */
.nasevice-cart-section {
	margin-top: 2em;
	margin-bottom: .5em;
}
.nasevice-cart-section h3 {
	font-size: 1.1rem;
	margin-bottom: 1em;
	padding-bottom: 8px;
	border-bottom: 2px solid #1D2328;
}

/* ── Form grid ────────────────────────────────────────────────────────────── */
.nasevice-cart-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 14px;
}
.nasevice-cart-row.full {
	grid-template-columns: 1fr;
}
.nasevice-cart-field label {
	display: block;
	font-weight: 600;
	font-size: .88rem;
	margin-bottom: 5px;
}
.nasevice-cart-field input[type="text"],
.nasevice-cart-field input[type="email"],
.nasevice-cart-field input[type="tel"],
.nasevice-cart-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color .15s;
}
.nasevice-cart-field input:focus,
.nasevice-cart-field textarea:focus {
	outline: none;
	border-color: #1D2328;
}
.nasevice-cart-field textarea {
	height: 120px;
	resize: vertical;
}

/* ── Lieferung radio ──────────────────────────────────────────────────────── */
.nasevice-lieferung-options {
	display: flex;
	gap: 24px;
	margin-bottom: 12px;
}
.nasevice-lieferung-options label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 500;
}
.nasevice-lieferung-options input[type="radio"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* ── Submit area ──────────────────────────────────────────────────────────── */
.nasevice-cart-submit {
	margin-top: 1.5em;
	padding: 12px 32px !important;
	font-size: 1rem !important;
}
#nasevice-cart-error {
	color: #c00;
	margin-top: 10px;
	font-size: .95rem;
}

/* ── Empty cart ───────────────────────────────────────────────────────────── */
.nasevice-cart-empty {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}
.nasevice-cart-empty p {
	font-size: 1.1rem;
	margin-bottom: 1.5em;
}

/* ── Loop: Anfrage-Button unter dem normalen Warenkorb-Button ─────────────── */
.nasevice-anfrage-btn,
.nasevice-anfrage-add-btn {
	margin-top: 6px;
	display: block;
	width: 100%;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
	.nasevice-cart-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.nasevice-cart-fab {
		bottom: 16px;
		right: 16px;
		font-size: .9rem;
		padding: 12px 18px;
	}
	#nasevice-cart-toast {
		right: 16px;
		bottom: 90px;
		font-size: .85rem;
	}
}
