﻿/* ============================================================
   Product Tabs Widget
   ============================================================ */

.ptw-wrapper {
	width: 100%;
}

.ptw-body {
	width: 100%;
}

.ptw-body.ptw-has-catalog {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.ptw-main-side {
	width: 100%;
	min-width: 0;
}

.ptw-has-catalog .ptw-main-side {
	width: calc(100% - 30% - 24px);
}

.ptw-catalog-side {
	width: 30%;
	flex-shrink: 0;
}

/* Tab Navigation */
.ptw-nav {
	display: flex;
	flex-wrap: wrap;
	border-bottom: none;
}

.ptw-tab-btn {
	padding: 12px 24px;
	background: transparent;
	color: #333333;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	transition: background-color 0.2s ease, color 0.2s ease;
	outline: none;
	white-space: nowrap;
}

.ptw-tab-btn.is-active {
	background-color: #1e3a6e;
	color: #ffffff;
}

/* Tab Content Area */
.ptw-content {
	border: 1px solid #e5e7eb;
	border-radius: 0 4px 4px 4px;
	background: #ffffff;
}

.ptw-panel {
	display: none;
}

.ptw-panel.is-active {
	display: block;
}

.ptw-panel-body {
	padding: 24px;
}

/* Content Heading */
.ptw-heading {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 16px 0;
	line-height: 1.4;
}

/* Content Description */
.ptw-desc {
	font-size: 14px;
	color: #444444;
	line-height: 1.8;
}

.ptw-desc p {
	margin: 0 0 6px 0;
	padding-left: 16px;
}

.ptw-desc p:last-child {
	margin-bottom: 0;
}

.ptw-desc a {
	color: #2e6da4;
	text-decoration: none;
}

.ptw-desc a:hover {
	text-decoration: underline;
}

/* ── Catalog Sidebar ── */
.ptw-catalog-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	padding: 20px;
	text-decoration: none;
	transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.ptw-catalog-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.ptw-catalog-img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: contain;
	border-radius: 4px;
	margin-bottom: 16px;
}

.ptw-catalog-name {
	font-size: 15px;
	font-weight: 600;
	color: #1a2e5a;
	text-align: center;
	line-height: 1.4;
	transition: color 0.2s ease;
}

@media (max-width: 767px) {
	.ptw-body.ptw-has-catalog {
		flex-direction: column;
	}
	.ptw-has-catalog .ptw-main-side,
	.ptw-catalog-side {
		width: 100% !important;
	}
}