/* CSS เฉพาะหน้ารายการสินค้า */
:root{--primary:#000000;--secondary:#41AB5D;--muted:#545454}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;font-family:'Prompt',sans-serif;color:#000;background:#fff}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
/* Navigation (copied from style.css for consistent header) */
.nav-wrapper {
	background-color: #000000;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #005A32, #41AB5D);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-menu {
	display: flex;
	gap: 30px;
	list-style: none;
}

.nav-menu a {
	color: #D9D9D9;
	text-decoration: none;
	font-weight: 400;
	font-size: 0.95rem;
	transition: color 0.3s ease;
	padding: 8px 0;
	position: relative;
}

.nav-menu a:hover {
	color: #41AB5D;
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #41AB5D;
	transition: width 0.3s ease;
}

.nav-menu a:hover::after {
	width: 100%;
}

.login-btn {
	background-color: #005A32;
	color: #ffffff;
	padding: 10px 24px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.login-btn:hover {
	background-color: #41AB5D;
	transform: translateY(-2px);
}

.mobile-menu-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 10px;
}

.mobile-menu-btn span {
	width: 25px;
	height: 3px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: all 0.3s ease;
}
/* Heroรายการสินค้าทั้งหมด */
.products-hero{background:var(--secondary);background:linear-gradient(180deg,#ffffff 0,#fff 100%);padding:40px 0}
.products-hero h1{font-size:2.25rem;margin-bottom:6px;font-weight:700}
.products-hero p{color:var(--muted)}
/* Filters */
.filters{background:#fff;padding:24px 0;border-bottom:1px solid #F0F0F0}
.search-wrap{margin-bottom:18px}
#search-input{width:100%;padding:14px 18px;border:2px solid #F0F0F0;border-radius:25px;font-size:1rem}
.status-filters{display:flex;gap:12px;margin-bottom:18px}
.filter-btn{padding:10px 20px;border-radius:25px;border:2px solid #D9D9D9;background:#fff;color:var(--muted);cursor:pointer}
.filter-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}
.category-filters{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.category-card{background:#F5F5F5;border-radius:12px;padding:18px;text-align:center;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;justify-content:center}
.category-card.active{background:var(--primary);color:#fff}
.category-card svg{width:28px;height:28px;color:var(--primary)}
/* Products grid */
.products-grid-section{padding:48px 0}
.all-products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.product-card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #F0F0F0;box-shadow:0 6px 18px rgba(255, 255, 255, 0.04)}
.product-image{aspect-ratio:1;background:#F5F5F5;display:flex;align-items:center;justify-content:center;position:relative}
.product-badge{position:absolute;top:12px;left:12px;padding:6px 10px;border-radius:999px;background:var(--secondary);color:#fff;font-weight:600;font-size:.8rem}
.product-badge.used{background:#9A7A5D}
.product-info{padding:14px}
.product-name{font-weight:600;margin-bottom:6px}
.product-detail{color:var(--muted);font-size:.9rem;margin-bottom:10px}
.product-prices{background:#FAFAFA;padding:10px;border-radius:8px;margin-bottom:10px}
.price-row{display:flex;justify-content:space-between;font-weight:700}
.accessories-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.accessory-tag{background:#F0F0F0;padding:6px 8px;border-radius:12px;font-size:.8rem;color:var(--muted)}
.product-description{color:var(--muted);font-size:.9rem}
.no-results{padding:40px 0;color:var(--muted);text-align:center}
/* Responsive */
@media (max-width:1000px){.all-products-grid{grid-template-columns:repeat(3,1fr)}.category-filters{grid-template-columns:repeat(3,1fr)}}
@media (max-width:700px){.all-products-grid{grid-template-columns:repeat(2,1fr)}.category-filters{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.all-products-grid{grid-template-columns:repeat(2,1fr)}.nav-container{padding:0 12px}.products-hero h1{font-size:1.5rem}}