/* Bazaarbari demo shop. Deliberately ordinary: a believable local grocery site for the widget to sit on. */
:root {
  --green: #14532d;
  --green-tint: #eef4ef;
  --turmeric: #f6d77a;
  --turmeric-ink: #5c3d00;
  --ink: #17201b;
  --muted: #55605a;
  --line: #dfe5e0;
  --paper: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.ribbon { margin: 0; padding: 8px 20px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.brand { font-size: 24px; font-weight: 800; color: var(--green); text-decoration: none; letter-spacing: -0.01em; }
.brand span { font-size: 17px; font-weight: 600; margin-left: 6px; color: var(--muted); }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { padding: 6px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
nav a:hover { background: var(--green-tint); }
nav a[aria-current="page"] { background: var(--green); color: #fff; }
header { border-bottom: 1px solid var(--line); }

main { max-width: 1080px; margin: 0 auto; padding: 32px 20px 120px; }
main > section { margin-top: 48px; }
main > section:first-child { margin-top: 8px; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 750; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; max-width: 22ch; }
h2 { font-size: 22px; font-weight: 700; margin: 0 0 14px; }
.lead, .hero p { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 0; }

.try { padding: 24px; border-radius: 14px; background: var(--green-tint); }
.prompts { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.prompts li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; }
.aside { color: var(--muted); margin: 0; }

.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
code { font-size: 0.95em; padding: 1px 6px; border-radius: 4px; background: var(--green-tint); }

.categories { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.categories a { display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.categories a:hover { border-color: var(--green); }

.grid { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.product { position: relative; display: flex; flex-direction: column; padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: 12px; }
.product p { margin: 0; }
.product .name { font-weight: 650; }
.product .bn { margin-top: 2px; color: var(--muted); font-size: 15px; }
.product .meta { margin-top: 8px; color: var(--muted); font-size: 14px; }
/* The price sits on a turmeric shelf tag, like a supershop shelf label. */
.product .price { align-self: flex-start; margin-top: 12px; padding: 3px 10px 3px 14px; background: var(--turmeric); color: var(--turmeric-ink); font-weight: 800; clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); }

.policy { max-width: 68ch; }
.policy h2 { margin-top: 32px; font-size: 20px; }
.policy p { margin: 0 0 12px; }
table { border-collapse: collapse; margin: 8px 0 16px; }
th, td { text-align: left; padding: 8px 32px 8px 0; border-bottom: 1px solid var(--line); }

footer { border-top: 1px solid var(--line); padding: 24px 20px; text-align: center; color: var(--muted); font-size: 14px; }
footer p { margin: 4px 0; }

@media (max-width: 560px) {
  .facts dl { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 8px; }
}
