/*
 * Landera Product Specifications
 * Applies only inside .landera-product-specifications on WooCommerce product pages.
 */

.single-product .landera-product-specifications table {
	width: 100%;
	margin: 16px 0 26px;
	border: 1px solid #d8dfd9;
	border-top: 3px solid #526d58;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 5px;
	overflow: hidden;
	background: #ffffff;
	font-size: 0.95em;
}

.single-product .landera-product-specifications table th,
.single-product .landera-product-specifications table td {
	padding: 9px 13px;
	border: 0;
	border-bottom: 1px solid #e7ebe7;
	vertical-align: middle;
	line-height: 1.35;
}

.single-product .landera-product-specifications table tr:last-child th,
.single-product .landera-product-specifications table tr:last-child td {
	border-bottom: 0;
}

/* Standard two-column details table. */
.single-product .landera-product-specifications table th {
	width: 42%;
	color: #304635;
	background: #f3f7f2;
	border-right: 1px solid #e1e7e1;
	font-weight: 650;
	text-align: left;
	letter-spacing: 0.01em;
}

.single-product .landera-product-specifications table td {
	color: #252b26;
	background: #ffffff;
	font-weight: 500;
}

.single-product .landera-product-specifications table tr:hover th {
	background: #eaf1e9;
}

.single-product .landera-product-specifications table tr:hover td {
	background: #fbfdfb;
}

/* Four-column technical tables. */
.single-product .landera-product-specifications #shed-dimensions-table + table,
.single-product .landera-product-specifications #delivery-package-dimensions + table {
	table-layout: fixed;
}

.single-product .landera-product-specifications #shed-dimensions-table + table thead th,
.single-product .landera-product-specifications #delivery-package-dimensions + table thead th {
	width: auto;
	padding: 8px 10px;
	border-right: 1px solid rgba(255, 255, 255, 0.22);
	border-bottom: 0;
	background: #526d58;
	color: #ffffff;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.015em;
	text-align: center;
	white-space: nowrap;
}

.single-product .landera-product-specifications #shed-dimensions-table + table thead th:first-child {
	width: 30%;
	text-align: left;
}

.single-product .landera-product-specifications #delivery-package-dimensions + table thead th:first-child {
	width: 33%;
	text-align: left;
}

.single-product .landera-product-specifications #shed-dimensions-table + table thead th:last-child,
.single-product .landera-product-specifications #delivery-package-dimensions + table thead th:last-child {
	border-right: 0;
}

.single-product .landera-product-specifications #shed-dimensions-table + table tbody td:first-child,
.single-product .landera-product-specifications #delivery-package-dimensions + table tbody td:first-child {
	color: #304635;
	background: #f3f7f2;
	font-weight: 650;
	text-align: left;
}

.single-product .landera-product-specifications #shed-dimensions-table + table tbody td:not(:first-child),
.single-product .landera-product-specifications #delivery-package-dimensions + table tbody td:not(:first-child) {
	color: #252b26;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
}

.single-product .landera-product-specifications #delivery-package-dimensions + table tbody tr:last-child td {
	border-bottom: 1px solid #c9d6ca;
}

/* Delivery-package gross-weight footer. */
.single-product .landera-product-specifications #delivery-package-dimensions + table tfoot td {
	padding: 8px 10px;
	border: 0;
	background: #edf4ed;
	color: #304635;
	font-size: 0.9rem;
}

.single-product .landera-product-specifications #delivery-package-dimensions + table tfoot td:first-child {
	text-align: left;
	font-weight: 650;
	white-space: nowrap;
}

.single-product .landera-product-specifications #delivery-package-dimensions + table tfoot td:nth-child(2) {
	color: #263d30;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

@media screen and (max-width: 600px) {
	/* Standard two-column details tables become compact labelled blocks. */
	.single-product .landera-product-specifications table,
	.single-product .landera-product-specifications table tbody,
	.single-product .landera-product-specifications table tr,
	.single-product .landera-product-specifications table th,
	.single-product .landera-product-specifications table td {
		display: block;
		width: 100%;
	}

	.single-product .landera-product-specifications table {
		margin: 14px 0 22px;
		border-top-width: 3px;
		border-radius: 5px;
		font-size: 1em;
	}

	.single-product .landera-product-specifications table tr {
		padding: 9px 13px;
		border-bottom: 1px solid #e7ebe7;
	}

	.single-product .landera-product-specifications table tr:last-child {
		border-bottom: 0;
	}

	.single-product .landera-product-specifications table th,
	.single-product .landera-product-specifications table td {
		padding: 0;
		border: 0;
		background: transparent;
	}

	.single-product .landera-product-specifications table th {
		margin-bottom: 2px;
		color: #58705c;
		font-size: 0.82rem;
		font-weight: 700;
		letter-spacing: 0.025em;
	}

	.single-product .landera-product-specifications table td {
		color: #263329;
		font-size: 0.98rem;
		font-weight: 600;
	}

	/* Technical tables remain tables and can be swiped horizontally. */
	.single-product .landera-product-specifications #shed-dimensions-table + table,
	.single-product .landera-product-specifications #delivery-package-dimensions + table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-spacing: 0;
	}

	.single-product .landera-product-specifications #shed-dimensions-table + table thead,
	.single-product .landera-product-specifications #shed-dimensions-table + table tbody,
	.single-product .landera-product-specifications #delivery-package-dimensions + table thead,
	.single-product .landera-product-specifications #delivery-package-dimensions + table tbody,
	.single-product .landera-product-specifications #delivery-package-dimensions + table tfoot {
		display: table;
		width: 520px;
		table-layout: fixed;
	}

	.single-product .landera-product-specifications #shed-dimensions-table + table tr,
	.single-product .landera-product-specifications #delivery-package-dimensions + table tr {
		display: table-row;
		padding: 0;
		border: 0;
	}

	.single-product .landera-product-specifications #shed-dimensions-table + table th,
	.single-product .landera-product-specifications #shed-dimensions-table + table td,
	.single-product .landera-product-specifications #delivery-package-dimensions + table th,
	.single-product .landera-product-specifications #delivery-package-dimensions + table td {
		display: table-cell;
		width: auto;
		padding: 8px 10px;
		border-bottom: 1px solid #e7ebe7;
	}

	.single-product .landera-product-specifications #shed-dimensions-table + table thead th,
	.single-product .landera-product-specifications #delivery-package-dimensions + table thead th {
		border-bottom: 0;
	}

	.single-product .landera-product-specifications #shed-dimensions-table + table tbody td,
	.single-product .landera-product-specifications #delivery-package-dimensions + table tbody td,
	.single-product .landera-product-specifications #delivery-package-dimensions + table tfoot td {
		font-size: 0.9rem;
	}
}
