/* Demo Shop Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

/* Navigation */
.nav {
    background: #eee;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.nav a {
    margin-right: 15px;
    text-decoration: none;
    color: #007acc;
    font-weight: bold;
}

.nav a:hover {
    text-decoration: underline;
}

.nav a.active {
    text-decoration: underline;
}

.nav-separator {
    border-left: 1px solid #ccc;
    margin: 0 10px;
}

.nav-back {
    color: #666 !important;
}

/* Hero Section */
.hero {
    background: #e3f2fd;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.hero h1 {
    margin-top: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background: #007acc;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: #005999;
}

.btn-buy {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background: #28a745;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-buy:hover {
    background: #218838;
}

/* Status Bar */
.status {
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 0.9em;
    font-family: monospace;
}

/* Product Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.placeholder-img {
    background: #ddd;
    height: 120px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.price {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
    margin: 10px 0;
}

/* Checkout Summary */
.summary {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.total {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 15px;
    border-top: 2px solid #eee;
    padding-top: 15px;
    text-align: right;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
