/* ── Single Product Page Layout ──────────────────────────────────────────── */

.tela-sp {
	font-family: 'Noto Sans', sans-serif;
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px 16px 40px;
}

@media (min-width: 768px)  { .tela-sp { padding: 32px 24px 48px; } }
@media (min-width: 1024px) { .tela-sp { padding: 40px 40px 60px; } }
@media (min-width: 1280px) { .tela-sp { padding: 60px 60px 80px; } }

/* ── Two-column: gallery left, info right ─────────────────────────────────── */
.tela-sp__columns {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
	margin-bottom: 40px;
}

@media (min-width: 1024px) {
	.tela-sp__columns {
		flex-direction: row;
		gap: 32px;
		margin-bottom: 48px;
	}
}

@media (min-width: 1280px) {
	.tela-sp__columns {
		gap: 60px;
		margin-bottom: 60px;
	}
}

.tela-sp__col-gallery {
	flex: 1;
	min-width: 0;
	width: 100%;
}

.tela-sp__col-info {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 1024px) {
	.tela-sp__col-info {
		width: 340px;
		flex-shrink: 0;
		gap: 20px;
		position: sticky;
		top: 100px;
	}
}

@media (min-width: 1280px) {
	.tela-sp__col-info {
		width: 403px;
		gap: 24px;
	}
}

/* ── Product tabs ─────────────────────────────────────────────────────────── */
.tela-sp__tabs {
	margin-bottom: 32px;
}

@media (min-width: 1024px) { .tela-sp__tabs { margin-bottom: 48px; } }
@media (min-width: 1280px) { .tela-sp__tabs { margin-bottom: 60px; } }

/* Reset all WooCommerce tab chrome */
.tela-sp__tabs .woocommerce-tabs,
.tela-sp__tabs .wc-tabs-wrapper {
	border: none !important;
	background: none !important;
	padding: 0 !important;
}

/* Tab list */
.tela-sp__tabs .woocommerce-tabs ul.tabs,
.tela-sp__tabs ul.wc-tabs {
	border: none !important;
	border-bottom: 1px solid #e0e0e0 !important;
	background: none !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex !important;
	gap: 0 !important;
	flex-wrap: wrap;
}

@media (min-width: 1024px) {
	.tela-sp__tabs .woocommerce-tabs ul.tabs,
	.tela-sp__tabs ul.wc-tabs { margin-bottom: 32px !important; }
}

/* Tab items */
.tela-sp__tabs .woocommerce-tabs ul.tabs li,
.tela-sp__tabs ul.wc-tabs li {
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	position: relative;
}

.tela-sp__tabs .woocommerce-tabs ul.tabs li::before,
.tela-sp__tabs .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

/* Tab links */
.tela-sp__tabs .woocommerce-tabs ul.tabs li a,
.tela-sp__tabs ul.wc-tabs li a {
	font-family: 'Noto Sans', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #8f8f8f !important;
	padding: 0 16px 12px !important;
	display: block !important;
	text-decoration: none !important;
	border: none !important;
	background: none !important;
	position: relative;
	transition: color 0.15s;
}

@media (min-width: 768px) {
	.tela-sp__tabs .woocommerce-tabs ul.tabs li a,
	.tela-sp__tabs ul.wc-tabs li a {
		font-size: 16px !important;
		padding: 0 20px 13px !important;
	}
}

@media (min-width: 1280px) {
	.tela-sp__tabs .woocommerce-tabs ul.tabs li a,
	.tela-sp__tabs ul.wc-tabs li a {
		font-size: 18px !important;
		padding: 0 24px 14px !important;
	}
}

.tela-sp__tabs .woocommerce-tabs ul.tabs li a:hover {
	color: #000 !important;
	background: none !important;
}

/* Active tab — gold text + gold underline */
.tela-sp__tabs .woocommerce-tabs ul.tabs li.active a,
.tela-sp__tabs ul.wc-tabs li.active a {
	color: #cd9939 !important;
	background: none !important;
}

.tela-sp__tabs .woocommerce-tabs ul.tabs li.active::after,
.tela-sp__tabs ul.wc-tabs li.active::after {
	content: '' !important;
	display: block !important;
	position: absolute !important;
	bottom: -1px !important;
	left: 0 !important;
	right: 0 !important;
	height: 2px !important;
	background: #cd9939 !important;
}

/* Panel content */
.tela-sp__tabs .woocommerce-tabs .panel,
.tela-sp__tabs .woocommerce-Tabs-panel {
	border: none !important;
	padding: 0 !important;
	background: none !important;
}

.tela-sp__tabs .woocommerce-tabs .panel h2,
.tela-sp__tabs .woocommerce-Tabs-panel h2 {
	font-family: 'Noto Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	margin: 0 0 12px;
}

@media (min-width: 1024px) {
	.tela-sp__tabs .woocommerce-tabs .panel h2,
	.tela-sp__tabs .woocommerce-Tabs-panel h2 { font-size: 18px; margin-bottom: 14px; }
}

@media (min-width: 1280px) {
	.tela-sp__tabs .woocommerce-tabs .panel h2,
	.tela-sp__tabs .woocommerce-Tabs-panel h2 { font-size: 20px; margin-bottom: 16px; }
}

.tela-sp__tabs .woocommerce-tabs .panel p,
.tela-sp__tabs .woocommerce-Tabs-panel p {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	color: #000;
	line-height: 1.7;
	margin: 0 0 10px;
}

@media (min-width: 1280px) {
	.tela-sp__tabs .woocommerce-tabs .panel p,
	.tela-sp__tabs .woocommerce-Tabs-panel p { font-size: 16px; line-height: 1.75; margin-bottom: 12px; }
}

/* ── Reviews panel ────────────────────────────────────────────────────────── */
.tela-sp__tabs .woocommerce-Reviews .woocommerce-noreviews {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	color: #8f8f8f;
	margin-bottom: 24px;
}

.tela-sp__tabs #review_form_wrapper #reply-title,
.tela-sp__tabs .comment-reply-title {
	font-family: 'Noto Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	margin: 0 0 18px;
	display: block;
}

@media (min-width: 1280px) {
	.tela-sp__tabs #review_form_wrapper #reply-title,
	.tela-sp__tabs .comment-reply-title { font-size: 18px; margin-bottom: 24px; }
}

.tela-sp__tabs #review_form label,
.tela-sp__tabs .comment-form label {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #000;
	display: block;
	margin-bottom: 6px;
}

@media (min-width: 1280px) {
	.tela-sp__tabs #review_form label,
	.tela-sp__tabs .comment-form label { font-size: 15px; margin-bottom: 8px; }
}

.tela-sp__tabs .stars a {
	color: #8f8f8f;
	font-size: 20px;
}
.tela-sp__tabs .stars.selected a.active,
.tela-sp__tabs .stars:hover a:hover,
.tela-sp__tabs .stars:hover a {
	color: #cd9939;
}

.tela-sp__tabs #rating {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	height: 36px;
	padding: 0 10px;
	border: none;
	box-shadow: 0 0 4px rgba(0,0,0,0.22);
	background: #fff;
	color: #000;
	appearance: auto;
}

.tela-sp__tabs #review_form textarea,
.tela-sp__tabs .comment-form textarea {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	color: #000;
	width: 100%;
	min-height: 100px;
	padding: 12px 14px;
	border: none;
	box-shadow: 0 0 4px rgba(0,0,0,0.22);
	background: #fff;
	resize: vertical;
	outline: none;
	border-radius: 0;
	box-sizing: border-box;
}

@media (min-width: 1280px) {
	.tela-sp__tabs #review_form textarea,
	.tela-sp__tabs .comment-form textarea { font-size: 15px; min-height: 120px; padding: 14px 16px; }
}

.tela-sp__tabs #review_form textarea::placeholder,
.tela-sp__tabs .comment-form textarea::placeholder { color: #8f8f8f; }

.tela-sp__tabs #review_form input[type="text"],
.tela-sp__tabs #review_form input[type="email"],
.tela-sp__tabs .comment-form input[type="text"],
.tela-sp__tabs .comment-form input[type="email"] {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	color: #000;
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border: none;
	box-shadow: 0 0 4px rgba(0,0,0,0.22);
	background: #fff;
	outline: none;
	border-radius: 0;
	box-sizing: border-box;
}

@media (min-width: 1280px) {
	.tela-sp__tabs #review_form input[type="text"],
	.tela-sp__tabs #review_form input[type="email"],
	.tela-sp__tabs .comment-form input[type="text"],
	.tela-sp__tabs .comment-form input[type="email"] { font-size: 15px; height: 48px; padding: 0 16px; }
}

.tela-sp__tabs #review_form input[type="submit"],
.tela-sp__tabs .comment-form input[type="submit"],
.tela-sp__tabs #submit {
	font-family: 'Noto Sans', sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #fff !important;
	background: #cd9939 !important;
	border: none !important;
	border-radius: 44px !important;
	padding: 0 28px !important;
	height: 40px !important;
	cursor: pointer !important;
	transition: opacity 0.15s !important;
	margin-top: 8px;
}

@media (min-width: 1024px) {
	.tela-sp__tabs #review_form input[type="submit"],
	.tela-sp__tabs .comment-form input[type="submit"],
	.tela-sp__tabs #submit { font-size: 15px !important; padding: 0 36px !important; height: 44px !important; }
}

@media (min-width: 1280px) {
	.tela-sp__tabs #review_form input[type="submit"],
	.tela-sp__tabs .comment-form input[type="submit"],
	.tela-sp__tabs #submit { font-size: 16px !important; padding: 0 40px !important; }
}

.tela-sp__tabs #review_form input[type="submit"]:hover,
.tela-sp__tabs .comment-form input[type="submit"]:hover,
.tela-sp__tabs #submit:hover { opacity: 0.85 !important; }

/* Existing review comments */
.tela-sp__tabs .woocommerce-Reviews .comment_container {
	display: flex;
	gap: 12px;
	padding: 18px 0;
	border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 1024px) {
	.tela-sp__tabs .woocommerce-Reviews .comment_container { gap: 16px; padding: 24px 0; }
}

.tela-sp__tabs .woocommerce-Reviews img.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}

@media (min-width: 1024px) { .tela-sp__tabs .woocommerce-Reviews img.avatar { width: 48px; height: 48px; } }

.tela-sp__tabs .woocommerce-Reviews .comment-text { flex: 1; }

.tela-sp__tabs .woocommerce-Reviews .meta {
	font-family: 'Noto Sans', sans-serif;
	font-size: 12px;
	color: #8f8f8f;
	margin-bottom: 6px;
}

@media (min-width: 1024px) { .tela-sp__tabs .woocommerce-Reviews .meta { font-size: 13px; margin-bottom: 8px; } }

.tela-sp__tabs .woocommerce-Reviews .meta strong {
	font-weight: 600;
	color: #000;
	font-size: 14px;
	margin-right: 8px;
}

@media (min-width: 1024px) { .tela-sp__tabs .woocommerce-Reviews .meta strong { font-size: 15px; } }

.tela-sp__tabs .woocommerce-Reviews .star-rating { margin-bottom: 8px; }
.tela-sp__tabs .woocommerce-Reviews .star-rating span::before { color: #cd9939; }

.tela-sp__tabs .woocommerce-Reviews .description p {
	font-family: 'Noto Sans', sans-serif;
	font-size: 14px;
	color: #000;
	line-height: 1.7;
	margin: 0;
}

@media (min-width: 1280px) {
	.tela-sp__tabs .woocommerce-Reviews .description p { font-size: 15px; }
}
