/* Design system: forest green (trust/organic) + terracotta (handloom heritage)
   + marigold accent (the floral-waste material story). Deliberately not a
   generic SaaS-blue theme. */
:root {
    --forest: #1f4d3d;
    --terracotta: #c4622d;
    --stone: #edeae2;
    --marigold: #e8a33d;
    --bg: #fcfcfa;
    --text: #2b2b27;
    --border: #ddd8cc;
    --radius: 10px;
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--forest); line-height: 1.2; }

a { color: var(--forest); }

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--forest);
    flex-wrap: wrap;
    gap: 0.75rem;
}
.site-header .brand { color: #fff; font-family: var(--font-heading); font-size: 1.4rem; text-decoration: none; }
.site-header nav a { color: #fff; margin-left: 1rem; text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--marigold); }

.site-main { max-width: 1100px; margin: 0 auto; padding: 1.5rem; min-height: 60vh; }

.flash { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.flash-success { background: #e3f2e6; border: 1px solid var(--forest); }
.flash-error { background: #fbeae5; border: 1px solid var(--terracotta); }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.product-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.product-card .body { padding: 0.9rem; }
.product-card h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.price { font-weight: bold; color: var(--terracotta); }

.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.badge-verified { background: var(--forest); color: #fff; }
.badge-pending { background: var(--stone); color: var(--text); }

form.stacked label { display: block; margin: 0.9rem 0 0.3rem; font-weight: 600; }
form.stacked input, form.stacked select, form.stacked textarea {
    width: 100%; padding: 0.6rem; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem;
}
form.stacked input:focus, form.stacked select:focus, form.stacked textarea:focus {
    outline: 3px solid var(--marigold); outline-offset: 1px;
}

.btn { display: inline-block; padding: 0.65rem 1.4rem; border-radius: 6px; border: none; background: var(--terracotta); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: #a94f22; }
.btn-secondary { background: transparent; border: 1px solid var(--forest); color: var(--forest); }

table { width: 100%; border-collapse: collapse; }
table th, table td { text-align: left; padding: 0.6rem; border-bottom: 1px solid var(--border); }

.site-footer { text-align: center; padding: 2rem 1rem; color: #6b6b63; font-size: 0.9rem; }

@media (max-width: 600px) {
    .site-header { flex-direction: column; align-items: flex-start; }
}
