/* ------------------------------------------------------- Fitment ---------- */

.fl-sp-fit {
	grid-column: 1;
	margin: 0 0 26px;
	padding: 0 0 26px;
	border-bottom: 1px solid var(--fl-border, #e6e8e6);
}

.fl-sp-fit__title {
	margin: 0 0 18px;
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--fl-heading, #1b2b27);
}

.fl-sp-fit__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px 28px;
	align-items: start;
}

.fl-sp-fit__label {
	margin: 0 0 14px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--fl-heading, #1b2b27);
}

.fl-sp-fit__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.fl-sp-fit__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--fl-muted, #636b77);
}

.fl-sp-fit__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 8px;
	margin-top: 5px;
	border-left: 2px solid var(--fl-primary, #397063);
	border-bottom: 2px solid var(--fl-primary, #397063);
	transform: rotate(-45deg);
}

.fl-sp-fit__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fl-sp-fit__chip {
	padding: 9px 16px;
	border: 1px solid var(--fl-border, #e6e8e6);
	border-radius: 999px;
	background: #fff;
	font-size: 0.86rem;
	color: var(--fl-heading, #1b2b27);
}

.fl-sp-fit__cta {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	border-radius: 14px;
	background: var(--fl-surface, #f5f6f5);
}

.fl-sp-fit__cta-ico {
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	color: var(--fl-primary, #397063);
}

.fl-sp-fit__cta-body {
	min-width: 0;
}

.fl-sp-fit__cta-title {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--fl-heading, #1b2b27);
}

.fl-sp-fit__cta-text {
	margin: 0 0 14px;
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--fl-muted, #636b77);
}

.fl-sp-fit__cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid var(--fl-border, #e6e8e6);
	border-radius: 10px;
	color: var(--fl-heading, #1b2b27);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.fl-sp-fit__cta-btn:hover {
	border-color: var(--fl-primary, #397063);
	color: var(--fl-primary, #397063);
}

/* ------------------------------------------------------------- Tabs ------- */

.single-product .woocommerce-tabs {
	margin-top: var(--fl-sp-gap, 40px);
}

.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--fl-border, #e6e8e6);
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
	content: none;
	display: none;
}

.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
}

.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 2px;
	margin-inline-end: 26px;
	border-bottom: 2px solid transparent;
	color: var(--fl-muted, #636b77);
	font-weight: 600;
	font-size: 0.98rem;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.single-product .woocommerce-tabs ul.tabs li:last-child a {
	margin-inline-end: 0;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--fl-primary, #397063);
	border-bottom-color: var(--fl-primary, #397063);
}

.single-product .woocommerce-Tabs-panel {
	color: var(--fl-heading, #1b2b27);
	font-size: 0.97rem;
	line-height: 1.65;
}

.fl-sp-tabswrap {
	margin-top: var(--fl-sp-gap, 40px);
}

.fl-sp-tabswrap > * {
	min-width: 0;
}

.fl-sp-tabswrap .woocommerce-tabs {
	margin-top: 0;
}

.fl-sp-info {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(28px, 3.5vw, 56px);
	align-items: start;
}

.fl-sp-info__col {
	min-width: 0;
}

.fl-sp-info .fl-sp-h2 {
	margin-bottom: 18px;
}

.fl-sp-info__text {
	font-size: 0.97rem;
	line-height: 1.65;
	color: var(--fl-heading, #1b2b27);
}

.fl-sp-info__text > *:first-child {
	margin-top: 0;
}

.fl-sp-info__text p {
	margin: 0 0 14px;
}

.fl-sp-info__text ul,
.fl-sp-info__text ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.fl-sp-info__text li {
	margin: 4px 0;
}

.fl-sp-info__text img {
	max-width: 320px;
	max-height: 320px;
	width: auto;
	height: auto;
	border-radius: 14px;
}

.fl-sp-kit-sec {
	margin-top: var(--fl-sp-gap, 40px);
}

.fl-sp-kit-sec .fl-sp-h2 {
	margin-bottom: 18px;
}

@media (max-width: 900px) {
	.fl-sp-info {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

.single-product #tab-description p,
.single-product #tab-description li {
	max-width: 80ch;
}

.single-product #tab-description img {
	max-width: 320px;
	max-height: 320px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.single-product .woocommerce-Tabs-panel > h2:first-child {
	margin-top: 0;
	font-size: 1.35rem;
}

.single-product .woocommerce-Tabs-panel img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.single-product .woocommerce-Tabs-panel ul {
	padding-left: 20px;
}

.single-product .woocommerce-Tabs-panel li {
	margin: 4px 0;
}

.fl-sp-specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 28px 40px;
	align-items: start;
}

.fl-sp-specs-table {
	min-width: 0;
}

.single-product .shop_attributes {
	width: 100%;
	border-collapse: collapse;
}

.single-product .shop_attributes th,
.single-product .shop_attributes td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--fl-border, #e6e8e6);
	font-size: 0.9rem;
	line-height: 1.45;
	vertical-align: top;
	background: transparent;
}

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

.single-product .shop_attributes th {
	width: 50%;
	padding-right: 18px;
	text-align: left;
	color: var(--fl-muted, #636b77);
	font-weight: 400;
}

.single-product .shop_attributes td {
	text-align: right;
	color: var(--fl-heading, #1b2b27);
	font-weight: 600;
}

.single-product .shop_attributes td p {
	margin: 0;
	font-style: normal;
}

/* -------------------------------------------------------- What's inside --- */

.fl-sp-kit {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	max-width: 640px;
}

.fl-sp-kit__i {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--fl-border, #e6e8e6);
	font-size: 0.93rem;
}

.fl-sp-kit__c {
	flex: 0 0 auto;
	color: var(--fl-muted, #636b77);
}

/* ------------------------------------------------------ Product question -- */

.fl-sp-qa__group {
	margin: 26px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--fl-border, #e6e8e6);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fl-muted, #636b77);
}

.fl-sp-qa__i {
	border-bottom: 1px solid var(--fl-border, #e6e8e6);
}

.fl-sp-qa__i summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 0;
	font-weight: 600;
	color: var(--fl-heading, #1b2b27);
}

.fl-sp-qa__i summary::-webkit-details-marker {
	display: none;
}

.fl-sp-qa__a {
	padding: 0 0 16px;
	color: var(--fl-muted, #636b77);
	font-size: 0.93rem;
}

.fl-sp-qa__a p {
	margin: 0 0 10px;
}

.single-product .shop_attributes td p {
	margin: 0;
}

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