﻿
:root {
    --primary-color: #d4a373; /* Gold/Brown tone */
    --secondary-color: #333;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-bg);
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .product-card:hover {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.badge-hot {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4d4d;
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    z-index: 2;
}

.product-img-wrapper {
    position: relative;
    text-align: center;
    padding: 20px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-img-wrapper img {
        max-height: 100%;
        max-width: 100%;
    }

.out-of-stock-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    color: #888;
    text-align: center;
    padding: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.points-earn {
    font-size: 0.8rem;
    color: #28a745;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    min-height: 48px; /* For alignment */
}

.price-wrapper {
    margin-bottom: 15px;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-current {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Sidebar */
.sidebar-title {
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    text-decoration: none;
    color: #555;
    transition: color 0.2s;
}

    .category-list a:hover {
        color: var(--primary-color);
    }

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0;
    margin-top: 50px;
}
