body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f4f4f9; 
    color: #333; 
}
header { 
    background-color: #2c3e50; 
    color: white; 
    padding: 2rem; 
    text-align: center; 
}
main { 
    max-width: 1000px; 
    margin: 2rem auto; 
    padding: 0 1rem; 
}
.home-link {
    color: white;
    text-decoration: none;
}
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 1.5rem; 
}
.card { 
    background: white; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    padding: 1.5rem; 
    text-align: center; 
    transition: transform 0.2s; 
}
.card:hover { 
    transform: translateY(-5px); 
}
.card img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 4px; 
    margin-bottom: 1rem; 
}
.card h2 { 
    font-size: 1.2rem; 
    margin: 0 0 0.5rem 0; 
}
.card .price { 
    font-weight: bold; 
    color: #27ae60; 
    font-size: 1.1rem; 
    margin-bottom: 1rem; 
}
.btn { 
    display: inline-block; 
    background: #3498db; 
    color: white; 
    text-decoration: none; 
    padding: 0.5rem 1rem; 
    border-radius: 4px; 
    cursor: pointer;
}
.btn:hover { background: #2980b9; }
.item-container { 
    display: flex; 
    gap: 2rem; 
    flex-wrap: wrap; 
    background: white; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}
.item-image { flex: 1; min-width: 300px; }
.item-image img { width: 100%; border-radius: 8px; object-fit: cover; }
.item-info { flex: 1; min-width: 300px; }
.item-info h2 { margin-top: 0; font-size: 2rem; }
.item-info .price { font-size: 1.5rem; color: #27ae60; font-weight: bold; margin-bottom: 1rem; }
.item-info p { line-height: 1.6; }
.back-link { color: #ecf0f1; text-decoration: none; display: inline-block; margin-top: 1rem; }
#loading { text-align: center; font-size: 1.2rem; color: #7f8c8d; }

/* Gallery Styles for multiple images */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* --- Navigation Styles --- */
.item-nav-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #ddd;
}
.nav-btn {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.nav-btn:hover {
    background: #f4f4f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
/* If only one button exists, push it to the correct side */
.nav-btn.only-next { margin-left: auto; }
.nav-btn.only-prev { margin-right: auto; }

/* --- Liquidation Policies Styles --- */
.alert-banner {
    background-color: #fff3cd;
    color: #856404;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #ffeeba;
    margin-bottom: 1.5rem;
    text-align: center;
}
.alert-banner h2 {
    margin-top: 0;
    font-size: 1.4rem;
}
.alert-banner p {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.policy-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #3498db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.policy-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}
.policy-card ul {
    padding-left: 1.2rem;
    margin: 0;
}
.policy-card li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.95rem;
}