/* Portfolio Single Product Page Styles */

/* Gallery Container */
.product-gallery-container {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
}

.gallery-thumbnails {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 80px;
}

.gallery-thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid #ddd;
	border-radius: 4px;
	transition: border-color 0.3s;
}

.gallery-thumb.active {
	border-color: #000;
}

.gallery-main-image {
	flex: 1;
}

.main-product-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	max-height: 600px;
	object-fit: contain;
}

/* Icons Row */
.icons-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
	flex-wrap: wrap;
}

.icons-row .icon-item {
	flex: 0 0 calc(16.666% - 12px);
	text-align: center;
}

.icons-row .icon-item img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

@media (max-width: 768px) {
	.icons-row .icon-item {
		flex: 0 0 calc(33.333% - 10px);
	}
}

@media (max-width: 480px) {
	.icons-row .icon-item {
		flex: 0 0 calc(50% - 7px);
	}
}

/* Product Tabs */
#product-tabs .tabs-list {
	display: flex;
	gap: 10px;
	margin: 18px 0;
}

#product-tabs .tabs-list [role="tab"] {
	background: #f7f7f7;
	border: 1px solid #e1e1e1;
	padding: 8px 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s, border-bottom 0.3s;
}

#product-tabs .tabs-list [role="tab"][aria-selected="true"] {
	background: #fff;
	border-bottom: 2px solid #0073aa;
}

#product-tabs .tabs-panels > div {
	padding: 15px;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
	background: #fff;
}

@media (max-width: 480px) {
	#product-tabs .tabs-list {
		flex-wrap: wrap;
	}
}

/* Product Grid (Specs) */
.product-grid-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px 30px -10px;
}

.product-grid-column {
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 10px;
	box-sizing: border-box;
}

.product-grid-column .bt_bb_column_content {
	height: 100%;
}

@media (max-width: 768px) {
	.product-grid-column {
		flex: 0 0 50%;
		max-width: 50%;
		margin-bottom: 20px;
	}
}

@media (max-width: 480px) {
	.product-grid-column {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 20px;
	}
}

/* Calculator & Video Row */
.bt_calc_video_row {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: flex-start;
}

.bt_calc_video_row .bt_bb_column {
	flex: 1 1 50%;
	min-width: 0;
	max-width: 50%;
	display: block;
	box-sizing: border-box;
}

.bt_calc_video_row .bt_bb_column_content {
	box-sizing: border-box;
}

.responsive-video iframe,
.responsive-video video,
.responsive-video embed,
.responsive-video object {
	max-width: 100% !important;
	width: 100% !important;
	/* height: auto !important; */
}

@media (max-width: 768px) {
	.bt_calc_video_row {
		flex-wrap: wrap;
	}

	.bt_calc_video_row .bt_bb_column {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Related Products Grid */
.bt_related_row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 30px;
}

.bt_related_row .bt_bb_grid_item {
	flex: 0 0 calc(20% - 16px);
	box-sizing: border-box;
}

.bt_related_row .bt_bb_grid_item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.bt_related_row .bt_bb_grid_item_inner {
	padding: 8px 0;
}

@media (max-width: 1024px) {
	.bt_related_row .bt_bb_grid_item {
		flex: 0 0 calc(33.333% - 14px);
	}
}

@media (max-width: 480px) {
	.bt_related_row .bt_bb_grid_item {
		flex: 0 0 100%;
	}
}

/* Calculator Table */
.tableCalculadora {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.tableCalculadora th,
.tableCalculadora td {
	border: 1px solid #e1e1e1;
	padding: 10px;
}

.tableCalculadora th {
	background: #f7f7f7;
	font-weight: 600;
}

.txt_center {
	text-align: center;
}
