/*#########################*/
/*#### PRODUCT PAGE */
/*#########################*/
#product-info {
	padding: 20px 0;
	--product-scroll-offset: 140px;
	--product-sticky-offset: 110px;
}

.content .container {
	padding: 10px 40px !important;
} 

#product-info .product-gallery-wrapper {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

#product-info .product-image-container {
	position: relative;
	background: #f8f9fa;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#product-info .product-image-container img {
	max-width: 100%;
	max-height: 500px;
	object-fit: contain;
}

/* Product Badges on Image */
.product-image-badges {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	pointer-events: none;
}

.product-badge-ribbon {
	position: absolute;
	top: 15px;
	left: -25px;
	background: #dc3545;
	color: #fff;
	padding: 10px 50px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transform: rotate(-45deg);
	transform-origin: center;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
	z-index: 11;
	white-space: nowrap;
}

.product-badge-ribbon::before,
.product-badge-ribbon::after {
	content: '';
	position: absolute;
	bottom: -10px;
	width: 0;
	height: 0;
	border-style: solid;
}

.product-badge-ribbon::before {
	left: 0;
	border-width: 10px 0 0 10px;
	border-color: transparent transparent transparent #b02a37;
}

.product-badge-ribbon::after {
	right: 0;
	border-width: 10px 10px 0 0;
	border-color: transparent #b02a37 transparent transparent;
}

.product-badge-top-right {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--secondary-bg, #ff9800);
	color: var(--secondary-color, #fff);
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	z-index: 11;
}

.product-badge-top-right.badge-brand {
	background: #ff9800;
}

.product-badge-top-right.badge-new {
	background: #28a745;
}

.product-badge-top-right.badge-hot {
	background: #dc3545;
}

/* Product Info Section */
.product-info-section {
	background: #fff;
	border-radius: 8px;
	padding: 25px 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-brand-code {
	background: #f5f5f5;
	padding: 10px 18px;
	border-radius: 4px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	position: relative;
}

.product-brand-code .brand-code-left {
	flex: 1;
}

.product-brand-code .brand-name {
	color: var(--primary-bg, #007bff);
	text-decoration: underline;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.product-brand-code .product-id-right {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.product-brand-code .product-id {
	color: #6c757d;
	text-transform: lowercase;
	font-weight: 400;
	font-size: 12px;
}

.product-brand-code .product-code {
	color: #6c757d;
	text-transform: lowercase;
	font-weight: 400;
}

.product-info-section .product-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #212529;
	line-height: 1.4;
}

.product-info-section .product-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.product-info-section .product-meta li {
	padding: 8px 0;
	border-bottom: 1px solid #e9ecef;
	font-size: 14px;
	color: #6c757d;
}

.product-info-section .product-meta li:last-child {
	border-bottom: none;
}

.product-info-section .product-meta li strong {
	color: #212529;
	margin-right: 8px;
}

.product-info-section .product-rating {
	margin-bottom: 20px;
}

.product-info-section .product-rating .rating-stars {
	color: #ffc107;
	font-size: 16px;
	margin-right: 10px;
}

.product-info-section .product-rating a {
	color: var(--primary-bg, #007bff);
	text-decoration: none;
	font-size: 14px;
}

.product-info-section .product-price {
	margin-bottom: 30px;
}

.product-info-section .product-price {
	margin-bottom: 25px;
}

.product-info-section .product-price .price-new {
	font-size: 26px;
	font-weight: 700;
	color: #212529;
	display: block;
	line-height: 1.2;
}

.product-info-section .product-price .price-old {
	font-size: 18px;
	color: #6c757d;
	text-decoration: line-through;
	display: inline-block;
	margin-top: 5px;
}

/* Product Actions */
.product-actions-row {
	margin-bottom: 25px;
}

.product-actions-main {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}

.product-actions-main .product-quantity-group {
	flex-shrink: 0;
}

.product-actions-main .product-add-to-cart {
	flex: 1;
	min-width: 160px;
}

.product-quantity-group {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	flex-shrink: 0;
}

.product-quantity-group button {
	background: #fff;
	border: none;
	padding: 14px 18px;
	cursor: pointer;
	font-size: 18px;
	color: #495057;
	transition: all 0.2s ease;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
}

.product-quantity-group button:hover {
	background: #f8f9fa;
	color: var(--primary-bg, #007bff);
}

.product-quantity-group input {
	border: none;
	width: 70px;
	text-align: center;
	padding: 14px 8px;
	font-size: 16px;
	font-weight: 600;
	border-left: 1px solid #dee2e6;
	border-right: 1px solid #dee2e6;
	background: #fff;
}

.product-quantity-group input:focus {
	outline: none;
	background: #fff;
}

.product-add-to-cart {
	flex: 1;
	min-width: 180px;
	padding: 14px 25px;
	background: var(--primary-bg, #6c757d);
	color: var(--primary-color, #fff);
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.product-add-to-cart:hover:not(:disabled) {
	background: var(--primary-bg, #6c757d);
	opacity: 0.9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-add-to-cart:disabled {
	background: #adb5bd;
	cursor: not-allowed;
	transform: none;
	opacity: 0.7;
}

.product-action-buttons {
	display: flex;
	gap: 12px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.product-action-btn {
	background: #fff;
	border: 1px solid #dee2e6;
	padding: 11px 18px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #495057;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}

.product-action-btn:hover {
	background: #f8f9fa;
	border-color: var(--primary-bg, #007bff);
	color: var(--primary-bg, #007bff);
	text-decoration: none;
}

.product-action-btn.buy-now {
	background: var(--secondary-bg, #28a745);
	color: var(--secondary-color, #fff);
	border: none;
}

.product-action-btn.buy-now:hover {
	background: var(--secondary-bg, #28a745);
	opacity: 0.9;
	color: var(--secondary-color, #fff);
	text-decoration: none;
}

.product-action-btn.question {
	background: #dc3545;
	color: #fff;
	border: none;
}

.product-action-btn.question:hover {
	background: #c82333;
	color: #fff;
	text-decoration: none;
}

.product-action-btn .icon-square {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-right: 8px;
	flex-shrink: 0;
}

.product-action-btn.buy-now .icon-square {
	background: rgba(255, 255, 255, 0.35);
}

.product-action-btn.question .icon-square {
	background: rgba(255, 255, 255, 0.35);
}

.product-quick-actions-inline {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-left: auto;
}

.product-quick-actions-inline form {
	display: flex;
	gap: 8px;
}

.btn-quick-action {
	width: 42px;
	height: 42px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	color: #6c757d;
	transition: all 0.2s ease;
	font-size: 16px;
}

.btn-quick-action:hover {
	background: #e9ecef;
	border-color: #adb5bd;
	color: #495057;
}

/* Image Navigation */
.product-image-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #dee2e6;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 5;
}

.product-image-nav:hover {
	background: #fff;
	border-color: #007bff;
	color: #007bff;
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.product-image-nav.prev {
	left: 15px;
}

.product-image-nav.next {
	right: 15px;
}

/* Thumbnail Gallery */
.product-thumbnails {
	margin-top: 20px;
}

.product-thumbnails .owl-carousel .item {
	padding: 0 5px;
}

.product-thumbnails .owl-carousel .item img {
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.product-thumbnails .owl-carousel .item img:hover,
.product-thumbnails .owl-carousel .item img.active {
	border-color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
	.product-info-section {
		padding: 20px;
	}
	
	.product-info-section .product-title {
		font-size: 20px;
	}
	
	.product-actions-main {
		flex-direction: column;
	}
	
	.product-quantity-group {
		width: 100%;
	}
	
	.product-add-to-cart {
		width: 100%;
	}
	
	.product-quick-actions-inline {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}
	
	.product-action-buttons {
		flex-direction: column;
	}
	
	.product-action-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Product Tabs */
#product-info .nav-tabs {
	border-bottom: 2px solid #dee2e6;
	margin-top: 40px;
	margin-bottom: 20px;
}

#product-info .nav-tabs .nav-link {
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 20px;
	color: #6c757d;
	font-weight: 600;
	transition: all 0.2s ease;
}

#product-info .nav-tabs .nav-link:hover {
	border-bottom-color: #dee2e6;
	color: #495057;
}

#product-info .nav-tabs .nav-link.active {
	color: var(--primary-bg, #007bff);
	border-bottom-color: var(--primary-bg, #007bff);
	background: transparent;
}

#product-info .tab-content {
	padding: 20px 0;
}

#product-info .tab-content .tab-pane {
	min-height: 200px;
}

/* Product Highlights + Settings Card */
.product-highlight-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.product-highlight-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: 8px;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	font-size: 13px;
	color: #6c757d;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-highlight-item i {
	color: var(--primary-bg, #007bff);
	font-size: 16px;
	margin-top: 2px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 123, 255, 0.1);
}

.product-highlight-item .highlight-title {
	display: block;
	font-weight: 700;
	color: #212529;
	font-size: 13px;
}

.product-highlight-item .highlight-text {
	display: block;
	font-size: 12px;
}

.product-highlight-item:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 123, 255, 0.25);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.product-settings-card {
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e9ecef;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	padding: 16px 18px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.product-settings-title {
	font-weight: 700;
	color: #212529;
	margin-bottom: 12px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.product-settings-title::before {
	content: '';
	width: 6px;
	height: 18px;
	border-radius: 6px;
	background: var(--primary-bg, #007bff);
}

.product-settings-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 13px;
	color: #6c757d;
}

.product-settings-list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.product-settings-list i {
	color: var(--secondary-bg, #28a745);
}

.product-settings-card::after {
	content: '';
	position: absolute;
	right: -40px;
	top: -30px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(0, 123, 255, 0.08);
}

/* Product Sections + Scroll Navigation */
.product-section-nav {
	position: sticky;
	top: var(--product-sticky-offset);
	z-index: 12;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	margin: 30px 0 20px;
	backdrop-filter: blur(6px);
}

.product-section-link {
	text-decoration: none;
	font-weight: 600;
	color: #6c757d;
	padding: 8px 12px;
	border-radius: 6px;
	transition: all 0.2s ease;
	font-size: 14px;
	position: relative;
}

.product-section-link:hover {
	background: #f8f9fa;
	color: #212529;
}

.product-section-link.active {
	background: var(--primary-bg, #007bff);
	color: var(--primary-color, #fff);
}

.product-section {
	margin-bottom: 32px;
	scroll-margin-top: var(--product-scroll-offset);
}

.product-section-title {
	font-size: 20px;
	font-weight: 700;
	color: #212529;
	margin-bottom: 15px;
}

.product-section-body {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e9ecef;
	padding: 20px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
	line-height: 1.7;
	color: #495057;
}

.product-section-body p {
	margin-bottom: 12px;
}

.product-section-body ul,
.product-section-body ol {
	padding-left: 18px;
	margin-bottom: 12px;
}

.product-section-body table {
	margin-bottom: 0;
}

.product-tags a {
	color: var(--primary-bg, #007bff);
	text-decoration: none;
	margin-left: 6px;
}

.product-tags a:hover {
	text-decoration: underline;
}

@media (max-width: 992px) {
	.product-highlight-grid {
		grid-template-columns: 1fr;
	}

	.product-section-nav {
		gap: 8px;
	}
}

@media (max-width: 768px) {
	#product-info {
		--product-scroll-offset: 120px;
		--product-sticky-offset: 90px;
	}

	.product-section-nav {
		padding: 10px 12px;
		gap: 8px;
	}

	.product-section-link {
		font-size: 13px;
	}

	.product-section-body {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-highlight-item,
	.product-section-link {
		transition: none;
	}
}
