/* ====================== PRODUCT CARD CLEAN PREMIUM ====================== */

.pg-pro-card {
	background: #fff;
	border-radius: 16px;
	padding: 14px;
	position: relative;
	overflow: hidden;

	/* clean subtle shadow */
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
	border: 1px solid #f1f1f1;

	transition: 0.24s ease;

	display: flex;
	flex-direction: column;
	height: 100%;
	/* height: 480px !important; */
}

/* Gentle hover */
.pg-pro-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* ====================== WISHLIST ICON ====================== */
.pg-pro-card .fa-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 16px;
	color: #555;
	opacity: 0.85;
	z-index: 10;
	transition: 0.2s;
}

.pg-pro-card .fa-heart:hover {
	color: #ff4d4d;
	transform: scale(1.15);
}

.pg-pro-card .fa-heart.active {
	color: #ff4d4d;
}

/* ====================== PRODUCT IMAGE ====================== */

.pg-pro-image {
	height: 280px; /* FIXED SIZE */
	width: 100% !important;
	background: #f7f7f7;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pg-pro-image img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* FIXES CROPPING ISSUE */
	transition: 0.25s ease;
}

/* image hover lift */
.pg-pro-card:hover .pg-pro-image img {
	transform: scale(1.06);
}

/* ====================== TITLE ====================== */
.pg-pro-title {
	font-size: 14px;
	font-weight: 600;
	color: #222;
	margin-top: 10px;
	min-height: 38px;

	line-height: 1.4;
	max-height: calc(1.4em * 2); /* 2 lines */
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* show 2 lines max */
	-webkit-box-orient: vertical;
}

/* ====================== PRICE ====================== */
.pg-pro-price {
	margin: 6px 0 10px;
}

.pg-price-new {
	font-size: 17px;
	font-weight: 700;
	color: #ff6600;
}

.pg-price-old {
	color: #999;
	font-size: 12px;
	margin-left: 6px;
	text-decoration: line-through;
}

/* ====================== COLOR SWATCHES ====================== */
.pg-color-swatch-box {
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 12px;
}

.pg-color-circle {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #ddd;
	cursor: pointer;
	transition: 0.2s;
}

.pg-color-circle:hover,
.pg-color-circle.active {
	border-color: #ff6600;
	transform: scale(1.15);
}

/* ====================== BUTTONS ====================== */
.pg-pro-btns {
	/* margin-top: 0; */
	display: flex;
	flex-direction: column;
	gap: 7px;

	margin-top: auto;
}

/* Add to cart */
.pg-btn-add {
	background: #ff6600;
	color: #fff;
	border: none;
	padding: 9px 0;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	transition: 0.2s;
}

.pg-btn-add:hover {
	background: #e25500;
}

/* Buy now */
.pg-btn-buy {
	background: #1a1a1a;
	color: #fff;
	border: none;
	padding: 9px 0;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	transition: 0.2s;
}

.pg-btn-buy:hover {
	background: #000;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
	.pg-pro-image {
		height: 250px;
	}
	.pg-pro-title {
		font-size: 13px;
	}
}

.discount-badge-top {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #ff6600;
	color: #fff;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: bold;
	border-radius: 6px;
	z-index: 10;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.pg-pro-card {
	position: relative; /* important for badge */
}
.price-box {
	margin-top: 8px;
}

.discount-text {
	font-size: 14px;
	font-weight: 600;
	color: #ff3b30;
	margin-bottom: 3px;
	display: block;
}

.new-price {
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	margin-right: 8px;
}

.old-price {
	font-size: 18px;
	color: #6b7280;
	text-decoration: line-through;
}

.pg-qty-swatch-box {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.pg-qty-box {
	padding: 6px 14px;
	background: #000;
	border: 1px solid #ccc;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s ease;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	min-width: 80px;
	text-align: center;
	white-space: nowrap;
}

.pg-qty-box:hover,
.pg-qty-box.active {
	background: #ff6600;
	border-color: #ff6600;
	color: #fff;
}

.top-announcement-bar {
	background: #000;
	color: #fff;
	padding: 6px 0;
	font-size: 14px;
	overflow: hidden;
	text-align: center;
}

.top-announcement-bar a {
	color: #fff;
	text-decoration: underline;
}

.ann-marquee {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.ann-track {
	display: inline-block;
	padding-left: 100%;

	animation: annScroll 10s linear infinite;
}

.ann-item {
	display: inline-block;
	margin-right: 80px;
}

@keyframes annScroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

@media (max-width: 768px) {
	.top-announcement-bar {
		display: none;
	}
}

.top-announcement-bar-mobile {
	background: #000;
	color: #fff;
	padding: 6px 0;
	font-size: 14px;
	overflow: hidden;
	text-align: center;
	display: none; /* default: HIDE */
}

.top-announcement-bar-mobile a {
	color: #fff;
	text-decoration: underline;
}

.ann-marquee-mobile {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.ann-track-mobile {
	display: inline-block;
	padding-left: 100%;
	animation: annScroll 10s linear infinite;
}

.ann-item-mobile {
	display: inline-block;
	margin-right: 80px;
}

/* SAME KEYFRAMES */
@keyframes annScroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* ---- MOBILE ONLY SHOW ---- */
@media (max-width: 768px) {
	.top-announcement-bar-mobile {
		display: block;
	}
}

.view-all-products-btn {
	display: inline-block;
	padding: 12px 40px;
	border-radius: 8px;
	background: #ff6600;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	transition: 0.2s ease;
	width: auto !important; /* taake full width na ho */
}

.view-all-products-btn:hover {
	background: #e25500;
	color: #fff;
}

/* ====================== product details page css start ====================== */

/* MAIN LAYOUT */
.product-wrapper {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 40px;
	margin-top: 30px;
}

.left-gallery {
	width: 48%;
}

.right-info {
	width: 48%;
}

/* IMAGE ZOOM */
.main-image {
	width: 100%;
	height: 420px;
	border-radius: 16px;
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	cursor: zoom-in;
	transition: 0.3s ease;
}

.main-image:hover {
	transform: scale(1.03);
}

/* Thumbnail Slider */
.thumb-list {
	display: flex;
	gap: 12px;
	margin-top: 12px;
}

.thumb {
	width: 85px;
	height: 85px;
	border-radius: 10px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	transition: 0.3s;
}

.thumb.active {
	border-color: #ff6600;
}

/* Product Title + Price */
.product-title {
	font-size: 34px;
	font-weight: 800;
}

.price-box {
	margin: 15px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.new-price {
	font-size: 20px;
	font-weight: bold;
	color: #ff6600;
}

.old-price {
	text-decoration: line-through;
	font-size: 16px;
	margin-left: 10px;
	color: #777;
}

/* Variant Colors */
.color-select {
	display: flex;
	gap: 10px;
	margin: 10px 0;
}

.color-circle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid #ccc;
	transition: 0.3s;
}

.color-circle.active {
	border-color: #ff6600;
	transform: scale(1.1);
}

/* Buttons */
.pg-btn {
	padding: 14px 32px;
	font-size: 18px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
}

.pg-btn-cart {
	background: #ff6600;
	color: #fff;
}

.pg-btn-buy {
	background: #000;
	color: #fff;
	/* margin-left: 15px; */
}

/* Tabs */
.section-title {
	margin-top: 50px;
	font-size: 28px;
	font-weight: 700;
}

.desc-box,
.spec-box,
.review-box {
	margin-top: 20px;
}

.review-item {
	background: #f8f8f8;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.product-wrapper {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 40px;
	margin-top: 30px;
}

.left-gallery {
	width: 48%;
}

.right-info {
	width: 48%;
}

@media (max-width: 768px) {
	.product-wrapper {
		flex-direction: column !important;
	}

	.left-gallery,
	.right-info {
		width: 100% !important;
	}
}

.image-wrapper {
	position: relative;
}

.discount-image-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #ff3d00;
	color: #fff;
	padding: 8px 18px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	z-index: 20;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
	from {
		transform: translateY(-10px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.review-item {
	background: #fafafa;
	padding: 18px 22px;
	border-radius: 12px;
	margin-bottom: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.review-avatar {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	margin-right: 10px;
}

.review-user {
	display: flex;
	align-items: center;
}

.review-images img {
	width: 70px;
	height: 70px;
	border-radius: 8px;
	margin-right: 10px;
	object-fit: cover;
	border: 2px solid #eee;
}

.product-slider-section .swiper-slide {
	height: auto;
}

.product-slider-section .pg-pro-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-slider-section .pg-pro-btns {
	margin-top: auto;
}

/* ---------- MOBILE TWEAKS ---------- */
@media (max-width: 575.98px) {
	/* card ko center rakhne ke liye */
	.product-slider-section .swiper-slide {
		display: flex;
		justify-content: center;
	}

	.product-slider-section .pg-pro-card {
		width: 90%; /* thora margin left/right */
	}

	/* mobile par arrows hide, sirf dots use karo */
	.product-slider-section .swiper-button-next,
	.product-slider-section .swiper-button-prev {
		display: none;
	}

	.product-slider-section .swiper-pagination {
		margin-top: 12px;
	}
}

/* tablet ke liye thora adjust */
@media (min-width: 576px) and (max-width: 991.98px) {
	.product-slider-section .pg-pro-card {
		width: 100%;
	}
}

/* ====================== product details page css end ====================== */
@media (max-width: 768px) {
	.col-12.d-flex {
		justify-content: center !important;
	}

	.pg-pro-card {
		width: 90% !important;
		margin: 0 auto; /* perfect center */
	}

	.pg-pro-image {
		width: 100% !important;
		height: 270px !important;
	}
}

.pg-qty-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 12px 25px;
	border-radius: 40px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
	width: fit-content;
	/* margin: 0 auto 20px auto; */
	gap: 25px; /* spacing */
}

.pg-qty-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: #f0f0f0;
	font-size: 22px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pg-qty-btn:hover {
	background: #000;
	color: #fff;
}

.pg-qty-number {
	font-size: 20px;
	font-weight: 600;
	min-width: 20px;
	text-align: center;
	display: inline-block;
}

.search-bar {
	padding: 12px 18px;
	border-radius: 25px;
	border: 1px solid #ddd;
	font-size: 15px;
}

.search-suggestion-box {
	display: none;
	position: absolute;
	top: 48px;
	width: 100%;
	background: white;
	border: 1px solid #ddd;
	border-radius: 10px;
	max-height: 260px;
	overflow-y: auto;
	z-index: 9999;
	box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
}

.search-item {
	padding: 10px 15px;
	cursor: pointer;
}

.search-item:hover {
	background: #f3f3f3;
}

/* ====================== product slider home page css  ====================== */
.featuredSwiper {
	padding-bottom: 40px; /* dots + arrows ke liye space */
}

.featuredSwiper .swiper-button-next,
.featuredSwiper .swiper-button-prev {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
	font-size: 14px;
}

.featuredSwiper .swiper-button-next::after,
.featuredSwiper .swiper-button-prev::after {
	font-size: 16px;
}

.featuredSwiper .swiper-pagination-bullet-active {
	transform: scale(1.2);
}

/* common slider wrapper thoda breathing space */
.featuredSwiper,
.accessoriesSwiper {
	padding: 10px 0 40px;
	 padding-bottom: 50px;
}

/* arrows – small, circular, clean */
.featuredSwiper .swiper-button-next,
.featuredSwiper .swiper-button-prev,
.accessoriesSwiper .swiper-button-next,
.accessoriesSwiper .swiper-button-prev {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.04);
	top: 50%;
	transform: translateY(-50%);
}

.featuredSwiper .swiper-button-next::after,
.featuredSwiper .swiper-button-prev::after,
.accessoriesSwiper .swiper-button-next::after,
.accessoriesSwiper .swiper-button-prev::after {
	font-size: 14px;
	font-weight: 700;
	color: #ff7a00; /* tumhari orange brand feel jaisi */
}

/* hover effect on arrows */
.featuredSwiper .swiper-button-next:hover,
.featuredSwiper .swiper-button-prev:hover,
.accessoriesSwiper .swiper-button-next:hover,
.accessoriesSwiper .swiper-button-prev:hover {
	transform: translateY(-50%) scale(1.05);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* pagination dots */
.featuredSwiper .swiper-pagination-bullet,
.accessoriesSwiper .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	opacity: 0.5;
	background: #bfbfbf;
}

.featuredSwiper .swiper-pagination-bullet-active,
.accessoriesSwiper .swiper-pagination-bullet-active {
	width: 18px;
	border-radius: 999px;
	background: #ff7a00;
	opacity: 1;
	transform: translateY(-1px);
}

.featuredSwiper .swiper-pagination,
.accessoriesSwiper .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 15px;
}


/* ====================== product slider home page css  ====================== */

/* PRODUCT GALLERY WRAPPER */
.product-gallery {
	width: 100%;
	max-width: 520px; /* Increase gallery width */
	margin-right: 40px;
}

/* MAIN SLIDER IMAGE */
.pg-main-img {
	width: 100%;
	height: 480px; /* Increased height */
	object-fit: contain; /* Better quality for phones */
	border-radius: 14px;
	background: #fff;
	cursor: zoom-in;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
	.pg-main-img {
		height: 380px;
	}

	.product-gallery {
		max-width: 100%;
		margin-right: 0;
	}
}

@media (max-width: 576px) {
	.pg-main-img {
		height: 300px;
	}
}

/* THUMBNAILS ROW */
.productThumbSlider {
	margin-top: 12px;
}

.pg-thumb {
	width: 100%;
	height: 85px;
	object-fit: contain;
	border-radius: 10px;
	cursor: pointer;
	background: #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
	opacity: 0.75;
	transition: 0.25s;
}

.pg-thumb:hover,
.swiper-slide-thumb-active .pg-thumb {
	opacity: 1;

	transform: scale(1.05);
}

/* FULLSCREEN POPUP VIEWER */
#pgImageViewer {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999999;
	padding: 20px;
}

/* FULL IMAGE INSIDE POPUP */
#pgFullImage {
	max-width: 95%;
	max-height: 95%;
	border-radius: 12px;
	object-fit: contain;
}

/* Close Button */
.pg-close {
	position: absolute;
	top: 25px;
	right: 40px;
	font-size: 45px;
	color: white;
	cursor: pointer;
	font-weight: bold;
	z-index: 99999999;
}
