/* Size Chart Dialog Styling */
.size-chart {
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
	width: 85rem;
	height: 50rem;
    border: none;
    background: #fff;
    padding: 0;
	flex-direction: column;
	margin: auto
}

.size-chart__scrollable{
	width: 100%;
	height: 100%;
	overflow-y: auto;
	padding: 1rem;
}


.size-chart__tabs-content, .size-chart__tab-left, .size-chart__tab-right {
    overflow: hidden;       
    display: flex;           
    flex-direction: column; 
	height: 100%;	
}


/* Top Section (Title and Close Button) */
.size-chart__top {
    display: flex;
    justify-content: space-between;
	gap: 1rem;
    align-items: center;
    padding: 1rem;
	background-color: var(--colorNeutral--96);
}

.size-chart__title {
    font-family: "Fraunces", serif;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--colorNeutral--10);
	font-size: 1.75rem;
	margin-bottom: 0.25rem;
}

.size-chart__close {
    border: none;
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
    cursor: pointer;
    color: var(--colorNeutral--10);
    transition: 200ms var(--bezierMain);
	border-radius: 999px;
	min-width: 2.5rem;
	min-height: 2.5rem;
	background-color: transparent;
}

.size-chart__close:hover {
    color: var(--colorBlack);
	background-color: var(--colorNeutral--89);
}

/* Tab Selector */
.size-chart__tab-selector {
    display: flex;
    background-color: var(--colorNeutral--96);
	padding: 0 1rem;
}

.size-chart__tab-btn {
    flex: 1;
    padding: 0.75rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
	color: var(--colorNeutral--15);
	white-space: nowrap;
    transition: background 0.2s, color 0.2s;
	max-width: fit-content;
}

.size-chart__tab-btn:hover{
	background-color: rgba(255,255,255,0.75);
	color: var(--colorNeutral--10);
}

.size-chart__tab-btn.active{
    background: #fff;
	color: var(--colorNeutral--10);
}

/* Tabs Content */
.size-chart__tab-left,
.size-chart__tab-right {
    display: none;
}

/* Size Chart Table */
.size-chart__table {
    width: 100%;
    border-collapse: collapse;
	table-layout: fixed;
}

.size-chart__table th,
.size-chart__table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--colorNeutral--89);
}

.size-chart__table th {
    background: var(--colorNeutral--96);
    font-weight: 600;
    color: var(--colorNeutral--10)
}

.size-chart__table tr:nth-child(even){
	background: rgba(0,0,0,0.02);
}

.size-chart__help-text {
	padding: 1rem;
	border-top: 1px solid var(--colorNeutral--89);
}

/* Measurement Section */
.size-chart__tab-right .size-chart__scrollable{
	flex-direction: row;
	gap: 3rem;
	align-items: center;
	display: flex;
}

.size-chart__measurement-img {
    height: 100%;
    width: auto;
    display: block;
}

.size-chart__measurement-text {

}