/* ================================================
   Shop Page Styles
   css/shop.css
   ================================================ */

/* ================================================
   HERO SECTION
   ================================================ */
.shop-page .shop-hero {
	padding: 4rem 0;
	text-align: center;
	margin-bottom: 2rem;
}

.shop-page .shop-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 1rem;
	letter-spacing: -0.5px;
}

.shop-page .shop-subtitle {
	font-size: 1.15rem;
	opacity: 0.95;
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* ================================================
   FILTERS SECTION
   ================================================ */
.shop-page .shop-filters {
	border-bottom: 1px solid #e0e0e0;
}

.shop-filters .nav-pills {
	gap: 0.75rem;
}

.shop-filters .nav-link {
	background-color: transparent;
	border: 1px solid #ddd;
	padding: 0.6rem 1.2rem;
	border-radius: 20px;
	font-size: 0.95rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.shop-filters .nav-link:hover {
	border-color: #667eea;
	color: #667eea;
}

.shop-filters .nav-link.active {

	border-color: #667eea;
	color: white;
}

/* ================================================
   PRODUCTS SECTION
   ================================================ */
.shop-page .shop-products {
	padding: 3rem 0;
}

.shop-products .row {
	margin-bottom: 2rem;
}

/* ================================================
   PRODUCT CARD
   ================================================ */
.product-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
	border-color: #667eea;
}

.product-card .product-thumb {
	display: block;
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.product-card .product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
	transform: scale(1.05);
}

.product-card .card-body {
	padding: 1.2rem;
}

.product-title {
	font-size: 1rem;
	font-weight: 600;
}

.product-title a {
	text-decoration: none;
	transition: color 0.3s ease;
}

.product-title a:hover {
	color: #667eea;
}

.product-price {
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	color: #667eea;
}

.product-short-desc {
	font-size: 0.85rem;
	color: #999;
	line-height: 1.4;
}

/* ================================================
   ADD TO CART BUTTON
   ================================================ */
.btn-readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.2rem;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-readmore:hover {
	background-color: #764ba2;
	color: white;
	transform: translateX(-2px);
}

.btn-readmore i {
	font-size: 0.9rem;
}

/* ================================================
   PAGINATION
   ================================================ */
.shop-page .shop-navigation {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e0e0e0;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.page-numbers:hover {
	border-color: #667eea;
	color: #667eea;
}

.page-numbers.current {
	border-color: #667eea;
}

/* ================================================
   CTA SECTION
   ================================================ */
.shop-page .shop-cta {
	text-align: center;
	margin-top: 3rem;
}

.shop-cta h2 {
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 1rem;
}

.shop-cta p {
	font-size: 1.05rem;
	opacity: 0.95;
	margin-bottom: 2rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}



/* ================================================
   NO PRODUCTS MESSAGE
   ================================================ */
.alert-info {
	border: 1px solid #b3d9ff;
	color: #004085;
	border-radius: 8px;
}

.alert-heading {
	color: #004085;
	font-weight: 600;
}

/* ================================================
   RESPONSIVE
   ================================================ */

/* Extra Large (1400px+) - 4 columns */
@media (min-width: 1400px) {
	.product-card .product-thumb {
		height: 220px;
	}
}

/* Large (1200px - 1399px) - 4 columns */
@media (min-width: 1200px) and (max-width: 1399px) {
	.product-card .product-thumb {
		height: 210px;
	}
}

/* Medium (992px - 1199px) - 3 columns */
@media (min-width: 992px) and (max-width: 1199px) {
	.product-card .product-thumb {
		height: 200px;
	}

	.product-title {
		font-size: 0.95rem;
	}

	.product-price {
		font-size: 1.1rem;
	}

	.btn-readmore {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}
}

/* Tablet (768px - 991px) - 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
	.product-card .product-thumb {
		height: 180px;
	}

	.product-title {
		font-size: 0.9rem;
	}

	.product-price {
		font-size: 1rem;
	}

	.product-short-desc {
		font-size: 0.8rem;
	}

	.btn-readmore {
		padding: 0.5rem 0.9rem;
		font-size: 0.8rem;
	}
}

/* Small Mobile (576px - 767px) - 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
	.product-card .product-thumb {
		height: 160px;
	}

	.product-title {
		font-size: 0.85rem;
	}

	.product-price {
		font-size: 0.95rem;
	}

	.product-short-desc {
		font-size: 0.75rem;
		max-height: 2.4em;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.btn-readmore {
		padding: 0.45rem 0.8rem;
		font-size: 0.75rem;
	}

	.product-card .card-body {
		padding: 0.9rem;
	}
}

/* Extra Small Mobile (< 576px) - 1 column */
@media (max-width: 575px) {
	.product-card .product-thumb {
		height: 180px;
	}

	.product-title {
		font-size: 0.9rem;
	}

	.product-price {
		font-size: 1rem;
	}

	.product-short-desc {
		font-size: 0.8rem;
		max-height: 2.4em;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.btn-readmore {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}

	.product-card .card-body {
		padding: 1rem;
	}
}

/* ================================================
   RTL SUPPORT
   ================================================ */
body.rtl .shop-filters .nav-link,
body.rtl .btn-readmore {
	direction: rtl;
}

body.rtl .product-card .card-body {
	text-align: right;
}