/* RFC product specs table - matches crodev ndv-product-specs-table / Elementor 42958 look */

.rfc-product-specs-box {
	background: #f1f1f1;
	border-radius: 8px;
	padding: 30px 10px;
	width: 100%;
	box-sizing: border-box;
}

.rfc-product-specs-table,
table.rfc-product-specs-table.ndv-product-specs-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	background: transparent;
}

.rfc-product-specs-table th,
.rfc-product-specs-table td,
table.rfc-product-specs-table.ndv-product-specs-table th,
table.rfc-product-specs-table.ndv-product-specs-table td {
	padding: 10px;
	text-align: left;
	vertical-align: middle;
	border: none;
	background: transparent;
	font-size: 14.4px;
	line-height: 1.4;
}

.rfc-product-specs-table th,
table.rfc-product-specs-table.ndv-product-specs-table th {
	font-weight: 600;
	width: 40%;
	color: #000;
}

.rfc-product-specs-table td,
table.rfc-product-specs-table.ndv-product-specs-table td {
	font-weight: 500;
	color: #262626;
}

.rfc-product-specs-table .rfc-geo-availability strong,
.rfc-product-specs-table .nd-geo-availability strong {
	font-weight: 700;
}

.rfc-product-specs-table tr[data-rfc-spec="delivery_zone"] td {
	color: #262626;
}

/* Hide empty rows if JS clears a value after variation change */
.rfc-product-specs-table tr.rfc-spec-row.is-empty {
	display: table-row;
}

.rfc-product-specs-table tr.rfc-spec-row.is-empty[data-rfc-spec="warranty"] {
	display: none;
}

/* Avoid empty grey box before variation data is filled */
.rfc-product-specs-box.is-empty-box {
	display: none;
}

@media (max-width: 767px) {
	.rfc-product-specs-box {
		padding: 20px 8px;
	}
}
.elementor-widget-shortcode:has(.nd-delivery-time[data-rfc-wait-variation="1"]:empty) {
	display: none;
}

.nd-delivery-time.is-prompt {
	color: #6b7280;
	font-style: italic;
}

.nd-delivery-time.is-loading::before {
	content: "";
	display: inline-block;
	width: 0.85em;
	height: 0.85em;
	margin-right: 0.45em;
	border: 2px solid #e5e7eb;
	border-top-color: #f6881f;
	border-radius: 50%;
	vertical-align: -0.15em;
	animation: rfc-delivery-spin 0.7s linear infinite;
}

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

.rfc-product-specs-table tr.rfc-spec-row.is-empty[data-rfc-spec="article_no"] { display: none; }
