/**
 * Single product tab styles.
 *
 * Location: /assets/css/frontend/product/single/tabs.css
 *
 * @package SunTechPortal
 */

.stp-product-single__sections {
	overflow: hidden;
}

.stp-product-single__tabs {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	background: #fff;
	border-bottom: 1px solid var(--stp-product-border);
}

.stp-product-single__tabs button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0;
	padding: 14px 20px;
	color: var(--stp-product-text);
	background: #fff;
	border: 0;
	border-right: 1px solid var(--stp-product-border);
	border-bottom: 2px solid transparent;
	border-radius: 0;
	box-shadow: none;
	font-size: 14px;
	font-weight: 950;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.stp-product-single__tabs button:last-child {
	border-right: 0;
}

.stp-product-single__tabs button:hover,
.stp-product-single__tabs button:focus,
.stp-product-single__tabs button.is-active {
	color: var(--stp-product-primary-dark);
	border-bottom-color: var(--stp-product-primary);
	outline: none;
}

.stp-product-single__details-grid {
	display: block;
}

.stp-product-single__panel[hidden] {
	display: none;
}

.stp-product-single__panel {
	padding: 26px;
	scroll-margin-top: 120px;
}

.stp-product-single__panel--side {
	background: #fff;
}

.stp-product-single__description {
	color: var(--stp-product-soft-text);
}

.stp-product-single__description strong,
.stp-product-single__description b {
	color: var(--stp-product-text);
	font-weight: 800;
}

.stp-product-single__description > *:first-child {
	margin-top: 0;
}

.stp-product-single__description > *:last-child {
	margin-bottom: 0;
}

.stp-product-single__description p,
.stp-product-single__description li {
	color: var(--stp-product-soft-text);
	font-size: 14px;
	line-height: 1.78;
}

.stp-product-single__description ul,
.stp-product-single__description ol {
	display: block;
	margin: 16px 0;
	padding-left: 24px;
}

.stp-product-single__description li {
	margin: 0 0 4px;
}

.stp-product-single__description table {
	width: 100%;
	margin: 16px 0;
	border-collapse: collapse;
}

.stp-product-single__description th,
.stp-product-single__description td {
	padding: 10px 12px;
	border: 1px solid var(--stp-product-border);
	vertical-align: top;
}

.stp-product-single__description th {
	color: var(--stp-product-text);
	font-weight: 900;
	text-align: left;
}

.stp-product-single__description a {
	color: var(--stp-product-primary-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.stp-product-single__description img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--stp-product-border);
	border-radius: 10px;
}

.stp-product-single__empty {
	margin: 0;
	color: var(--stp-product-muted);
	font-size: 14px;
}

.stp-product-single__note {
	margin-top: 18px;
	padding: 14px;
	background: var(--stp-product-bg-soft);
	border: 1px solid var(--stp-product-border);
	border-radius: 10px;
}

.stp-product-single__note strong {
	display: block;
	margin: 0 0 5px;
	color: var(--stp-product-text);
	font-size: 14px;
	font-weight: 900;
}

.stp-product-single__note p {
	margin: 0;
	color: var(--stp-product-soft-text);
	font-size: 14px;
	line-height: 1.6;
}

.stp-product-single__description-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.stp-product-single__description-meta div {
	display: grid;
	gap: 5px;
	align-content: start;
	padding: 14px;
	background: var(--stp-product-bg-soft);
	border: 1px solid var(--stp-product-border);
	border-radius: 10px;
}

.stp-product-single__description-meta span {
	color: var(--stp-product-muted);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.stp-product-single__description-meta strong {
	color: var(--stp-product-text);
	font-size: 14px;
	font-weight: 950;
	line-height: 1.35;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

@media screen and (max-width: 900px) {
	.stp-product-single__tabs {
			display: grid;
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
	
		.stp-product-single__tabs button {
			min-height: 50px;
			padding: 12px 10px;
			border-right: 1px solid var(--stp-product-border);
			font-size: 13px;
		}
	
		.stp-product-single__tabs button:last-child {
			border-right: 0;
		}
	
		.stp-product-single__panel,
		.stp-product-single__panel--side {
			padding: 22px;
			border-right: 0;
			border-bottom: 0;
		}
	
		.stp-product-single__description-meta {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
}

@media screen and (max-width: 680px) {
	.stp-product-single__tabs button {
			min-height: 46px;
			padding: 10px 6px;
			font-size: 12px;
		}
}

@media screen and (max-width: 430px) {
	.stp-product-single__tabs button {
			min-height: 44px;
			padding: 9px 5px;
			font-size: 11px;
		}
}


.stp-product-single__description-meta-link {
	color: var(--stp-product-text);
	font-size: 14px;
	font-weight: 950;
	line-height: 1.35;
	text-transform: uppercase;
	text-decoration: none;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.stp-product-single__description-meta-link:hover,
.stp-product-single__description-meta-link:focus {
	color: #000;
	text-decoration: underline;
	outline: none;
}
