
/* ===== Grocatch: tema hijau segar ===== */
:root { --red: #1f8a4c; --red-dark: #146b39; --leaf: #e8f5ec; --bg: #f4f6f1; }
:focus-visible { outline-color: rgba(31, 138, 76, 0.45); }
input:focus, select:focus, textarea:focus { outline-color: rgba(31, 138, 76, 0.3); }
header.top .logo span, .logo span { opacity: 0.85; }
.shop-head { background: var(--red); color: #fff; padding: 18px 18px 22px; }
.shop-head .row1 { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.shop-head .row1 a { margin-left: auto; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; background: rgba(255,255,255,.16); padding: 8px 12px; border-radius: 999px; }
.shop-head h1 { max-width: 760px; margin: 14px auto 4px; font-size: 26px; line-height: 1.15; letter-spacing: -0.6px; }
.shop-head p { max-width: 760px; margin: 0 auto; opacity: .9; font-size: 15px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 4px; max-width: 760px; margin: 0 auto; }
.cats button { background: #fff; color: var(--ink); border: 1px solid var(--line); white-space: nowrap; font-size: 14px; padding: 9px 14px; border-radius: 999px; }
.cats button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.vendor { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-bottom: 10px; cursor: pointer; }
.vendor .ph, .prod .ph { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 14px; background: var(--leaf); display: flex; align-items: center; justify-content: center; font-size: 30px; overflow: hidden; }
.vendor .ph img, .prod .ph img { width: 100%; height: 100%; object-fit: cover; }
.vendor .info { flex: 1; min-width: 0; }
.vendor .info b { display: block; font-size: 16px; }
.vendor .info span { font-size: 13px; color: var(--muted); }
.vendor .closed { font-size: 12px; font-weight: 700; color: #8a4b00; background: #fff4e5; border-radius: 999px; padding: 3px 9px; }
.prods { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .prods { grid-template-columns: 1fr 1fr; } }
.prod { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.prod .info { flex: 1; min-width: 0; }
.prod .info b { display: block; font-size: 15px; }
.prod .info .pr { font-weight: 800; font-size: 16px; color: var(--red-dark); }
.prod .info small { color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 36px; height: 36px; padding: 0; border-radius: 50%; font-size: 20px; }
.stepper button.minus { background: var(--leaf); color: var(--red-dark); }
.stepper b { min-width: 28px; text-align: center; }
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1300; max-width: 640px; margin: 0 auto; }
.cart-bar button { width: 100%; justify-content: space-between; padding: 16px 18px; border-radius: 16px; box-shadow: 0 8px 24px rgba(20, 107, 57, .35); }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 15px; margin: 10px 0; }
.sum .tot { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 8px; }
.line-items { list-style: none; padding: 0; margin: 0; }
.line-items li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.bank { background: var(--leaf); border-radius: 16px; padding: 14px; }
.bank .acc { font-size: 22px; font-weight: 800; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.gsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 12px 0 4px; }
.gsteps div { height: 6px; border-radius: 3px; background: var(--line); }
.gsteps div.on { background: var(--red); }
.back { background: none; color: var(--ink); padding: 8px 0; font-size: 15px; }
