/* Bongo Bazar public website — rickshaw-art style */
:root {
  --ink: #22160F;
  --paper: #FBF1DC;
  --cream: #FFFDF6;
  --red: #D7261E;
  --red-deep: #B3121F;
  --red-dark: #7E0C16;
  --gold: #EDB120;
  --gold-soft: #FFE08A;
  --green: #127A3A;
  --green-dark: #0B5A2B;
  --pink: #D6246E;
  --blue: #0F5E86;
  --purple: #5B2A86;
  --muted: #6E5A48;
  --text-2: #4A3628;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Hind Siliguri', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink);
  background-color: var(--paper); background-image: url(img/grain.svg);
}
a { color: var(--red-deep); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.bn { font-family: 'Anek Bangla', sans-serif; font-weight: 800; font-stretch: 125%; letter-spacing: .5px; }
.disp { font-family: 'Rakkas', serif; font-weight: 400; letter-spacing: .3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- borders and patterns ---------- */
.bunting { height: 30px; background: url(img/bunting.svg) repeat-x; }
.vine { height: 40px; background: url(img/vine.svg) repeat-x; }
.beads { height: 16px; background: url(img/beads.svg) repeat-x; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { color: var(--ink); background: #fff; }
.btn.red { background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn.red:hover { background: var(--red-deep); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: var(--green-dark); color: #fff; }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn.pink { background: var(--pink); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn.big { min-height: 56px; font-family: 'Rakkas', serif; font-weight: 400; font-size: 21px; padding: 0 28px; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-width: 2px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; min-height: 44px; padding: 0; border-width: 2px; flex: 0 0 44px; }

/* ---------- top strip & header ---------- */
.topstrip { background: var(--red-deep); color: #fff; font-size: 14px; }
.topstrip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topstrip span { display: inline-flex; align-items: center; gap: 6px; }
.topstrip .left { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topstrip a { color: var(--gold-soft); font-weight: 600; text-decoration: none; }
.site-header { background: var(--cream); border-bottom: 3px solid var(--ink); position: relative; z-index: 10; }
.headrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo-link { display: block; line-height: 0; flex: none; }
.logo-link img { height: 44px; width: auto; display: block; }
.search { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 10px; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 0 6px 0 18px; height: 52px; }
.search input { border: 0; outline: 0; flex: 1 1 auto; width: 0; font: inherit; font-size: 16px; background: transparent; min-width: 0; color: var(--ink); }
.search button { height: 38px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--green); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.mainnav { display: flex; gap: 18px; align-items: center; font-weight: 700; font-size: 16px; }
.mainnav a { color: var(--ink); text-decoration: none; }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--red-deep); text-decoration: underline; text-underline-offset: 5px; }
.listbtn .count { min-width: 24px; height: 24px; border-radius: 999px; background: var(--red-deep); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
@media (max-width: 760px) {
  .headrow { gap: 12px; }
  .logo-link img { height: 28px; }
  .search { order: 3; flex-basis: 100%; height: 48px; }
  .search button { padding: 0 14px; }
  .mainnav { gap: 14px; font-size: 15px; margin-left: auto; }
  .mainnav .opt { display: none; }
  .listbtn { min-height: 42px; padding: 0 12px; box-shadow: 2px 2px 0 var(--ink); }
  .topstrip .addr { display: none; }
}

/* ---------- sections ---------- */
.sec { padding: 56px 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.sec-head h2 { font-size: 44px; line-height: 1.1; }
.sec-head .bn { font-size: 30px; }
.sec-head a { font-weight: 700; font-size: 17px; }
@media (max-width: 600px) { .sec { padding: 40px 0; } .sec-head h2 { font-size: 34px; } .sec-head .bn { font-size: 24px; } }

/* ---------- hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero-art { flex: 1 1 380px; display: flex; justify-content: center; }
.hero .welcome { font-size: 50px; color: var(--pink); line-height: 1.1; }
.hero h1 { margin-top: 8px; font-size: 64px; line-height: 1.04; }
.hero h1 .w1 { color: var(--red); }
.hero h1 .w2 { color: var(--green); }
.hero p.lead { margin: 18px 0 0; font-size: 19px; line-height: 1.65; max-width: 560px; color: var(--text-2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.news { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; background: var(--gold); border: 3px solid var(--ink); border-radius: 12px; padding: 10px 18px; font-weight: 600; font-size: 16px; box-shadow: 3px 3px 0 var(--ink); }
.news .bn { font-size: 24px; color: var(--red-deep); }
.panel { position: relative; width: 420px; max-width: 100%; aspect-ratio: 420 / 560; }
.panel svg { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) { .hero { padding-top: 24px; padding-bottom: 40px; gap: 28px; } .hero .welcome { font-size: 38px; } .hero h1 { font-size: 42px; } .hero p.lead { font-size: 17px; } .panel { width: 300px; } }

/* ---------- categories ---------- */
.cat-sec { background: var(--green); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.cat-sec .sec-head h2 { color: var(--cream); }
.cat-sec .sec-head .bn { color: var(--gold); }
.cat-sec .sec-head a { color: var(--gold-soft); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 18px; }
.tile { border-radius: 14px; padding: 10px; min-height: 160px; text-decoration: none; display: flex; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.tile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.tile-in { flex: 1; border: 2px dashed currentColor; border-radius: 9px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.tile .bn { font-size: 30px; line-height: 1.15; }
.tile .en { font-family: 'Rakkas', serif; font-size: 21px; line-height: 1.15; }
@media (max-width: 600px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tile { min-height: 130px; } .tile .bn { font-size: 24px; } .tile .en { font-size: 18px; } }

/* ---------- product cards ---------- */
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 4px 4px 0 var(--ink); }
.card .beads { border-bottom: 2px solid var(--ink); background-color: var(--green); }
.card .pic { position: relative; aspect-ratio: 4 / 3; background: #fff; border-bottom: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card .pic .soon { position: absolute; bottom: 8px; right: 10px; font-size: 12px; color: var(--muted); }
.badge { position: absolute; top: 12px; left: 12px; font-family: 'Rakkas', serif; font-size: 16px; padding: 2px 14px; border-radius: 999px; border: 2px solid var(--ink); }
.badge.sale { background: var(--red); color: #fff; }
.badge.new { background: var(--gold); color: var(--ink); }
.badge.out { left: auto; right: 12px; background: var(--ink); color: #fff; font-family: inherit; font-size: 13px; font-weight: 700; }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .cat { font-size: 13px; color: var(--muted); }
.card .name { font-family: 'Rakkas', serif; font-size: 20px; line-height: 1.2; color: var(--ink); text-decoration: none; }
.card .name:hover { text-decoration: underline; }
.card .meta { font-size: 14px; color: var(--muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.price .now { font-family: 'Rakkas', serif; font-size: 27px; color: var(--red-deep); }
.price .was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.price .ask { font-weight: 600; color: var(--text-2); }
.card .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.card .acts .btn { flex: 1; min-height: 44px; font-size: 15px; border-width: 2px; padding: 0 10px; }
@media (max-width: 600px) {
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
  .card .body { padding: 10px; }
  .card .name { font-size: 16px; }
  .price .now { font-size: 21px; }
  .card .acts { flex-direction: column; }
  .card .acts .icon-btn { width: 100%; flex-basis: auto; }
  .badge { top: 8px; left: 8px; font-size: 13px; padding: 1px 10px; }
  .badge.out { right: 8px; font-size: 11px; }
}
.flower { width: 70px; height: 70px; }

/* ---------- story ---------- */
.story { background: var(--red-deep); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.story .vine { background-color: var(--paper); border-bottom: 3px solid var(--ink); }
.story .inner { max-width: 820px; margin: 0 auto; text-align: center; color: var(--cream); }
.story .inner .bn { font-size: 42px; color: var(--gold); }
.story h2 { margin-top: 4px; font-size: 46px; line-height: 1.1; }
.story p { margin: 18px 0 0; font-size: 18px; line-height: 1.75; color: #FFE9E0; white-space: pre-line; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.plate { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 8px; box-shadow: 5px 5px 0 var(--ink); }
.plate > div { border: 2px dashed var(--red); border-radius: 9px; padding: 18px; height: 100%; }
.plate h3 { font-family: 'Rakkas', serif; font-size: 25px; color: var(--red); }
.plate p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }
.plate.g > div { border-color: var(--green); } .plate.g h3 { color: var(--green); }
.plate.b > div { border-color: var(--blue); } .plate.b h3 { color: var(--blue); }
@media (max-width: 600px) { .story .inner .bn { font-size: 32px; } .story h2 { font-size: 34px; } }

/* ---------- boxes ---------- */
.box { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: 4px 4px 0 var(--ink); }
.box.blue { background: var(--blue); color: #fff; }
.box.blue .bn { color: var(--gold); font-size: 28px; }
.box h3 { font-family: 'Rakkas', serif; font-size: 30px; line-height: 1.15; }
.box p { margin: 0; }
.stars { display: flex; gap: 4px; color: var(--gold); }

/* ---------- visit / forms ---------- */
.visit { display: flex; flex-wrap: wrap; gap: 24px; }
.visit > * { flex: 1 1 360px; min-width: 0; }
.mapbox { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 4px 4px 0 var(--ink); }
.mapbox iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-bottom: 3px solid var(--ink); display: block; background: #E3EFD9; }
.mapbox .info { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mapbox .addr { font-family: 'Rakkas', serif; font-size: 23px; line-height: 1.2; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; }
form.box label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea {
  height: 48px; border: 2px solid var(--ink); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; font-weight: 400; background: #fff; color: var(--ink); width: 100%;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; }
.formmsg { border-radius: 10px; padding: 10px 14px; font-weight: 600; border: 2px solid; }
.formmsg.ok { background: #E5F4EA; border-color: var(--green); }
.formmsg.err { background: #FDE7E7; border-color: var(--red); }

/* ---------- newsletter & footer ---------- */
.newsletter { background: var(--blue); color: #fff; border-top: 3px solid var(--ink); }
.newsletter .beads { background-color: var(--green); border-bottom: 2px solid var(--ink); }
.newsletter .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 40px; }
.newsletter h2 { font-family: 'Rakkas', serif; font-size: 32px; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 460px; }
.newsletter input { flex: 1 1 240px; border: 3px solid var(--ink); border-radius: 999px; height: 50px; background: var(--cream); }
.newsletter .formmsg { flex-basis: 100%; color: var(--ink); }
.site-footer { background: var(--ink); color: #E8DCCB; font-size: 15px; }
.site-footer .bunting { background-color: var(--ink); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 36px; }
.site-footer a { color: #E8DCCB; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { font-family: 'Rakkas', serif; font-size: 32px; line-height: 1; }
.site-footer .brand .b1 { color: #E8343B; } .site-footer .brand .b2 { color: #2FC25B; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 36px; }
.site-footer nav div { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav strong { color: #fff; }
.site-footer .legal { margin-top: 28px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #4A3E36; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: #BFAF9C; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #E8DCCB; align-items: center; justify-content: center; }

/* ---------- shop page ---------- */
.page-title { padding: 36px 0 8px; }
.page-title h1 { font-size: 48px; line-height: 1.1; }
.page-title .bn { font-size: 30px; color: var(--pink); }
.page-title p { margin: 6px 0 0; color: var(--muted); }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 16px; scrollbar-width: thin; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.chip:hover { background: #fff; color: var(--ink); }
.chip[aria-current] { background: var(--ink); color: #fff; }
.chip .bn { font-size: 14px; font-stretch: 100%; }
.shopbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.shopbar select { width: auto; height: 44px; }
.more { display: flex; justify-content: center; margin: 30px 0 10px; }
.empty { background: var(--cream); border: 3px dashed var(--ink); border-radius: 14px; padding: 40px 20px; text-align: center; }
.loading { padding: 50px; text-align: center; color: var(--muted); }
@media (max-width: 600px) { .page-title h1 { font-size: 36px; } }

/* ---------- product page ---------- */
.crumbs { font-size: 15px; padding-top: 22px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.pd { display: flex; flex-wrap: wrap; gap: 36px; padding: 18px 0 50px; }
.pd .gallery { flex: 1 1 380px; min-width: 0; }
.pd .details { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mainpic { background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.mainpic img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 4px; border: 2px solid var(--line, #CBBCA5); border-radius: 10px; background: #fff; cursor: pointer; }
.thumbs button[aria-current] { border-color: var(--ink); border-width: 3px; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd h1 { font-size: 42px; line-height: 1.1; }
.pd .price .now { font-size: 38px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 6px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.stock .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.stock.out .dot { background: var(--red); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; padding: 0; border-radius: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd .desc { white-space: pre-line; }
.note { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .pd h1 { font-size: 32px; } .pd { gap: 24px; } }

/* ---------- list page ---------- */
.listtable { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.li { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 2px dashed #D8C7A8; }
.li:last-child { border-bottom: 0; }
.li img, .li .ph { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 2px solid var(--ink); border-radius: 10px; }
.li .nm { font-weight: 700; }
.li .nm a { color: var(--ink); text-decoration: none; }
.li .sub { font-size: 14px; color: var(--muted); }
.li .lp { font-weight: 700; min-width: 70px; text-align: right; }
.listtotal { display: flex; justify-content: space-between; align-items: baseline; padding: 16px; border-top: 3px solid var(--ink); font-size: 20px; }
@media (max-width: 600px) { .li { grid-template-columns: 56px 1fr; } .li img, .li .ph { width: 56px; height: 56px; grid-row: span 2; } .li .lp { text-align: left; } }

/* ---------- legal pages ---------- */
.legaltext { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 32px; margin: 10px 0 56px; max-width: 860px; }
.legaltext h2 { font-family: 'Rakkas', serif; font-size: 26px; margin: 26px 0 6px; }
.legaltext h2:first-child { margin-top: 0; }
.legaltext p, .legaltext li { line-height: 1.7; }
@media (max-width: 600px) { .legaltext { padding: 20px; } }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; z-index: 200; transition: transform .25s; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); }
#toast.show { transform: translateX(-50%) translateY(0); }
#toast a { color: var(--gold-soft); white-space: nowrap; }
