/* ==========================================================================
   WooCommerce: archive (shop) + single product
   ========================================================================== */

/* Remove default Storefront page chrome on shop screens */
.sc-woo-main { padding: 0 0 60px; }

/* --- Breadcrumb --- */
.woocommerce-breadcrumb,
.sc-breadcrumb {
	font-size: 12px;
	color: #999;
	padding: 16px 0 10px;
	margin: 0;
	letter-spacing: 0.01em;
}

.woocommerce-breadcrumb a,
.sc-breadcrumb a { color: #999; }
.woocommerce-breadcrumb a:hover,
.sc-breadcrumb a:hover { color: #000; }

.woocommerce-breadcrumb .sep,
.sc-breadcrumb .sep { margin: 0 6px; color: #ccc; }

/* --- Archive layout --- */
.sc-shop-layout {
	display: grid;
	grid-template-columns: 276px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

/* No filter widgets registered -> single column, full width. */
.sc-shop-layout--full { grid-template-columns: minmax(0, 1fr); }

.sc-shop-main { min-width: 0; }

.sc-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid #eee;
	padding-bottom: 14px;
	margin-bottom: 26px;
}

.sc-shop-count,
.woocommerce-result-count {
	font-size: 13px;
	color: #777;
	margin: 0;
}

.sc-shop-filters-toggle {
	display: none;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	color: #000;
}

.woocommerce-ordering { margin: 0; }

.woocommerce-ordering select {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 0;
	padding: 9px 34px 9px 12px;
	font-size: 13px;
	color: #333;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 11px;
	cursor: pointer;
}

/* --- Sidebar filters --- */
.sc-filters { font-size: 13px; }

.sc-filter-widget {
	border-bottom: 1px solid #eee;
	padding: 0 0 22px;
	margin-bottom: 22px;
}

.sc-filter-widget__title {
	font-family: var(--sc-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #000;
	margin: 0 0 14px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sc-filter-widget__title::after {
	content: "";
	width: 9px;
	height: 9px;
	border-right: 1.5px solid #000;
	border-bottom: 1.5px solid #000;
	transform: rotate(45deg) translateY(-3px);
}

.sc-filter-widget.is-open .sc-filter-widget__title::after {
	transform: rotate(-135deg) translateY(-3px);
}

.sc-filter-list { list-style: none; margin: 0; padding: 0; }

.sc-filter-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 0;
	color: #555;
}

.sc-filter-list li label {
	display: flex;
	align-items: center;
	gap: 9px;
	cursor: pointer;
	margin: 0;
	flex: 1;
}

.sc-filter-list input[type="checkbox"] {
	appearance: none;
	width: 15px;
	height: 15px;
	border: 1px solid #ccc;
	border-radius: 2px;
	margin: 0;
	cursor: pointer;
	position: relative;
	background: #fff;
	flex: 0 0 auto;
}

.sc-filter-list input[type="checkbox"]:checked {
	background: #000;
	border-color: #000;
}

.sc-filter-list input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.sc-filter-list .count { color: #aaa; font-size: 12px; }

/* Price slider */
.sc-price-range {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 12px;
	color: #555;
}

.sc-price-range input[type="text"] {
	width: 66px;
	height: 34px;
	border: 1px solid #e2e2e2;
	text-align: center;
	font-size: 12px;
	padding: 0 4px;
}

.sc-price-slider {
	position: relative;
	height: 3px;
	background: #e6e6e6;
	margin: 20px 4px 8px;
}

.sc-price-slider__fill {
	position: absolute;
	height: 100%;
	background: #000;
	top: 0;
}

.sc-price-slider__handle {
	position: absolute;
	top: 50%;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #000;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

/* --- Product grid --- */
.sc-shop-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* WooCommerce core clearfix pseudo-elements occupy grid cells (::before
   steals the first cell so row one shows one card short). */
.sc-shop-grid::before,
.sc-shop-grid::after { content: none !important; display: none !important; }

.sc-shop-grid .sc-product__title { min-height: 3.2em; font-size: 13px; }

/* Pagination */
.woocommerce-pagination,
.sc-pagination { margin-top: 44px; text-align: center; }

.woocommerce-pagination ul,
.sc-pagination ul {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.sc-pagination a,
.sc-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	font-size: 13px;
	color: #333;
	border: 1px solid #e6e6e6;
	background: #fff;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover,
.sc-pagination .current {
	background: #000;
	border-color: #000;
	color: #fff;
}

/* ==========================================================================
   Single product
   ========================================================================== */

.sc-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 785px) 377px;
	gap: 30px;
	align-items: start;
	justify-content: center;
	margin-top: 10px;
}

/* Gallery: thumbs left, main right */
.sc-gallery {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 16px;
	position: relative;
}

.sc-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 700px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.sc-gallery__thumb {
	border: 1px solid transparent;
	cursor: pointer;
	padding: 0;
	background: none;
	line-height: 0;
	flex: 0 0 auto;
}

.sc-gallery__thumb.is-active { border-color: #000; }

.sc-gallery__thumb img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	background: #f6f6f6;
}

.sc-gallery__main { position: relative; overflow: hidden; background: #f6f6f6; }

.sc-gallery__main img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	display: block;
}

.sc-gallery__nav {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 92px;
	display: flex;
	justify-content: space-between;
	gap: 4px;
	z-index: 5;
}

.sc-gallery__nav button {
	width: 42px;
	height: 34px;
	background: #fff;
	border: 1px solid #eaeaea;
	color: #333;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 0;
}

.sc-gallery__nav button:hover { background: #f7f7f7; }
.sc-gallery__nav svg { width: 13px; height: 13px; fill: #333; }

/* Summary column */
.sc-summary { padding-top: 6px; }

.sc-summary__labels { margin-bottom: 12px; }

.sc-summary__label {
	display: inline-block;
	background: #111;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 3px;
}

.sc-summary__title,
.product_title {
	font-family: var(--sc-font-title);
	font-size: 34px;
	line-height: 1.2;
	color: var(--sc-title-color);
	margin: 0 0 14px;
	font-weight: 400;
}

.sc-summary__price,
.sc-summary .price {
	font-size: 23px;
	color: #333;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sc-summary .price del {
	color: #999;
	font-size: 18px;
	font-weight: 400;
}

.sc-summary .price ins { text-decoration: none; }

.sc-sizechart-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #333;
	border: 1px solid #e2e2e2;
	padding: 9px 14px;
	margin-bottom: 22px;
	cursor: pointer;
	background: #fff;
}

.sc-sizechart-link:hover { border-color: #000; color: #000; }
.sc-sizechart-link svg { width: 13px; height: 13px; fill: #333; }

.sc-variation { margin-bottom: 18px; }

.sc-variation__label {
	font-size: 12px;
	color: #777;
	margin-bottom: 8px;
	display: block;
}

.sc-size-options {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.sc-size-options button,
.sc-size-options a {
	min-width: 42px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	border-radius: 0;
}

.sc-size-options button:hover,
.sc-size-options a:hover { border-color: #000; }

.sc-size-options button.is-active,
.sc-size-options a.is-active {
	background: #000;
	border-color: #000;
	color: #fff;
}

/* Add to cart row */
.sc-summary .quantity { display: inline-flex; margin-right: 12px; vertical-align: middle; }

/* Quantity stepper: [-] input [+], fixed-width input, no native spinners */
.quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #e2e2e2;
	background: #fff;
}

.quantity .sc-qty-btn {
	flex: 0 0 34px;
	width: 34px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1;
	color: #111;
	cursor: pointer;
	user-select: none;
}

.quantity .sc-qty-btn:hover { background: #f5f5f5; }
.quantity .sc-qty-btn:active { background: #ededed; }

.quantity input[type="number"],
.quantity input.qty {
	width: 46px;
	height: 44px;
	border: 0;
	border-left: 1px solid #e2e2e2;
	border-right: 1px solid #e2e2e2;
	background: #fff;
	text-align: center;
	font-size: 14px;
	border-radius: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.sc-summary form.cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
	padding: 0;
	border: 0;
}

.sc-summary form.cart .btn,
.sc-summary button.single_add_to_cart_button {
	height: 46px;
	padding: 0 30px;
	background: #000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
}

.sc-summary form.cart .btn:hover,
.sc-summary button.single_add_to_cart_button:hover { background: #333; }

.sc-summary .buy-now-btn {
	height: 46px;
	padding: 0 26px;
	background: #000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
}

.sc-summary .buy-now-btn:hover { background: #333; }

.sc-watching {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f3f3f0;
	color: #444;
	font-size: 12px;
	padding: 9px 14px;
	margin-top: 4px;
}

.sc-watching svg { width: 15px; height: 15px; fill: #555; }

/* Tabs */
.sc-tabs {
	margin-top: 60px;
	border-top: 1px solid #eee;
}

.sc-tabs__nav {
	display: flex;
	justify-content: center;
	gap: 42px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #eee;
}

.sc-tabs__nav button {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 18px 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #999;
	cursor: pointer;
	margin-bottom: -1px;
}

.sc-tabs__nav button.is-active { color: #000; border-bottom-color: #000; }

.sc-tabs__panel {
	max-width: 900px;
	margin: 0 auto;
	padding: 34px 0 10px;
	font-size: 14px;
	line-height: 1.9;
	color: #555;
	display: none;
	text-align: left;
}

.sc-tabs__panel.is-active { display: block; }
.sc-tabs__panel h3 { font-family: var(--sc-font-body); font-size: 14px; font-weight: 700; color: #333; margin: 20px 0 6px; }
.sc-tabs__panel ul { padding-left: 18px; margin: 0 0 14px; }
.sc-tabs__panel li { margin-bottom: 4px; }

/* Related products */
.sc-related { margin-top: 60px; }
.sc-related__title {
	font-family: var(--sc-font-title);
	font-size: 28px;
	margin: 0 0 26px;
	color: var(--sc-title-color);
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	padding: 14px 20px;
	margin: 0 0 20px;
	font-size: 14px;
	background: #f7f7f7;
	border-top: 2px solid #000;
	color: #333;
}

/* ==========================================================================
   Size chart modal
   ========================================================================== */

.sc-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1500;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.sc-modal.is-open { display: flex; }

.sc-modal__inner {
	background: #fff;
	max-width: 720px;
	width: 100%;
	max-height: 86vh;
	overflow-y: auto;
	padding: 40px 34px;
	position: relative;
	animation: scModalIn 0.25s ease;
}

@keyframes scModalIn {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

.sc-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #333;
	padding: 0;
}

.sc-modal__title {
	font-family: var(--sc-font-title);
	font-size: 26px;
	text-align: center;
	margin: 0 0 22px;
}

.sc-size-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.sc-size-table th,
.sc-size-table td {
	border: 1px solid #ececec;
	padding: 11px 12px;
	text-align: center;
	color: #444;
}

.sc-size-table th {
	background: #f7f7f7;
	font-weight: 700;
	color: #222;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.06em;
}

.sc-size-table tbody tr:nth-child(even) { background: #fcfcfc; }

/* Swatch with a text label fallback */
.sc-swatch--text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f1f1f1;
	font-size: 9px;
	color: #555;
	text-transform: uppercase;
	border-radius: 50%;
}

/* Ensure grid items stretch like the reference (uniform image heights) */
.sc-shop-grid > li,
.sc-grid > .sc-product { display: flex; flex-direction: column; }
.sc-grid > .sc-product .sc-product__media { width: 100%; }

/* ==========================================================================
   Variations form integration: the custom size buttons drive the native
   WooCommerce selects, so the native dropdown table stays hidden.
   ========================================================================== */

.sc-summary form.variations_form table.variations { display: none !important; }

.sc-summary form.variations_form .single_variation_wrap {
	flex: 0 0 100%;
	width: 100%;
}

.sc-summary .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sc-summary .woocommerce-variation-add-to-cart .quantity { margin-right: 0; }

/* Hide the duplicated per-variation price (synced into .sc-summary__price). */
.sc-summary .single_variation_wrap .woocommerce-variation-price { display: none; }

/* Keep the buy row visible (grey) before a variation is chosen. */
.sc-summary .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button {
	display: inline-block !important;
	opacity: 0.5;
	cursor: not-allowed;
}

/* ==========================================================================
   Size chart modal — tables copied from the reference site
   ========================================================================== */

.sc-modal__inner.sc-sizechart-modal {
	max-width: 980px;
	padding: 26px 24px 30px;
}

.sc-sizechart__tabs {
	display: flex;
	justify-content: center;
	gap: 26px;
	margin: 0 0 20px;
	border-bottom: 1px solid #eee;
}

.sc-sizechart__tab {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 10px 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #999;
	cursor: pointer;
	margin-bottom: -1px;
}

.sc-sizechart__tab:hover { color: #000; }
.sc-sizechart__tab.is-active { color: #000; border-bottom-color: #000; }

.sc-sizechart__panel { display: none; }
.sc-sizechart__panel.is-active { display: block; }

/* --- Reference table styles (scoped to the modal) --- */
#sc-sizechart .table-wrapper {
	width: 100%;
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid #eef1f7;
	box-shadow: 0 20px 60px -20px rgba(30, 50, 90, 0.15), 0 4px 12px -4px rgba(0, 0, 0, 0.03);
	padding: 2.2rem 2rem 2.6rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#sc-sizechart .table-wrapper::-webkit-scrollbar { height: 6px; }
#sc-sizechart .table-wrapper::-webkit-scrollbar-track { background: #f1f4f9; border-radius: 3px; }
#sc-sizechart .table-wrapper::-webkit-scrollbar-thumb { background: #d0d8e8; border-radius: 3px; }
#sc-sizechart .table-wrapper::-webkit-scrollbar-thumb:hover { background: #b8c3d9; }

#sc-sizechart .size-chart {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #2b3a55;
	background: white;
	border-radius: 16px;
	overflow: hidden;
	min-width: 680px;
}

#sc-sizechart .sc-sizechart__caption {
	text-align: left;
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #1a2540;
	padding: 0 0.2rem 1.2rem;
	margin: 0 0 0.5rem;
	border-bottom: 2px solid #eef1f7;
}

#sc-sizechart .size-chart thead tr {
	background: linear-gradient(180deg, #f7f9fd 0%, #f1f5fb 100%);
}

#sc-sizechart .size-chart th {
	text-align: center;
	padding: 1rem 0.8rem;
	font-weight: 600;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #3a4e70;
	border-bottom: 1.5px solid #e2e8f3;
	white-space: nowrap;
}

#sc-sizechart .size-chart th:first-child { text-align: left; padding-left: 1.5rem; }
#sc-sizechart .size-chart th:last-child { padding-right: 1.5rem; }

#sc-sizechart .size-chart tbody tr { transition: background 0.25s ease; }
#sc-sizechart .size-chart tbody tr:nth-child(even) td:not([rowspan]) { background-color: #fbfcfe; }
#sc-sizechart .size-chart tbody tr:hover td { background: #f3f7ff !important; }

#sc-sizechart .size-chart td {
	text-align: center;
	padding: 0.95rem 0.7rem;
	border-bottom: 1px solid #f0f3f9;
	vertical-align: middle;
	background-color: white;
	font-weight: 450;
}

/* Group first column (rowspan cells) */
#sc-sizechart .size-chart tbody tr td[rowspan] {
	font-weight: 650;
	letter-spacing: 0.03em;
	text-align: left;
	padding-left: 1.5rem;
	border-right: 1px solid #e8edf6;
	position: relative;
	vertical-align: middle;
}

/* Men group: cool blue */
#sc-sizechart .size-chart tbody tr:nth-child(1) td[rowspan] {
	background: #f0f5ff;
	color: #1e3a7a;
	border-left: 4px solid #5584ff;
}
#sc-sizechart .size-chart tbody tr:hover:nth-child(-n+5) td[rowspan] { background: #e6efff !important; }

/* Women group: warm pink */
#sc-sizechart .size-chart tbody tr:nth-child(6) td[rowspan],
#sc-sizechart .size-chart tbody tr:nth-child(9) td[rowspan] {
	background: #fdf2f8;
	color: #7a2352;
	border-left: 4px solid #e97ab6;
}
#sc-sizechart .size-chart tbody tr:hover:nth-child(n+6):nth-child(-n+10) td[rowspan] { background: #fae6f1 !important; }
#sc-sizechart .size-chart tbody tr:hover:nth-child(n+9):nth-child(-n+16) td[rowspan] { background: #fae6f1 !important; }

/* Youth group: fresh green */
#sc-sizechart .size-chart tbody tr:nth-child(11) td[rowspan],
#sc-sizechart .size-chart tbody tr:nth-child(17) td[rowspan] {
	background: #f0faf4;
	color: #1e6b45;
	border-left: 4px solid #48c78e;
}
#sc-sizechart .size-chart tbody tr:hover:nth-child(n+11) td[rowspan] { background: #e3f6eb !important; }
#sc-sizechart .size-chart tbody tr:hover:nth-child(n+17) td[rowspan] { background: #e3f6eb !important; }

/* US size column emphasis */
#sc-sizechart .size-chart tbody td:nth-child(2) {
	font-weight: 600;
	color: #1a2b4a;
	font-size: 1rem;
}

/* Numeric columns: tabular figures */
#sc-sizechart .size-chart td:nth-child(5),
#sc-sizechart .size-chart td:nth-child(6),
#sc-sizechart .size-chart td:nth-child(7) {
	font-feature-settings: "tnum";
	color: #2c3e5e;
	font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
	font-size: 0.92rem;
}

#sc-sizechart .size-chart tbody tr:last-child td { border-bottom: none; }

/* Corner rounding */
#sc-sizechart .size-chart thead tr:first-child th:first-child { border-radius: 16px 0 0 0; }
#sc-sizechart .size-chart thead tr:first-child th:last-child { border-radius: 0 16px 0 0; }
#sc-sizechart .size-chart tbody tr:last-child td:first-child { border-radius: 0 0 0 16px; }
#sc-sizechart .size-chart tbody tr:last-child td:last-child { border-radius: 0 0 16px 0; }
#sc-sizechart .size-chart thead tr th:not(:first-child):not(:last-child),
#sc-sizechart .size-chart tbody tr td:not(:first-child):not(:last-child),
#sc-sizechart .size-chart tbody tr td[rowspan] { border-radius: 0 !important; }

/* Column widths */
#sc-sizechart .size-chart th:first-child,
#sc-sizechart .size-chart td:first-child { width: 14%; }
#sc-sizechart .size-chart th:nth-child(2),
#sc-sizechart .size-chart td:nth-child(2) { width: 11%; }
#sc-sizechart .size-chart th:nth-child(3),
#sc-sizechart .size-chart td:nth-child(3) { width: 11%; }
#sc-sizechart .size-chart th:nth-child(4),
#sc-sizechart .size-chart td:nth-child(4) { width: 11%; }
#sc-sizechart .size-chart th:nth-child(5),
#sc-sizechart .size-chart td:nth-child(5) { width: 17%; }
#sc-sizechart .size-chart th:nth-child(6),
#sc-sizechart .size-chart td:nth-child(6) { width: 17%; }
#sc-sizechart .size-chart th:nth-child(7),
#sc-sizechart .size-chart td:nth-child(7) { width: 19%; }

/* Responsive (reference breakpoints) */
@media (max-width: 700px) {
	#sc-sizechart .table-wrapper {
		padding: 1rem 0.6rem 1.4rem;
		border-radius: 16px;
	}

	#sc-sizechart .size-chart {
		font-size: 0.78rem;
		border-radius: 12px;
		min-width: 600px;
	}

	#sc-sizechart .size-chart th,
	#sc-sizechart .size-chart td { padding: 0.65rem 0.4rem; }

	#sc-sizechart .sc-sizechart__caption { font-size: 1.3rem; padding-left: 0.2rem; }

	#sc-sizechart .size-chart tbody td:first-child,
	#sc-sizechart .size-chart th:first-child { padding-left: 0.8rem; }

	#sc-sizechart .size-chart tbody td:nth-child(2) { font-size: 0.85rem; }
	#sc-sizechart .size-chart th { font-size: 0.65rem; }

	#sc-sizechart .size-chart thead tr:first-child th:first-child { border-radius: 12px 0 0 0; }
	#sc-sizechart .size-chart thead tr:first-child th:last-child { border-radius: 0 12px 0 0; }
	#sc-sizechart .size-chart tbody tr:last-child td:first-child { border-radius: 0 0 0 12px; }
	#sc-sizechart .size-chart tbody tr:last-child td:last-child { border-radius: 0 0 12px 0; }

	#sc-sizechart .size-chart th:first-child,
	#sc-sizechart .size-chart td:first-child,
	#sc-sizechart .size-chart th:nth-child(2),
	#sc-sizechart .size-chart td:nth-child(2),
	#sc-sizechart .size-chart th:nth-child(3),
	#sc-sizechart .size-chart td:nth-child(3),
	#sc-sizechart .size-chart th:nth-child(4),
	#sc-sizechart .size-chart td:nth-child(4),
	#sc-sizechart .size-chart th:nth-child(5),
	#sc-sizechart .size-chart td:nth-child(5),
	#sc-sizechart .size-chart th:nth-child(6),
	#sc-sizechart .size-chart td:nth-child(6),
	#sc-sizechart .size-chart th:nth-child(7),
	#sc-sizechart .size-chart td:nth-child(7) { width: auto; }

	.sc-modal__inner.sc-sizechart-modal { padding: 18px 10px 22px; }
	.sc-sizechart__tabs { gap: 14px; margin-bottom: 14px; }
}

@media (max-width: 500px) {
	#sc-sizechart .size-chart { font-size: 0.7rem; }

	#sc-sizechart .size-chart th {
		font-size: 0.6rem;
		padding: 0.5rem 0.25rem;
		letter-spacing: 0.02em;
	}

	#sc-sizechart .size-chart td { padding: 0.5rem 0.25rem; }
	#sc-sizechart .size-chart tbody td:first-child { padding-left: 0.6rem; }

	#sc-sizechart .table-wrapper {
		padding: 0.6rem 0.3rem 1rem;
		border-radius: 14px;
	}
}
