/* Product view page specific styles extracted from view.phtml */

.adsense-sidebar {
	width: 251px !important;
	height: 512px;
}

.product-column-container > .products-slider-subsection {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.similar-products.one-line .product-column-arrows {
	margin: 0;
	top: -130px;
}

.data-info iframe {
	max-width: 100%;
}

.mkt-loader-cmnt {
	position: relative;
}

.mkt-loader-cmnt form {
	z-index: 2;
}

.mkt-loader-cmnt form textarea {
	background: transparent;
}

.mkt-loader-cmnt .mkt-comment-loader {
	top: 20px;
	height: auto;
	z-index: 1;
}

.see-more {
	margin-top: 10px;
	margin-left: 6px;
}

#see-more-button {
	padding: 6px 12px;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

#see-more-button:hover {
	background-color: #0056b3;
	box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}

#see-more-button:active {
	background-color: #004085;
	box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

#see-more-button:focus {
	outline: none;
	border: 2px solid #0056b3;
}

/* Slider layering for hero area */
.product-main-item-photo.product-main-item-photo-slider {
	position: relative;
	overflow: hidden;
}

.product-main-item-photo.product-main-item-photo-slider .threejs-viewer-wrapper,
.product-main-item-photo.product-main-item-photo-slider .product-main-item-video,
.product-main-item-photo.product-main-item-photo-slider .slide-pane {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.product-main-item-photo.product-main-item-photo-slider .slide-pane {
	background-size: cover;
	background-position: center center;
	will-change: transform;
}

.product-main-item-photo.product-main-item-photo-slider .media-stage {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.product-view .product-main-item-photo .product-description-type-badge {
	position: absolute;
	top: 7px;
	right: 10px;
	z-index: 8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 88px;
	max-width: 180px;
	height: 26px;
	padding: 0 10px;
	border-radius: 14px;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.product-view .product-main-item-photo .product-description-type-badge .product-description-type-badge-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-view .product-main-item-photo .product-description-type-badge .product-description-type-badge-icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
}

.product-view .product-main-item-photo .product-description-type-badge .product-description-type-badge-icon svg {
	width: 100%;
	height: 100%;
}

.product-view .product-main-item-photo .product-description-type-badge--invention {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.product-view .product-main-item-photo .product-description-type-badge--upgrade {
	background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.product-view .product-main-item-photo .product-description-type-badge--tools {
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.product-view .product-main-item-photo .product-description-type-badge--part {
	background: linear-gradient(135deg, #8d6e63 0%, #6d4c41 100%);
}

.product-view .product-main-item-photo .product-description-type-badge--art {
	background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.product-view .product-main-item-photo .product-description-type-badge--default {
	background: linear-gradient(135deg, #607d8b 0%, #455a64 100%);
}

.product-view .product-main-item-photo .product-description-type-vote-popover {
	width: 230px;
	top: 38px;
}

.product-view .product-main-item-photo .product-description-type-vote-title {
	font-size: 12px;
	margin-bottom: 8px;
}

.product-view .product-main-item-photo .product-description-type-vote-option {
	height: 30px;
	font-size: 11px;
}

.product-view .product-main-item-photo .product-description-type-vote-option-percent {
	font-size: 11px;
}

/* Remixes tab layout & scroll */
#tab-remixes {
	text-align: center;
}

#tab-remixes .product-main-item {
	float: none;
	display: inline-block;
	vertical-align: top;
}

#tab-remixes.scrollable {
	max-height: 576px;
	overflow-y: auto;
	padding-right: 6px;
}

#tab-remixes.scrollable::-webkit-scrollbar {
	width: 8px;
}

#tab-remixes.scrollable::-webkit-scrollbar-thumb {
	background: #c2dced;
	border-radius: 6px;
}

#tab-remixes.scrollable::-webkit-scrollbar,
#tab-remixes.scrollable::-webkit-scrollbar-thumb,
#tab-remixes.scrollable::-webkit-scrollbar-track {
	cursor: pointer;
}

.tabs-title .remix-help-tab {
	display: inline-block;
	width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	border-radius: 50%;
	background: #b3b9c7;
	color: #ffffff;
	font-weight: bold;
	font-size: 10px;
	position: relative;
	vertical-align: middle;
	right: -13px;
}

.tabs-title li.selected-tab .remix-help-tab {
	background: #5aa4d6;
	color: #ffffff;
}

.tabs-title .remix-help-tab .remix-help-tooltip {
	display: none;
	position: absolute;
	top: 33px;
	left: -8px;
	background: #e8f3ff;
	border: 1px solid #b6d6ff;
	color: #0b3d78;
	padding: 6px 8px;
	border-radius: 6px;
	font-size: 16px;
	white-space: normal;
	width: 240px;
	text-align: left;
	box-shadow: 0 4px 12px rgba(2, 84, 164, 0.15);
	z-index: 999;
}

.tabs-title .remix-help-tab .remix-help-tooltip:before {
	content: '';
	position: absolute;
	top: -15px;
	left: 10px;
	border-width: 6px 6px 0 6px;
	border-style: solid;
	border-color: #b6d6ff transparent transparent transparent;
}

.tabs-title .remix-help-tab .remix-help-tooltip:after {
	content: '';
	position: absolute;
	top: -15px;
	left: 10px;
	border-width: 5px 5px 0 5px;
	border-style: solid;
	border-color: #e8f3ff transparent transparent transparent;
}

.tabs-title .remix-help-tab:hover .remix-help-tooltip,
.tabs-title .remix-help-tab:focus .remix-help-tooltip {
	display: block;
}

/* Download-all overlay popup */
#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 999;
}

#custom-popup {
	display: none;
	background-color: #fff;
	padding: 20px 25px;
	border-radius: 18px;
	text-align: center;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}

#custom-popup p {
	margin-bottom: 0;
}

#custom-popup button {
	background-color: #2098b3;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.1s ease;
}

#custom-popup button.cancel {
	border-radius: 15px;
	background-color: #5e7687;
	display: block;
	margin-left: auto;
	padding: 3px 8px;
	font-weight: bold;
	transition: background-color 0.1s ease;
	margin-bottom: 15px;
	margin-right: -15px;
	margin-top: -10px;
}

#custom-popup button.cancel:hover {
	background-color: #789aa3;
}

#custom-popup button:hover {
	background-color: #20abcb;
}

/* Product-view small cards: fixed dark base + bright fill by --vote-pct */
.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-list {
	align-items: stretch;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row {
	position: relative;
	display: flex;
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--vote-pct, 0%);
	background: linear-gradient(135deg, var(--vote-light, #87a1ad) 0%, var(--vote-strong, #526a74) 100%);
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
	pointer-events: none;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row.product-description-type-badge--invention {
	--vote-strong: #2b8ecf;
	--vote-light: #73bce8;
	background: #154a6f;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row.product-description-type-badge--upgrade {
	--vote-strong: #d97f14;
	--vote-light: #f3b461;
	background: #6f3e0a;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row.product-description-type-badge--tools {
	--vote-strong: #24a761;
	--vote-light: #63d699;
	background: #125432;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row.product-description-type-badge--part {
	--vote-strong: #735448;
	--vote-light: #a78879;
	background: #392922;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row.product-description-type-badge--art {
	--vote-strong: #8442a6;
	--vote-light: #b27acb;
	background: #432255;
}

.product-view .product-main-item-photo .product-description-type-info-popover .product-description-type-info-row.product-description-type-badge--default {
	--vote-strong: #526a74;
	--vote-light: #87a1ad;
	background: #2a373d;
}

