/* ShopNova product — editorial studio PDP */

.sn-pdp {
	margin: 0 0 40px;
}

.sn-pdp__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
	gap: 36px 56px;
	align-items: start;
}

.product-showcase,
.product-showcase__inner {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.product-gallery {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

@media (min-width: 992px) {
	.sn-pdp__gallery {
		position: sticky;
		top: calc(var(--sn-header-offset, 168px) + 16px);
		z-index: 2;
	}
}

.product-gallery__stage {
	min-width: 0;
}

.product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.25rem;
	border: 1px solid var(--sn-line, #e6edf5);
	border-radius: 24px;
	background: #fff;
	overflow: hidden;
}

.product-gallery__main img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
	cursor: zoom-in;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-gallery__main:hover img {
	transform: scale(1.035);
}

.product-gallery__discount {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	padding: 0.38rem 0.78rem;
	border-radius: 999px;
	background: var(--sn-hot, #e23d3d);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.product-gallery__alert,
.product-gallery__zoom {
	position: absolute;
	z-index: 4;
	width: 42px;
	height: 42px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #475569;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
	backdrop-filter: blur(8px);
	transition: color 0.15s ease, transform 0.15s ease;
}

.product-gallery__alert { top: 16px; right: 16px; }
.product-gallery__zoom { bottom: 16px; right: 16px; }

.product-gallery__alert:hover,
.product-gallery__zoom:hover {
	background: #fff;
	color: var(--sn-blue, #1e5bdb);
	transform: translateY(-1px);
}

.product-gallery__alert.alertButton:hover {
	background: #fff;
	color: var(--sn-blue, #1e5bdb);
}

.product-gallery__alert.alertButton:hover svg {
	stroke: currentColor;
	color: inherit;
}

.product-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--sn-blue, #1e5bdb);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	transition: opacity 0.2s ease, background 0.15s ease;
}

.product-gallery__main:hover .product-gallery__nav,
.product-gallery__nav:focus-visible {
	opacity: 1;
}

.product-gallery__nav:hover { background: #fff; }
.product-gallery__nav--prev { left: 14px; }
.product-gallery__nav--next { right: 14px; }

.product-gallery__thumbs {
	display: flex;
	flex-direction: row;
	gap: 10px;
	flex: 0 0 auto;
	max-height: none;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 6px;
	scrollbar-width: thin;
}

.product-gallery__thumb {
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid var(--sn-line, #e6edf5);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	flex: 0 0 auto;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.product-gallery__thumb:hover {
	transform: translateY(-1px);
}

.product-gallery__thumb.active {
	border-color: var(--sn-blue, #1e5bdb);
	box-shadow: 0 0 0 3px rgba(30, 91, 219, 0.16);
	background: #fff;
}

.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-purchase-card {
	height: 100%;
	padding: 8px 0 0;
}

.product-heading {
	padding-bottom: 0;
}

.product-brand-link {
	display: inline-block;
	margin-bottom: 0.55rem;
	color: var(--sn-blue, #1e5bdb);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-decoration: none;
	text-transform: uppercase;
}

.product-brand-link:hover { color: var(--sn-blue, #1e5bdb); }

.product-heading h1 {
	margin: 0;
	color: #0f172a;
	font-size: clamp(1.55rem, 2.4vw, 2.15rem);
	font-weight: 750;
	letter-spacing: -0.045em;
	line-height: 1.18;
}

.product-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.9rem;
	margin-top: 0.85rem;
	font-size: 0.84rem;
	color: #64748b;
}

.product-meta-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	color: #b45309;
	font-weight: 800;
	font-size: 0.86rem;
	background: none;
	padding: 0;
}

.product-meta-link { color: #64748b; }

.product-meta-sku {
	margin-left: auto;
	font-size: 12px;
	color: #94a3b8;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.product-price-panel {
	margin: 1.35rem 0 1.25rem;
	padding: 1.15rem 0 0;
	border: 0;
	border-top: 1px solid #e8edf3;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.product-price-panel__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.7rem;
	margin-bottom: 0.25rem;
}

.old-price {
	text-decoration: line-through;
	color: #94a3b8;
	font-size: 1rem;
	font-weight: 500;
}

.discount-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	background: #fdecec;
	color: var(--sn-hot, #e23d3d);
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.product-price-save {
	color: #15803d;
	font-size: 0.82rem;
	font-weight: 650;
}

.product-price-panel__main {
	display: flex;
	align-items: baseline;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.current-price {
	font-size: clamp(1.85rem, 3.2vw, 2.45rem);
	line-height: 1.1;
	color: var(--sn-blue, #1e5bdb);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.product-price-panel .price-unit {
	font-size: 0.5em;
	font-weight: 600;
	color: #64748b;
	letter-spacing: 0;
}

.product-price-vat {
	color: #94a3b8;
	font-size: 0.8rem;
	font-weight: 500;
}

.sn-pdp__havale {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #334155;
	font-size: 13px;
	font-weight: 500;
}

.sn-pdp__havale strong { color: var(--sn-blue, #1e5bdb); }

.sn-pdp__havale span {
	margin-left: 0;
	color: var(--sn-blue, #1e5bdb);
	font-weight: 800;
}

.product-stock-status {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.85rem;
	color: #15803d;
	font-size: 0.86rem;
	font-weight: 600;
}

.product-stock-status.is-out { color: #b91c1c; }

.product-stock-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	flex: 0 0 auto;
	box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}

.product-stock-status.is-out .product-stock-dot {
	box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.14);
}

.product-stock-low {
	color: var(--sn-hot, #e23d3d);
	font-weight: 700;
}

.product-short-desc {
	margin: 14px 0 0;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.65;
	max-width: 38em;
}

.product-variation-group {
	width: 100%;
	float: none;
}

.product-variation-label {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.65rem;
	color: #0f172a;
}

.product-variation-selected {
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--sn-blue, #1e5bdb);
}

.product-variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.product-variation-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.85rem;
	min-height: 2.6rem;
	padding: 0.4rem 0.95rem;
	border: 1px solid #dbe3ee;
	border-radius: 999px;
	background: #fff;
	color: #334155;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.product-variation-option:hover:not(:disabled):not(.active) {
	border-color: var(--sn-blue, #1e5bdb);
	color: var(--sn-blue, #1e5bdb);
}

.product-variation-option.active {
	background: var(--sn-blue, #1e5bdb);
	border-color: var(--sn-blue, #1e5bdb);
	color: #fff;
	box-shadow: 0 8px 18px rgba(30, 91, 219, 0.22);
}

.product-variation-option:disabled {
	opacity: 0.38;
	cursor: not-allowed;
	text-decoration: line-through;
}

#variationHint {
	font-size: 0.8rem;
	margin-top: 0.35rem;
}

.product-buy-block {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0.5rem 0 1.35rem;
}

.product-buy-main {
	display: flex;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
}

.qty-picker {
	display: flex;
	border: 1px solid #dbe3ee;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	flex: 0 0 auto;
	min-height: 54px;
}

.qty-btn {
	background: #fff;
	border: none;
	padding: 0 14px;
	min-width: 38px;
	font-size: 20px;
	color: #64748b;
}

.qty-btn:hover { background: #f4f7fb; color: var(--sn-blue, #1e5bdb); }

.qty-input {
	width: 42px;
	border: none;
	text-align: center;
	font-weight: 800;
	color: var(--sn-blue, #1e5bdb);
}

.product-buy-main .cart-button {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 54px;
	border: 0;
	border-radius: 14px;
	font-weight: 800;
	letter-spacing: 0.01em;
	margin: 0;
	background: var(--sn-blue, #1e5bdb);
	color: #fff;
	box-shadow: 0 12px 28px rgba(30, 91, 219, 0.22);
}

.product-buy-main .cart-button:hover {
	background: var(--sn-blue-dark, #1547b0);
	color: #fff;
}

.product-buy-main .cart-button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	box-shadow: none;
}

.product-fav-btn {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dbe3ee;
	border-radius: 14px;
	background: #fff;
	color: #334155;
}

.product-fav-btn:hover {
	border-color: var(--sn-hot, #e23d3d);
	color: var(--sn-hot, #e23d3d);
	background: #fff7f7;
}

.product-fav-btn.active,
.product-fav-btn.active:hover {
	border-color: #fda4af;
	background: #fff1f2;
	color: var(--sn-hot, #e23d3d);
}

.product-fav-btn.active svg { fill: currentColor; }

.product-buy-block .btn-buy-now {
	width: 100%;
	min-height: 50px;
	border: 1px solid #cfd8e6;
	border-radius: 14px;
	background: transparent;
	color: var(--sn-blue, #1e5bdb);
	font-weight: 750;
	margin: 0;
}

.product-buy-block .btn-buy-now:hover {
	background: var(--sn-blue, #1e5bdb);
	border-color: var(--sn-blue, #1e5bdb);
	color: #fff;
}

.product-buy-block .btn-buy-now:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.m2-measure { width: 100%; margin-bottom: 0; }

.m2-measure__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 8px;
}

.m2-measure__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-size: 13px;
	color: #64748b;
}

.m2-measure__field .form-control {
	border: 1px solid #dbe3ee;
	border-radius: 12px;
	padding: 10px 12px;
	font-weight: 600;
}

.product-service-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 1.1rem 0 0;
	border: 0;
	border-top: 1px solid #e8edf3;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	gap: 12px;
}

.product-service-list li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	padding: 0;
	border: 0;
}

.product-service-list .product-service-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	font-size: 0;
	border-radius: 10px;
	background: #eef2f8;
	color: var(--sn-blue, #1e5bdb);
}

.product-service-list .product-service-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
	flex-shrink: 0;
}

.product-service-list li > div span {
	display: block;
	color: #64748b;
	font-size: 0.75rem;
	line-height: 1.4;
}

.product-service-list strong {
	display: block;
	color: #0f172a;
	font-size: 0.8rem;
	font-weight: 750;
	margin-bottom: 0.15rem;
	line-height: 1.3;
}

.product-content-tabs {
	margin: 8px 0 40px;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.product-content-tabs .nav-tabs {
	gap: 4px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e8edf3;
	background: transparent;
	flex-wrap: wrap;
	overflow: visible;
}

.product-content-tabs .nav-link {
	border: 0;
	border-radius: 0;
	color: #64748b;
	font-weight: 700;
	padding: 12px 4px 14px;
	margin-right: 22px;
	position: relative;
	white-space: nowrap;
	background: transparent;
}

.product-content-tabs .nav-link.active {
	background: transparent;
	color: var(--sn-blue, #1e5bdb);
	box-shadow: inset 0 -2px 0 var(--sn-blue, #1e5bdb);
}

.product-tab-content {
	min-height: 0;
	padding: clamp(1.25rem, 2.5vw, 1.85rem) 0 0;
	background: transparent;
	line-height: 1.75;
	color: #334155;
	font-size: 0.97rem;
	width: 100%;
	max-width: none;
	overflow: visible;
	height: auto;
}

.product-tab-content > .tab-pane,
#description,
#reviews,
#question {
	overflow: visible;
	max-height: none;
	height: auto;
}

.sn-pdp-related {
	margin: 8px 0 48px;
}

.sn-pdp-related__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.sn-pdp-related__head .sn-section__title {
	margin: 0;
}

.sn-pdp-related__tools {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.sn-rail__more {
	color: var(--sn-blue, #1e5bdb);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.sn-rail__more:hover { text-decoration: underline; }

.sn-rail {
	position: relative;
}

.sn-rail__nav {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.sn-rail__btn {
	width: 36px;
	height: 36px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sn-line, #e6edf5);
	border-radius: 50%;
	background: #fff;
	color: var(--sn-blue, #1e5bdb);
	cursor: pointer;
}

.sn-rail__btn:hover {
	background: var(--sn-blue, #1e5bdb);
	border-color: var(--sn-blue, #1e5bdb);
	color: #fff;
}

.sn-rail__btn:disabled {
	opacity: 0.35;
	cursor: default;
	background: #fff;
	border-color: var(--sn-line, #e6edf5);
	color: #94a3b8;
}

.sn-rail__track {
	display: flex;
	align-items: stretch;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 2px 0 6px;
}

.sn-rail__track::-webkit-scrollbar { display: none; }

.sn-rail__track > .sn-card {
	flex: 0 0 calc((100% - 56px) / 5);
	width: calc((100% - 56px) / 5);
	scroll-snap-align: start;
	min-width: 0;
	height: auto;
	align-self: stretch;
}

.productMiniDetail > div {
	width: 100%;
	float: left;
	padding: 10px 0;
	border-bottom: 1px solid var(--sn-line, #e6edf5);
}

.productMiniDetail > div b { width: 50%; float: left; }

.product-lightbox {
	position: relative;
	padding: 24px;
	background: #fff;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#imageModal .modal-content {
	background: #fff;
	border: 0;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

#imageModal .modal-header {
	background: #fff;
	border-bottom: 1px solid var(--sn-line, #e6edf5);
}

#imageModal .modal-body {
	background: #fff;
}

.product-lightbox .imageFull {
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
}

.product-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 42px;
	height: 42px;
	border: 1px solid var(--sn-line, #e6edf5);
	border-radius: 50%;
	background: #fff;
	color: var(--sn-blue, #1e5bdb);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.product-lightbox__nav:hover { background: #fff; }
.product-lightbox__nav--prev { left: 12px; }
.product-lightbox__nav--next { right: 12px; }

.product-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f4f7fb;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 991.98px) {
	.sn-pdp__layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.product-gallery__main {
		aspect-ratio: 4 / 5;
		padding: 1.25rem;
		border-radius: 18px;
	}

	.product-gallery__nav { opacity: 1; }

	.product-heading h1 {
		font-size: 1.5rem;
	}

	.product-meta-sku {
		margin-left: 0;
		width: 100%;
	}

	.product-service-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.sn-rail__track > .sn-card {
		flex: 0 0 calc((100% - 28px) / 3);
		width: calc((100% - 28px) / 3);
	}
}

@media (max-width: 767.98px) {
	body.sn-body#product #productTabs {
		flex-wrap: wrap !important;
		overflow: visible;
		mask-image: none;
		-webkit-mask-image: none;
	}
}

@media (max-width: 575.98px) {
	.product-buy-main .cart-button {
		font-size: 0.9rem;
		padding-left: 0.55rem;
		padding-right: 0.55rem;
	}

	.product-gallery__thumb {
		width: 58px;
		height: 58px;
		border-radius: 12px;
	}

	.product-gallery__alert,
	.product-gallery__zoom {
		width: 38px;
		height: 38px;
	}

	.sn-rail__track > .sn-card {
		flex: 0 0 calc((100% - 14px) / 2);
		width: calc((100% - 14px) / 2);
	}
}
