/* Shop-specific styles */

.shop-header {
	background: linear-gradient(135deg, #fd8d0d 0%, #A14159 100%);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: 8px;
	color: #fff;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.shop-header h2 {
	margin: 0 0 10px 0;
	color: #fff;
	font-size: 2em;
}

.shop-intro {
	margin: 10px 0 0 0;
	font-size: 1.1em;
	opacity: 0.95;
}

/* Filters */
.shop-filters {
	background: #fff;
	padding: 20px;
	margin-bottom: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: flex-end;
}

.filter-group {
	flex: 1;
	min-width: 200px;
}

.filter-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #A14159;
	font-size: 0.9em;
}

.filter-select,
.search-input {
	width: 100%;
	padding: 10px 15px;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 1em;
	transition: all 0.3s ease;
	background: #fff;
}

.filter-select:focus,
.search-input:focus {
	outline: none;
	border-color: #fd8d0d;
	box-shadow: 0 0 0 3px rgba(253, 141, 13, 0.1);
}

.search-group {
	flex: 1.5;
}

/* Products count */
.products-count {
	text-align: right;
	margin-bottom: 15px;
	color: #666;
	font-size: 0.95em;
}

.products-count span {
	font-weight: bold;
	color: #fd8d0d;
}

/* Products Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.product-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	border: 2px solid transparent;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.15);
	border-color: #fd8d0d;
}

.product-image {
	width: 100%;
	height: 220px;
	background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.product-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.product-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #fd8d0d;
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 0.8em;
	font-weight: bold;
	text-transform: uppercase;
}

.product-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-category {
	font-size: 0.85em;
	color: #fd8d0d;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.product-title {
	font-size: 1.3em;
	font-weight: bold;
	color: #A14159;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.product-title a {
	color: #A14159;
	text-decoration: none;
	transition: color 0.3s ease;
}

.product-title a:hover {
	color: #fd8d0d;
}

.product-description {
	color: #666;
	font-size: 0.9em;
	line-height: 1.6;
	margin-bottom: 15px;
	flex: 1;
}

.product-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

.product-price {
	font-size: 1.8em;
	font-weight: bold;
	color: #A14159;
}

.product-price-currency {
	font-size: 0.7em;
	color: #666;
	font-weight: normal;
}

.product-btn {
	background: linear-gradient(135deg, #fd8d0d 0%, #ff9f3a 100%);
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	font-size: 0.95em;
}

.product-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(253, 141, 13, 0.4);
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 30px 0;
	flex-wrap: wrap;
}

.page-btn {
	padding: 10px 15px;
	border: 2px solid #ddd;
	background: #fff;
	color: #333;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	font-weight: bold;
}

.page-btn:hover {
	border-color: #fd8d0d;
	color: #fd8d0d;
	background: #fff3e0;
}

.page-btn.active {
	background: #fd8d0d;
	color: #fff;
	border-color: #fd8d0d;
}

.page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Sidebar improvements */
.category-list .count {
	color: #999;
	font-size: 0.85em;
}

.guarantee-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 15px;
}

.badge {
	text-align: center;
	padding: 15px 10px;
	background: #f5f5f5;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.badge:hover {
	background: #fff3e0;
	transform: translateY(-2px);
}

.badge-icon {
	font-size: 2em;
	margin-bottom: 5px;
}

.badge p {
	margin: 0;
	font-size: 0.85em;
	font-weight: bold;
	color: #333;
}

.contact-info p {
	margin: 15px 0;
	line-height: 1.6;
	color: #666;
}

.contact-info strong {
	color: #A14159;
	display: block;
	margin-bottom: 5px;
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: 60px 20px;
	background: #f5f5f5;
	border-radius: 8px;
	margin: 30px 0;
}

.empty-state-icon {
	font-size: 4em;
	margin-bottom: 20px;
	opacity: 0.3;
}

.empty-state h3 {
	color: #A14159;
	margin: 0 0 10px 0;
}

.empty-state p {
	color: #666;
	margin: 10px 0;
}

/* Loading state */
.loading-state {
	text-align: center;
	padding: 40px 20px;
}

.loader {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #fd8d0d;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
	.shop-filters {
		flex-direction: column;
	}

	.filter-group {
		width: 100%;
	}

	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 20px;
	}

	.content {
		flex-direction: column;
	}

	.secondary {
		width: 100%;
	}

	.guarantee-badges {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr;
	}

	.shop-header {
		padding: 20px;
	}

	.shop-header h2 {
		font-size: 1.5em;
	}

	.product-card {
		max-width: 100%;
	}
}
