/* Main Wrapper */
.angie-size-guide-wrapper {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	text-align: center;
	transition: all 0.3s ease;
}

/* Heading */
.angie-sg-heading {
	margin-bottom: 30px;
	padding: 0;
}

/* Table Responsive Wrapper */
.angie-sg-table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	border-radius: 8px; /* Optional rounded inner corners */
}

/* Table Styles */
.angie-sg-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	margin-bottom: 0;
	border-radius: 8px;
	overflow: hidden;
}

.angie-sg-table th,
.angie-sg-table td {
	padding: 15px 20px;
	text-align: center;
	border-bottom: 1px solid #eee0e5; /* default border color, overridden by controls */
	font-size: 15px;
	line-height: 1.4;
}

.angie-sg-table th {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-top: none;
	white-space: nowrap;
}

.angie-sg-table th:first-child {
	border-top-left-radius: 8px;
}

.angie-sg-table th:last-child {
	border-top-right-radius: 8px;
}

.angie-sg-table tr:last-child td {
	border-bottom: none;
}

.angie-sg-table tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

.angie-sg-table tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

/* Footer Text */
.angie-sg-footer {
	margin-top: 20px;
	font-style: italic;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 767px) {
	.angie-size-guide-wrapper {
		padding: 20px !important;
	}

	.angie-sg-table thead {
		display: none; /* Hide header on mobile for stacking if needed, or keep scroll */
	}

	/* Alternative Card View for Mobile (Optional - comment out if horizontal scroll preferred) */
	/* 
	.angie-sg-table, .angie-sg-table tbody, .angie-sg-table tr, .angie-sg-table td {
		display: block;
		width: 100%;
	}

	.angie-sg-table tr {
		margin-bottom: 20px;
		border: 1px solid #eee;
		border-radius: 8px;
		overflow: hidden;
	}

	.angie-sg-table td {
		text-align: right;
		padding-left: 50%;
		position: relative;
		border-bottom: 1px solid #eee;
	}

	.angie-sg-table td::before {
		content: attr(data-label);
		position: absolute;
		left: 15px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		text-align: left;
		font-weight: bold;
	} 
	*/
	
	/* For this specific design, horizontal scroll is often more elegant than stacking */
	.angie-sg-table th, 
	.angie-sg-table td {
		padding: 12px 10px;
		font-size: 14px;
	}
}
