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

.stp-product-single__summary {
	padding: 24px;
}

.stp-product-single__brand,
.stp-product-single__category-path {
	margin: 0 0 7px;
	color: var(--stp-product-soft-text);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.3;
	text-transform: uppercase;
}

.stp-product-single__category-path {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
}

.stp-product-single__category-path span {
	color: var(--stp-product-muted);
	font-weight: 850;
}

.stp-product-single__category-path strong {
	color: var(--stp-product-soft-text);
	font-weight: 850;
}


.stp-product-single__title {
	margin: 0;
	color: var(--stp-product-text);
	font-size: clamp(18px, 2.1vw, 29px);
	font-weight: 950;
	line-height: 1.14;
	letter-spacing: -0.035em;
}

.stp-product-single__rating,
.stp-product-single__mobile-rating {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 14px;
	color: var(--stp-product-muted);
	font-size: 13px;
	font-weight: 700;
}

.stp-product-single__rating span,
.stp-product-single__mobile-rating span {
	color: var(--stp-product-primary);
	letter-spacing: 1px;
}

.stp-product-single__rating strong,
.stp-product-single__mobile-rating strong {
	color: var(--stp-product-text);
	font-weight: 900;
}

.stp-product-single__rating a {
	color: var(--stp-product-soft-text);
	text-decoration: none;
}

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

.stp-product-single__summary-divider {
	width: 100%;
	height: 1px;
	margin: 16px 0 13px;
	background: var(--stp-product-border);
}

.stp-product-single__share {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	margin: 0 0 12px;
}

.stp-product-single__share-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 34px;
	min-height: 34px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--stp-product-border);
	border-radius: 999px;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
	transition:
		border-color 0.16s ease,
		background-color 0.16s ease,
		transform 0.16s ease;
}

.stp-product-single__share-button:hover,
.stp-product-single__share-button:focus {
	background: var(--stp-product-bg-soft);
	border-color: var(--stp-product-primary);
	outline: none;
	transform: translateY(-1px);
}

.stp-product-single__share-button.is-copied {
	border-color: var(--stp-product-green);
}

.stp-product-single__share-button img {
	display: block;
	width: 17px;
	height: 17px;
	object-fit: contain;
}

.stp-product-single__quick-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
	margin: 0 0 15px;
}

.stp-product-single__quick-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 30px;
	margin: 0;
	padding: 0;
	color: var(--stp-product-text);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.stp-product-single__quick-action:hover,
.stp-product-single__quick-action:focus,
.stp-product-single__quick-action.is-added {
	color: var(--stp-product-primary-dark);
	outline: none;
}

.stp-product-single__quick-action img {
	display: block;
	width: 21px;
	height: 21px;
	object-fit: contain;
	pointer-events: none;
}


.stp-product-single__quick-action .stp-product-card__compare-icon,
.stp-product-single__quick-action .stp-product-card__wishlist-icon {
	position: static !important;
	display: block;
	flex: 0 0 auto;
	width: 21px;
	height: 21px;
	min-width: 21px;
	min-height: 21px;
	opacity: 1 !important;
	filter: none !important;
	transform: none !important;
}

.stp-product-single__quick-action .stp-product-card__compare-icon[hidden],
.stp-product-single__quick-action .stp-product-card__wishlist-icon[hidden] {
	display: none !important;
}

.stp-product-single__summary-dropdown {
	display: block;
	margin: 15px 0 0;
	background: #fff;
	border: 1px solid var(--stp-product-border);
	border-radius: 10px;
	overflow: hidden;
}

.stp-product-single__summary-dropdown summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 11px 13px;
	color: var(--stp-product-text);
	background: var(--stp-product-bg-soft);
	font-size: 13px;
	font-weight: 950;
	line-height: 1.2;
	cursor: pointer;
	list-style: none;
}

.stp-product-single__summary-dropdown summary::-webkit-details-marker {
	display: none;
}

.stp-product-single__summary-dropdown summary i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #fff;
	background: var(--stp-product-primary);
	border-radius: 999px;
	font-style: normal;
	font-size: 15px;
	font-weight: 950;
	line-height: 1;
	transition: transform 0.16s ease;
}

.stp-product-single__summary-dropdown[open] summary i {
	transform: rotate(45deg);
}

.stp-product-single__summary-dropdown-body {
	display: grid;
	gap: 12px;
	padding: 13px;
	border-top: 1px solid var(--stp-product-border);
}

.stp-product-single__short-description {
	max-width: 680px;
	margin: 0;
	color: var(--stp-product-soft-text);
	font-size: 15px;
	line-height: 1.75;
}

.stp-product-single__short-description p {
	margin: 0 0 10px;
}

.stp-product-single__short-description p:last-child {
	margin-bottom: 0;
}

.stp-product-single__highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stp-product-single__highlights li {
	position: relative;
	min-height: 22px;
	padding-left: 26px;
	color: var(--stp-product-soft-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.stp-product-single__highlights li::before {
	position: absolute;
	top: 2px;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	color: var(--stp-product-primary);
	border: 2px solid var(--stp-product-primary);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	content: "✓";
}

.stp-product-single__service {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid var(--stp-product-border);
}

.stp-product-single__service:empty {
	display: none;
}

.stp-product-single__service span {
	color: var(--stp-product-soft-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

@media screen and (max-width: 900px) {
	.stp-product-single__summary {
		padding: 22px;
	}

	.stp-product-single__title {
		font-size: clamp(20px, 3.5vw, 29px);
		line-height: 1.16;
	}
}

@media screen and (max-width: 680px) {
	.stp-product-single__brand,
.stp-product-single__category-path {
		margin-bottom: 6px;
	}

	.stp-product-single__title {
		font-size: 22px;
		line-height: 1.2;
	}

	.stp-product-single__rating,
	.stp-product-single__summary-divider,
	.stp-product-single__share,
	.stp-product-single__quick-actions {
		display: none;
	}

	
.stp-product-single__quick-action .stp-product-card__compare-icon,
.stp-product-single__quick-action .stp-product-card__wishlist-icon {
	position: static !important;
	display: block;
	flex: 0 0 auto;
	width: 21px;
	height: 21px;
	min-width: 21px;
	min-height: 21px;
	opacity: 1 !important;
	filter: none !important;
	transform: none !important;
}

.stp-product-single__quick-action .stp-product-card__compare-icon[hidden],
.stp-product-single__quick-action .stp-product-card__wishlist-icon[hidden] {
	display: none !important;
}

.stp-product-single__summary-dropdown {
		margin-top: 14px;
	}

	.stp-product-single__summary-dropdown .stp-product-single__short-description {
		font-size: 14px;
		line-height: 1.65;
	}

	.stp-product-single__highlights {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}
