/* ------------------------------------------------------------------
   demo.css  -  Styles for the parts ADDED to the public site
   (demo banner, catalogue, quotation form). The original page styles
   inside index.html are untouched. Same green/gold look and fonts.
------------------------------------------------------------------- */
.demo-bar {
    background: #fef3c7; color: #78350f; font-size: 12px; text-align: center;
    padding: 8px 16px; border-bottom: 1px solid #fde68a;
}
.demo-bar a { color: #92400e; font-weight: 700; text-decoration: underline; margin-left: 6px; white-space: nowrap; }

.nav-links { display: none; gap: 20px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 600; color: #334155; }
.nav-links a:hover { color: #047857; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.demo-section { padding: 56px 0 8px; }

/* ----- catalogue ----- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px;
    display: flex; flex-direction: column; gap: 8px;
}
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-cat {
    background: #d1fae5; color: #065f46; font-size: 11px; font-weight: 800; padding: 4px 10px;
    border-radius: 999px; letter-spacing: 0.03em; text-transform: uppercase;
}
.product-stock { font-size: 12px; font-weight: 700; }
.product-stock.in { color: #047857; }
.product-stock.out { color: #b91c1c; }
.product-name { font-size: 16px; font-weight: 800; color: #022c22; line-height: 1.3; }
.product-price { font-size: 22px; font-weight: 800; color: #aa8018; }
.product-price small { font-size: 12px; font-weight: 600; color: #64748b; }
.product-desc { font-size: 13px; color: #475569; flex: 1; }
.product-btn {
    margin-top: 6px; background: #065f46; color: #fff; border: none; border-radius: 8px;
    font: inherit; font-size: 13px; font-weight: 700; padding: 10px 14px; cursor: pointer;
}
.product-btn:hover { background: #047857; }
.catalogue-empty { text-align: center; color: #64748b; padding: 32px 16px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; }

/* ----- quotation form ----- */
.quote-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.06); padding: 28px; }
.q-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 768px) { .q-grid { grid-template-columns: 1fr 1fr; } .q-wide { grid-column: 1 / -1; } }
.q-field input, .q-field textarea {
    width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; font: inherit;
    font-size: 14px; font-weight: 600; color: #0f172a; background: #fff;
}
.q-field textarea { min-height: 84px; resize: vertical; font-weight: 400; }
.q-field input:focus, .q-field textarea:focus { outline: none; border-color: #047857; }
.q-field [aria-invalid="true"] { border-color: #b91c1c; }
.q-error { color: #b91c1c; font-size: 12px; margin-top: 4px; min-height: 0; }
.q-note { font-size: 12px; color: #64748b; margin-bottom: 16px; }
.q-submit {
    background: linear-gradient(135deg, #d4af37 0%, #aa8018 100%); color: #fff; font: inherit; font-size: 14px;
    font-weight: 800; padding: 14px 24px; border: none; border-radius: 10px; cursor: pointer; width: 100%;
}
@media (min-width: 768px) { .q-submit { width: auto; } }
.q-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.q-result:empty { display: none; }
.q-result { margin-top: 16px; border-radius: 12px; padding: 16px; font-size: 14px; }
.q-result.ok { background: #d1fae5; color: #064e3b; border: 1px solid #6ee7b7; }
.q-result.err { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.q-result a { font-weight: 700; text-decoration: underline; }

.demo-foot { margin-top: 12px; color: #fcd34d; font-size: 11px; }
