/*--------------------------------------------------------------
# Pagină Produs — CSS încărcat doar pe acest template
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Wrapper general (folosit de toate secțiunile de pe pagina produs)
--------------------------------------------------------------*/
.produs-page {
	padding: 3rem 1.5rem;
}

.produs-inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 1280px;
	margin: 0 auto;
}

.produs-section-card {
	padding: 1.75rem;
	border: 1px solid rgba(11, 16, 32, 0.08);
	border-radius: 14px;
	background-color: var(--color-white);
	box-shadow: 0 4px 24px rgba(11, 16, 32, 0.05);
}

.produs-section-title {
	margin-bottom: 1.25rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-dark);
}

/*--------------------------------------------------------------
# Produs Hero
--------------------------------------------------------------*/
.produs-hero-v2 {
	position: relative;
}

.produs-hero-v2-media-bg,
.produs-hero-v2-content-bg {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	display: none;
}

.produs-hero-v2-media-bg {
	left: 0;
	background: linear-gradient(135deg, #eef0f2 0%, #e2e5e8 100%);
}

.produs-hero-v2-content-bg {
	right: 0;
	background-color: var(--color-white);
}

@media screen and (min-width: 900px) {
	.produs-hero-v2-media-bg,
	.produs-hero-v2-content-bg {
		display: block;
	}
}

.produs-hero-v2-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	max-width: 1280px;
	margin: 0 auto;
}

@media screen and (min-width: 900px) {
	.produs-hero-v2-inner {
		grid-template-columns: 1fr 1fr;
	}
}

.produs-hero-v2-media {
	display: flex;
	flex-direction: column;
	min-height: 380px;
	padding: 2.5rem;
	background: linear-gradient(135deg, #eef0f2 0%, #e2e5e8 100%);
}

@media screen and (min-width: 900px) {
	.produs-hero-v2-media {
		background: none;
	}
}

.produs-hero-v2-eyebrow {
	margin-bottom: 1.5rem;
	font-family: 'Courier New', monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(11, 16, 32, 0.45);
}

.produs-gallery {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
}

.produs-gallery-main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
}

.produs-gallery-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.produs-gallery-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.produs-gallery-expand {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: none;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(11, 16, 32, 0.15);
	color: var(--color-dark);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.produs-gallery-expand svg {
	width: 17px;
	height: 17px;
}

.produs-gallery-expand:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	transform: scale(1.08);
}

/*--------------------------------------------------------------
# Lightbox — imagine mărită, tip slider
--------------------------------------------------------------*/
.produs-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(11, 16, 32, 0.92);
}

.produs-lightbox[hidden] {
	display: none;
}

.produs-lightbox-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90vw;
	height: 85vh;
}

.produs-lightbox-stage img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.produs-lightbox-close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--color-white);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.produs-lightbox-close:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.produs-lightbox-close svg {
	width: 20px;
	height: 20px;
}

.produs-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--color-white);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.produs-lightbox-nav:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.produs-lightbox-nav svg {
	width: 22px;
	height: 22px;
}

.produs-lightbox-prev {
	left: 1.25rem;
}

.produs-lightbox-next {
	right: 1.25rem;
}

.produs-lightbox-counter {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 640px) {
	.produs-lightbox-nav {
		width: 40px;
		height: 40px;
	}
	.produs-lightbox-prev {
		left: 0.5rem;
	}
	.produs-lightbox-next {
		right: 0.5rem;
	}
}

.produs-gallery-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.produs-gallery-thumbs {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}

.produs-gallery-thumb {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.25s ease;
}

.produs-gallery-thumb.is-active {
	opacity: 1;
}

.produs-gallery-thumb img {
	width: 64px;
	height: 64px;
	padding: 0.4rem;
	border: 1.5px solid rgba(11, 16, 32, 0.1);
	border-radius: 8px;
	background-color: var(--color-white);
	object-fit: contain;
	transition: border-color 0.25s ease;
}

.produs-gallery-thumb.is-active img {
	border-color: var(--color-primary);
}

.produs-gallery-thumb span {
	font-size: 10.5px;
	font-weight: 600;
	color: rgba(11, 16, 32, 0.6);
	text-align: center;
}

.produs-hero-v2-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	height: 100%;
	min-height: 280px;
	border: 1.5px dashed rgba(11, 16, 32, 0.22);
	border-radius: 10px;
	color: rgba(11, 16, 32, 0.35);
	font-size: 12.5px;
}

.produs-hero-v2-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.5rem;
	background-color: var(--color-white);
}

@media screen and (min-width: 900px) {
	.produs-hero-v2-content {
		padding: 3rem;
	}
}

.produs-hero-v2-title {
	margin-bottom: 1rem;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--color-dark);
}

@media screen and (min-width: 640px) {
	.produs-hero-v2-title {
		font-size: 2.5rem;
	}
}

.produs-hero-v2-subtitle {
	max-width: 480px;
	margin-bottom: 2rem;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(11, 16, 32, 0.6);
}

.produs-hero-v2-codes {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin-bottom: 1.5rem;
}

.produs-hero-v2-code {
	font-family: 'Courier New', monospace;
	font-size: 12px;
	color: rgba(11, 16, 32, 0.5);
}

.produs-hero-v2-code strong {
	font-weight: 700;
	color: var(--color-dark);
}

.produs-hero-v2-specs {
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 2rem;
	border-top: 1px solid rgba(11, 16, 32, 0.08);
}

@media screen and (min-width: 480px) {
	.produs-hero-v2-specs {
		grid-template-columns: 1fr 1fr;
	}
}

.produs-hero-v2-spec-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1.25rem 0.85rem 0;
	border-bottom: 1px solid rgba(11, 16, 32, 0.08);
}

.produs-hero-v2-spec-label {
	font-family: 'Courier New', monospace;
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(11, 16, 32, 0.45);
	white-space: nowrap;
}

.produs-hero-v2-spec-value {
	font-size: 14px;
	font-weight: 700;
	text-align: right;
	color: var(--color-dark);
}

.produs-hero-v2-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.produs-hero-v2-btn-primary {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.15rem 2.8rem;
	border: 4px solid transparent;
	border-radius: 8px;
	background-image:
		linear-gradient(var(--color-dark-90), var(--color-dark-90)),
		conic-gradient(
			from calc(-90deg + var(--og-btn-angle, 0deg)),
			var(--color-primary),
			#ffffff,
			var(--color-primary)
		);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	color: var(--color-white);
	font-size: 13.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	animation: og-btn-border-spin 3.5s linear infinite;
}

@property --og-btn-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

@keyframes og-btn-border-spin {
	to {
		--og-btn-angle: 360deg;
	}
}

.produs-hero-v2-btn-primary:visited {
	color: var(--color-white);
}

.produs-hero-v2-btn-primary::before {
	content: '';
	position: absolute;
	top: -15%;
	bottom: -15%;
	left: -12%;
	width: 68%;
	background-color: var(--color-primary);
	transform: skewX(-28deg);
	transition: width 0.45s cubic-bezier(0.65, 0, 0.35, 1);
	z-index: 0;
}

.produs-hero-v2-btn-primary:hover::before {
	width: 145%;
}

.produs-hero-v2-btn-primary-text,
.produs-hero-v2-btn-primary-arrow {
	position: relative;
	z-index: 1;
}

.produs-hero-v2-btn-primary-arrow {
	font-weight: 900;
	transition: transform 0.3s ease;
}

.produs-hero-v2-btn-primary:hover .produs-hero-v2-btn-primary-arrow {
	transform: translateX(3px);
}

.produs-hero-v2-btn-secondary {
	padding: 0.95rem 1.75rem;
	border: 1px solid rgba(11, 16, 32, 0.15);
	border-radius: 8px;
	background-color: var(--color-white);
	color: var(--color-dark);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.produs-hero-v2-btn-secondary:visited {
	color: var(--color-dark);
}

.produs-hero-v2-btn-secondary:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Produs — Descriere (listă de avantaje)
--------------------------------------------------------------*/
.produs-avantaje-list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.produs-avantaj {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 1.25rem;
}

@media screen and (min-width: 768px) {
	.produs-avantaj {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

.produs-avantaj-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.produs-avantaj-titlu {
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-dark);
}

.produs-avantaj-descriere {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(11, 16, 32, 0.7);
}

.produs-avantaj-image-wrap {
	width: 100%;
	padding: 16px;
	border: 1px solid rgba(11, 16, 32, 0.08);
	border-radius: 10px;
	background-color: var(--color-white);
}

.produs-avantaj-imagine {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

/*--------------------------------------------------------------
# Produs — Funcții (grid plat din bibliotecă)
--------------------------------------------------------------*/
.produs-functii-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media screen and (min-width: 640px) {
	.produs-functii-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.produs-functii-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.produs-functie-card {
	display: flex;
	gap: 0.85rem;
	padding: 1.1rem;
	border: 1px solid rgba(11, 16, 32, 0.07);
	border-radius: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.produs-functie-card:hover {
	border-color: rgba(0, 137, 150, 0.3);
	box-shadow: 0 4px 16px rgba(11, 16, 32, 0.06);
}

.produs-functie-icon {
	flex-shrink: 0;
	width: 55px;
	height: 55px;
	object-fit: contain;
}

.produs-functie-title {
	margin-bottom: 0.35rem;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-dark);
}

.produs-functie-desc {
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(11, 16, 32, 0.6);
}

/*--------------------------------------------------------------
# Produs — Documentație (grid de fișiere descărcabile)
--------------------------------------------------------------*/
.produs-docs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media screen and (min-width: 640px) {
	.produs-docs-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.produs-docs-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.produs-doc-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.1rem;
	border: 1px solid rgba(11, 16, 32, 0.08);
	border-radius: 10px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.produs-doc-card:hover {
	border-color: rgba(0, 137, 150, 0.3);
	box-shadow: 0 4px 16px rgba(11, 16, 32, 0.06);
}

.produs-doc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: rgba(0, 137, 150, 0.08);
	color: var(--color-primary);
}

.produs-doc-icon svg {
	width: 20px;
	height: 20px;
}

.produs-doc-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-dark);
}

.produs-doc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	width: 100%;
	margin-top: auto;
}

.produs-doc-btn {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 0.5rem 0.75rem;
	border-radius: 7px;
	font-size: 11.5px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.produs-doc-btn span {
	font-weight: 400;
	opacity: 0.8;
}

.produs-doc-btn-download {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.produs-doc-btn-download:visited {
	color: var(--color-white);
}

.produs-doc-btn-download:hover {
	background-color: var(--color-primary-dark);
}

.produs-doc-btn-view {
	border: 1px solid rgba(11, 16, 32, 0.15);
	background-color: transparent;
	color: rgba(11, 16, 32, 0.6);
}

.produs-doc-btn-view:visited {
	color: rgba(11, 16, 32, 0.6);
}

.produs-doc-btn-view:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Produs — Specificații tehnice (tab-uri pe grupuri fixe)
--------------------------------------------------------------*/
.produs-specs-tabs {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0;
	border-bottom: 1px solid rgba(11, 16, 32, 0.08);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.produs-specs-tabs::-webkit-scrollbar {
	display: none;
}

.produs-specs-tab {
	position: relative;
	flex-shrink: 0;
	padding: 0.75rem 0.1rem;
	border: none;
	background: none;
	font-size: 13px;
	font-weight: 600;
	color: rgba(11, 16, 32, 0.5);
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease;
}

.produs-specs-tab::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background-color: var(--color-primary);
	transform: scaleX(0);
	transition: transform 0.25s ease;
}

.produs-specs-tab.is-active {
	color: var(--color-dark);
}

.produs-specs-tab.is-active::after {
	transform: scaleX(1);
}

.produs-specs-panel {
	display: none;
}

.produs-specs-panel.is-active {
	display: block;
}

.produs-specs-rows {
	width: 100%;
	border-collapse: collapse;
}

.produs-specs-rows tr {
	border-bottom: 1px solid rgba(11, 16, 32, 0.05);
}

.produs-specs-rows tr:last-child {
	border-bottom: none;
}

.produs-specs-label {
	width: 55%;
	padding: 0.55rem 0;
	font-size: 13px;
	color: rgba(11, 16, 32, 0.6);
}

.produs-specs-value {
	padding: 0.55rem 0;
	font-size: 13px;
	font-weight: 600;
	text-align: right;
	color: var(--color-dark);
}

/*--------------------------------------------------------------
# Produs — Subnav (bară sticky, construită dinamic de JS)
--------------------------------------------------------------*/
.produs-subnav-wrap {
	position: sticky;
	top: var(--header-height);
	z-index: 25;
	border-bottom: 1px solid rgba(11, 16, 32, 0.06);
	background-color: #f7f7f8;
}

@media screen and (min-width: 1024px) {
	.produs-subnav-wrap {
		top: var(--header-height-lg);
	}
}

.produs-subnav-inner {
	display: flex;
	gap: 1.75rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.produs-subnav-inner::-webkit-scrollbar {
	display: none;
}

.produs-subnav-btn {
	position: relative;
	flex-shrink: 0;
	padding: 0.9rem 0.1rem;
	border: none;
	background: none;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(11, 16, 32, 0.55);
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease;
}

.produs-subnav-btn::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: var(--color-primary);
	transform: scaleX(0);
	transition: transform 0.25s ease;
}

.produs-subnav-btn.is-active {
	color: var(--color-dark);
}

.produs-subnav-btn.is-active::after {
	transform: scaleX(1);
}
