.tsws-sp {
	display: flex;
	align-items: flex-start;
	gap: 48px;
	flex-wrap: wrap;
}

/* Gallery */
.tsws-sp__gallery {
	width: 55%;
	display: flex;
	gap: 20px;
}

.tsws-sp__gallery--thumbs-bottom {
	flex-direction: column;
}

.tsws-sp__gallery--thumbs-left {
	flex-direction: row;
}

.tsws-sp__thumbs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs {
	flex-direction: row;
	order: 2;
}

.tsws-sp__thumb {
	width: 72px;
	height: 90px;
	padding: 0;
	border: 1px solid transparent;
	background: #f2f2f2;
	cursor: pointer;
	overflow: hidden;
}

.tsws-sp__thumb.is-active {
	border-color: #1a1a1a;
}

.tsws-sp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tsws-sp__main-image {
	flex: 1;
	background: #f2f2f2;
	min-width: 0;
	overflow: hidden;
}

.tsws-sp__main-image-el,
.tsws-sp__main-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Info column */
.tsws-sp__info {
	width: calc(45% - 48px);
	min-width: 280px;
	flex: 1;
}

.tsws-sp__info-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.tsws-sp__title {
	font-size: 34px;
	font-weight: 400;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.2;
}

.tsws-sp .tsws-wishlist {
	position: static;
	flex-shrink: 0;
}

.tsws-sp__rating-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.tsws-sp__review-count {
	font-size: 13px;
	color: #8a8a8a;
}

.tsws-sp .tsws-rating {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}

.tsws-sp .tsws-star {
	font-size: 14px;
	color: #d5d5d5;
}

.tsws-sp .tsws-star.is-filled {
	color: #1a1a1a;
}

.tsws-sp__short-description {
	font-size: 14px;
	line-height: 1.7;
	color: #6b6b6b;
	margin-bottom: 20px;
}

.tsws-sp__short-description p:last-child {
	margin-bottom: 0;
}

.tsws-sp__brand {
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 16px;
	color: #1a1a1a;
}

.tsws-sp__brand-label {
	margin-right: 6px;
	font-weight: 700;
}

.tsws-sp__brand a {
	color: #1a1a1a;
	text-decoration: underline;
}

.tsws-sp__price {
	font-size: 22px;
	color: #1a1a1a;
	margin-bottom: 24px;
}

.tsws-sp__price del {
	opacity: 0.5;
	margin-right: 8px;
}

.tsws-sp__price ins {
	text-decoration: none;
}

/* Swatches */
.tsws-sp__attr-block {
	margin-bottom: 18px;
}

.tsws-sp__attr-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #1a1a1a;
	margin-bottom: 10px;
}

.tsws-sp__attr-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tsws-sp .tsws-swatch {
	appearance: none;
	cursor: pointer;
	border: 1px solid #dddddd;
	background: #fff;
	padding: 0;
	width: 30px;
	height: 30px;
	transition: border-color 0.15s ease;
}

.tsws-sp .tsws-swatch--color {
	border-radius: 50%;
	background-color: var(--tsws-swatch-color, #ccc);
}

.tsws-sp .tsws-swatch--text {
	min-width: 30px;
	padding: 0 8px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 600;
	color: #1a1a1a;
}

.tsws-sp .tsws-swatch.is-active {
	border-color: #1a1a1a;
	border-width: 2px;
}

.tsws-sp__attr-select {
	display: block;
	width: 200px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d5d5d5;
	background: #fff;
	color: #1a1a1a;
	font-size: 14px;
	cursor: pointer;
}

/* Cart row */
.tsws-sp__cart-row {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin: 24px 0;
	padding-bottom: 24px;
	border-bottom: 1px solid #e2e2e2;
}

.tsws-sp__qty {
	display: flex;
	align-items: center;
	border: 1px solid #d5d5d5;
}

.tsws-sp__qty-btn {
	background: none;
	border: none;
	width: 36px;
	height: 100%;
	font-size: 16px;
	cursor: pointer;
	color: #1a1a1a;
}

.tsws-sp__qty-input {
	width: 40px;
	text-align: center;
	border: none;
	border-left: 1px solid #d5d5d5;
	border-right: 1px solid #d5d5d5;
	font-size: 15px;
	-moz-appearance: textfield;
}

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

.tsws-sp__add-to-cart {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #1a1a1a;
	color: #ffffff;
	border: none;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.tsws-sp__cart-icon {
	width: 18px;
	height: 18px;
}

.tsws-sp__share {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.tsws-sp__share a {
	color: #1a1a1a;
	display: inline-flex;
}

.tsws-sp__share svg {
	width: 18px;
	height: 18px;
}

/* Accordions */
.tsws-sp__accordion-item {
	border-top: 1px solid #e2e2e2;
}

.tsws-sp__accordion-item:last-child {
	border-bottom: 1px solid #e2e2e2;
}

.tsws-sp__accordion-title {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	text-align: left;
	padding: 18px 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #1a1a1a;
	cursor: pointer;
}

.tsws-sp__accordion-icon {
	display: inline-block;
	width: 12px;
	transition: transform 0.15s ease;
}

.tsws-sp__accordion-item:not(.is-open) .tsws-sp__accordion-icon {
	transform: rotate(180deg);
}

.tsws-sp__accordion-body {
	display: none;
	padding: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: #6b6b6b;
}

.tsws-sp__accordion-item.is-open .tsws-sp__accordion-body {
	display: block;
}

@media (max-width: 900px) {
	.tsws-sp__gallery,
	.tsws-sp__info {
		width: 100% !important;
	}
}
