/* Beeze.in — Business made easy */
:root {
  --honey: #f5b301;
  --honey-strong: #e09e00;
  --honey-soft: #fff4d1;
  --ink: #1d1b16;
  --ink-2: #3d3a33;
  --muted: #6f6a5f;
  --line: #ebe5d8;
  --bg: #faf8f3;
  --card: #ffffff;
  --danger: #c2412d;
  --danger-soft: #fdecea;
  --success: #1f8a4c;
  --success-soft: #e6f5ec;
  --wa: #1fa855;   --wa-soft: #e5f7ec;
  --ig: #c13584;   --ig-soft: #fbe8f3;
  --fb: #1877f2;   --fb-soft: #e7f0fe;
  --web: #8a6100;  --web-soft: #fff1c9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 27, 22, .05), 0 6px 20px rgba(29, 27, 22, .05);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 600; font-size: .92rem; line-height: 1;
  padding: .7rem 1.1rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s;
  background: var(--card); color: var(--ink); border-color: var(--line); white-space: nowrap;
}
.btn:hover { border-color: #d8d0bd; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn-primary:hover { background: var(--honey-strong); border-color: var(--honey-strong); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); border-color: #f2c4bd; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-sm { padding: .45rem .7rem; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: .95rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; }

/* Forms */
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.field { margin-bottom: 1rem; }
.hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(245, 179, 1, .2); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--honey-strong); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* Cards, flash messages, badges */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.card + .card { margin-top: 1rem; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-title h2 { margin: 0; }

.flash { padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1.25rem; font-weight: 500; border: 1px solid; }
.flash-success { background: var(--success-soft); color: #145c33; border-color: #bfe5cd; }
.flash-error { background: var(--danger-soft); color: #8e2a1a; border-color: #f2c4bd; }
.flash-info { background: #fff7e0; color: #6b4e00; border-color: #f3dc94; }
.email-hint { color: #8a5a00; font-size: .85rem; }
.email-hint .link-btn { color: inherit; font-weight: 700; }
.code-input { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-weight: 700; }
.auth-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .9rem; }
.auth-links form { margin: 0; }
.auth details { margin-top: 1rem; }
.auth summary { cursor: pointer; font-size: .9rem; }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.ch-WHATSAPP { background: var(--wa-soft); color: #137a3c; }
.ch-INSTAGRAM { background: var(--ig-soft); color: var(--ig); }
.ch-FACEBOOK { background: var(--fb-soft); color: var(--fb); }
.ch-WEB { background: var(--web-soft); color: var(--web); }
.st-PENDING { background: #fff4d1; color: #8a6100; }
.st-CONFIRMED { background: #e6f5ec; color: #137a3c; }
.st-SHIPPED { background: #e7f0fe; color: #1659c7; }
.st-DELIVERED { background: #efeaf9; color: #5b3fa8; }
.st-CANCELLED { background: #f1efea; color: #7a756a; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { font-weight: 600; font-size: .7rem; color: var(--muted); letter-spacing: 0; }

/* ---------- Dashboard layout ---------- */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: #f4efe3; padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { color: #fff; padding: 0 .5rem; }
.sidebar nav { display: flex; flex-direction: column; gap: .2rem; }
.sidebar nav a { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; border-radius: 10px; text-decoration: none; color: #cfc8b8; font-weight: 600; font-size: .93rem; }
.sidebar nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sidebar nav a.active { background: var(--honey); color: var(--ink); }
.sidebar-foot { margin-top: auto; padding: .75rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.sidebar-foot strong { display: block; color: #fff; }
.sidebar-foot .link-btn { color: #cfc8b8; margin-top: .5rem; }
.main { padding: 2rem 2.25rem 4rem; min-width: 0; max-width: 1240px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .25rem 0 0; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.stat .label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.stat .value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin-top: .2rem; }
.stat.highlight { background: var(--honey-soft); border-color: #f4dd96; }

.share { display: flex; gap: .5rem; align-items: center; background: var(--card); border: 1px dashed #dccf9f; border-radius: 12px; padding: .5rem .5rem .5rem .9rem; }
.share code { font-family: inherit; font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.toolbar { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: .84rem; color: var(--ink-2); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar form { display: flex; gap: .5rem; margin-left: auto; }
.toolbar select, .toolbar input { padding: .5rem .7rem; width: auto; }

.new-banner { display: none; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; }
.new-banner.show { display: flex; }

.table-card { padding: 0; overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: .8rem 1rem; background: #fcfaf5; border-bottom: 1px solid var(--line); }
td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .92rem; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fdfbf6; }
.order-link { font-weight: 700; text-decoration: none; }
.order-link:hover { text-decoration: underline; }
.cust-name { font-weight: 600; }
.cust-contact { color: var(--muted); font-size: .82rem; }
.items-cell { max-width: 280px; }
.chat-preview { color: var(--muted); font-style: italic; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.actions { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.amount { font-weight: 700; white-space: nowrap; }

.empty { text-align: center; padding: 3rem 1.5rem; }
.empty .big { font-size: 2.4rem; margin-bottom: .5rem; }

/* Products */
.product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card.inactive { opacity: .6; }
.product-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card .title { font-weight: 700; }
.product-card .meta { display: flex; justify-content: space-between; align-items: center; }
.product-card .foot { display: flex; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.thumb { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--honey-soft); }
.thumb-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: var(--honey-strong); background: linear-gradient(135deg, #fff4d1, #ffe6a3); }
.stock-low { color: var(--danger); font-weight: 700; }
.form-card { max-width: 640px; }
.image-preview { width: 120px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: .5rem; }

/* Order detail */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.order-grid > * { min-width: 0; } /* a long row of chat product cards scrolls instead of stretching the page */
.lines td { padding: .7rem 0; }
.lines .total td { font-weight: 800; font-size: 1.05rem; border-bottom: 0; }
.add-item { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.add-item select { flex: 1; min-width: 180px; }
.add-item input { width: 80px; }
.bubbles { display: flex; flex-direction: column; gap: .6rem; }
.bubble { background: #f4f1ea; padding: .7rem .9rem; border-radius: 14px 14px 14px 4px; max-width: 85%; white-space: pre-wrap; }
.bubble time { display: block; font-size: .74rem; color: var(--muted); margin-top: .25rem; }
.info-list { display: grid; gap: .65rem; margin: 0; }
.info-list dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.info-list dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.status-actions { display: grid; gap: .5rem; }
.code-box { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; background: #f6f3ec; border: 1px solid var(--line); padding: .55rem .7rem; border-radius: 8px; overflow-wrap: anywhere; }

/* ---------- Auth pages ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: radial-gradient(ellipse at top, #fff4d1 0%, var(--bg) 60%); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { margin-bottom: 1.5rem; }
.auth-card .card { padding: 1.75rem; }
.auth-foot { text-align: center; margin-top: 1.25rem; color: var(--muted); }

/* ---------- Landing page ---------- */
.site-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 1.1rem 1.25rem; }
.site-nav .row { gap: .5rem; }
.hero { max-width: 1160px; margin: 0 auto; padding: 3.5rem 1.25rem 2rem; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; background: var(--honey-soft); color: #7a5600; font-weight: 700; font-size: .8rem; padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, #ffd54d 62%); }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 32rem; }
.hero .row { margin-top: 1.5rem; }
.preview { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(29, 27, 22, .1); padding: 1rem; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; }
.preview-stats div { background: var(--bg); border-radius: 10px; padding: .6rem .75rem; font-size: .75rem; color: var(--muted); font-weight: 600; }
.preview-stats b { display: block; color: var(--ink); font-size: 1.2rem; }
.preview-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: .75rem; align-items: center; padding: .65rem .4rem; border-top: 1px solid var(--line); font-size: .85rem; }
.preview-row .who { font-weight: 600; }
.preview-row .who small { display: block; font-weight: 400; color: var(--muted); }
.section { max-width: 1160px; margin: 0 auto; padding: 3rem 1.25rem; }
.section-head { text-align: center; max-width: 36rem; margin: 0 auto 2rem; }
.section-head h2 { font-size: 1.9rem; letter-spacing: -.02em; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature .icon { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--honey-soft); margin-bottom: .8rem; }
.feature p { color: var(--muted); margin: 0; font-size: .92rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding-top: 3.25rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 1.25rem; left: 1.25rem; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.step p { color: var(--muted); margin: 0; }
.cta { background: var(--ink); color: #fff; border-radius: 22px; padding: 3rem 1.5rem; text-align: center; }
.cta h2 { font-size: 2rem; }
.cta p { color: #cfc8b8; }
.site-foot { text-align: center; color: var(--muted); padding: 2rem 1rem 3rem; font-size: .88rem; }

/* ---------- Public storefront ---------- */
.store-body { background: #fff; }
.store-head { background: linear-gradient(180deg, #fff4d1 0%, #fff 100%); padding: 2.5rem 1.25rem 1.5rem; text-align: center; }
.store-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--honey); display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 1rem; }
.store-head h1 { font-size: 1.9rem; }
.store-head p { color: var(--ink-2); max-width: 34rem; margin: 0 auto; }
.store-wrap { max-width: 1080px; margin: 0 auto; padding: 1.5rem 1.25rem 7rem; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.store-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.store-item .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.store-item .title { font-weight: 700; }
.store-item .desc { color: var(--muted); font-size: .86rem; }
.store-item .price { font-weight: 800; font-size: 1.1rem; }
.store-item .btn { margin-top: auto; }
.store-item.soldout { opacity: .65; }
.cart-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 20; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.cart-fab .count { background: var(--honey); color: var(--ink); border-radius: 999px; padding: .1rem .5rem; font-size: .8rem; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 30; display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 31; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer.open + .drawer-backdrop, .drawer-backdrop.show { display: block; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 1rem 1.25rem; overflow-y: auto; flex: 1; }
.cart-line { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.cart-line .name { flex: 1; font-weight: 600; font-size: .92rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; }
.qty button { background: none; border: 0; font: inherit; font-weight: 700; width: 30px; height: 30px; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; padding: 1rem 0; }
.or { text-align: center; color: var(--muted); font-size: .85rem; margin: .75rem 0; }
.powered { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 3rem; }
.powered a { font-weight: 700; text-decoration: none; }
.thanks { max-width: 520px; margin: 3rem auto; padding: 0 1.25rem; text-align: center; }
.thanks .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; }
.thanks .card { text-align: left; margin-top: 1.5rem; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: .75rem 1rem; gap: .75rem; }
  .app > * { min-width: 0; }
  .sidebar nav { flex-direction: row; overflow-x: auto; width: 100%; min-width: 0; order: 3; }
  .sidebar nav a { white-space: nowrap; padding: .5rem .7rem; font-size: .85rem; }
  .sidebar-foot { margin: 0 0 0 auto; border: 0; padding: 0; text-align: right; }
  .sidebar-foot strong, .sidebar-foot .muted { display: none; }
  .sidebar-foot .link-btn { margin: 0; }
  .main { padding: 1.25rem 1rem 3rem; }
  .toolbar form { margin-left: 0; width: 100%; }
  .toolbar form input { flex: 1; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .preview-row { grid-template-columns: auto 1fr auto; }
  .preview-row .badge.st { display: none; }
}

/* On smaller screens the orders table becomes one card per order */
@media (max-width: 1180px) {
  .orders-table thead { display: none; }
  .orders-table, .orders-table tbody, .orders-table tr, .orders-table td { display: block; width: 100%; }
  .orders-table tr { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
  .orders-table tr:last-child { border-bottom: 0; }
  .orders-table td { border: 0; padding: .2rem 0; }
  .orders-table td[data-label] { display: flex; gap: .75rem; align-items: baseline; }
  .orders-table td[data-label]::before { content: attr(data-label); flex: none; width: 80px; color: var(--muted); font-size: .78rem; font-weight: 600; }
  .orders-table td[data-label="Order"] { align-items: center; }
  .orders-table td[data-label="Order"] .cust-contact { margin-left: auto; }
  .orders-table .items-cell { max-width: none; }
  .orders-table .actions { justify-content: flex-start; padding-top: .6rem; }
}

/* Payment choice, payment badges, Beeze's replies, danger zone */
.pay-options { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.pay-options legend { font-weight: 700; font-size: .9rem; margin-bottom: .5rem; }
.pay-option { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-option input { margin-top: .2rem; }
.pay-option small { display: block; color: var(--muted); font-size: .8rem; }
.pay-PAID { background: #e6f5ec; color: #137a3c; }
.pay-COD { background: #eef0ff; color: #3949ab; }
.pay-AWAITING { background: #fff4d1; color: #8a6100; }
.bubble.out { align-self: flex-end; background: #fff4d1; border-radius: 14px 14px 4px 14px; }
.bubble .who { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: .2rem; }
.danger-zone { border-color: #f1c4c4; }
.danger-zone h2 { color: #b42318; }
.check-row { display: flex; gap: .5rem; align-items: flex-start; font-weight: 500; }
.pay-VERIFY { background: #fde7c7; color: #8a4b00; }

/* Product options, address boxes */
.grid-3 { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 0 .75rem; }
.option-select { margin-bottom: .6rem; padding: .5rem .7rem; font-size: .88rem; }
@media (max-width: 520px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-3 .field:first-child { grid-column: 1 / -1; } }

/* UPI payment */
.upi-card { text-align: center; }
.upi-qr { display: inline-block; background: #fff; padding: .5rem; border: 1px solid var(--line); border-radius: 12px; }
.upi-qr svg { width: 220px; height: 220px; display: block; }
.upi-id { word-break: break-all; }

/* Order tracking timeline */
.timeline { list-style: none; padding: 0; margin: 1.25rem auto; max-width: 340px; text-align: left; }
.timeline li { position: relative; display: flex; gap: .8rem; align-items: baseline; padding: 0 0 1rem 0; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 1rem; bottom: -.2rem; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: #fff; position: relative; top: 2px; }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: var(--success); border-color: var(--success); }
.timeline li.done::before { background: var(--success); }

/* Shipping card on the order page */
.ship-form .grid-2 { gap: 0 .75rem; }
.quick-replies { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.plan-card h3 { font-size: 1.15rem; }
.plan-card .price-big { font-size: 1.8rem; font-weight: 800; margin: .3rem 0 .6rem; }
.plan-card ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.plan-card.current { border-color: var(--honey); box-shadow: 0 0 0 2px var(--honey-soft), var(--shadow); }
.meter { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: .3rem 0 .8rem; }
.meter span { display: block; height: 100%; background: var(--honey); }
.banner { background: var(--honey-soft); border: 1px solid #f3d98a; border-radius: 12px; padding: .7rem 1rem; margin-bottom: 1rem; font-size: .9rem; }
.banner-warn { background: #fff1f0; border-color: #f5b5ae; }
.welcome-box { border: 0; border-radius: 20px; padding: 1.6rem 1.4rem 1.2rem; width: min(420px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0,0,0,.25); text-align: center; background: var(--card, #fff); color: inherit; }
.welcome-box::backdrop { background: rgba(20, 16, 4, .45); backdrop-filter: blur(2px); }
.welcome-box[open] { animation: welcome-in .45s cubic-bezier(.2, .9, .3, 1.3); }
.welcome-bee { font-size: 2.6rem; display: inline-block; animation: welcome-bee 2.4s ease-in-out infinite; }
.welcome-box h2 { margin: .3rem 0 .1rem; font-size: 1.35rem; }
.welcome-shop { margin: 0 0 1rem; font-size: 1.05rem; }
.welcome-list { list-style: none; padding: 0; margin: .4rem 0 1rem; text-align: left; display: grid; gap: .4rem; }
.welcome-list a { display: block; padding: .6rem .8rem; border-radius: 12px; background: var(--honey-soft); text-decoration: none; color: inherit; font-size: .92rem; font-weight: 600; }
.welcome-list a:hover { filter: brightness(.97); }
.welcome-trial { margin: 0 0 .8rem; }
@keyframes welcome-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes welcome-bee { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(6px, -6px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .welcome-box[open], .welcome-bee { animation: none; } }
.connect-box { margin-bottom: 1rem; }
.connect-box .card-title { margin-bottom: .25rem; }
.connect-box h2 { font-size: 1.05rem; }
.connect-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.connect-item { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.connect-item .connected { color: var(--wa); font-weight: 700; font-size: .85rem; }

/* Printable invoice */
.invoice-body { background: #fff; }
.invoice { max-width: 760px; margin: 0 auto; padding: 2rem 1rem; }
.invoice p { margin: 0 0 .2rem; }
.invoice-actions { text-align: right; margin-bottom: 1rem; }
.invoice-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1rem; }
.invoice-meta { text-align: right; }
.invoice-to { margin-bottom: 1.25rem; }
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th, .invoice-table td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid var(--line); }
.invoice-table th:not(:first-child), .invoice-table td:not(:first-child) { text-align: right; }
.invoice-table tfoot td { border-bottom: 0; }
.invoice-table tfoot td:first-child { text-align: right; }
.invoice-table .grand td { font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--ink); }
@media print { .no-print { display: none !important; } .invoice { padding: 0; } }

/* Plan pill in the sidebar */
.plan-pill { display: inline-block; margin-left: .3rem; padding: .05rem .45rem; border-radius: 999px; background: var(--honey-soft); color: var(--honey-strong); font-size: .7rem; font-weight: 800; vertical-align: middle; }

/* Product options (sizes / colours) */
.variant-rows { display: grid; gap: .5rem; margin-bottom: .6rem; }
.variant-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .4rem; align-items: center; }
@media (max-width: 520px) { .variant-row { grid-template-columns: 1fr 1fr; } .variant-row [name=variantName] { grid-column: 1 / -1; } }

[hidden] { display: none !important; }

/* Ready-made greeting messages (Settings) */
textarea.code-box { display: block; width: 100%; resize: vertical; margin-bottom: .5rem; font-family: inherit; white-space: pre-wrap; }

/* Privacy and Terms pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }
.legal .brand { margin-bottom: 20px; }
.legal h2 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal ul { padding-left: 20px; }
.legal li, .legal p { line-height: 1.6; }

/* Reports chart */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: .5rem; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 2px; }
.bar span { display: block; width: 100%; min-height: 2px; background: var(--honey); border-radius: 3px 3px 0 0; }
.bar:hover span { background: var(--honey-strong); }
.bars-axis { display: flex; justify-content: space-between; margin-top: .4rem; }
.bars-hours { height: 90px; }
/* Admin: needs your attention, today vs yesterday, funnel */
.attn { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .6rem .75rem; margin-top: .5rem; border-radius: 10px; border-left: 4px solid var(--honey); background: var(--honey-soft); }
.attn-red { border-left-color: var(--danger); background: var(--danger-soft); }
.attn-blue { border-left-color: #3b82f6; background: #eef4ff; }
.attn-text { flex: 1 1 240px; color: inherit; text-decoration: none; font-size: .9rem; font-weight: 600; }
.attn-text:hover { text-decoration: underline; }
.attn-actions { display: flex; gap: .4rem; }
.trend { margin-top: .2rem; }
.trend-up { color: #15803d; }
.trend-down { color: var(--danger); }
.trend-same { color: var(--muted, #777); }
.funnel-row { display: grid; grid-template-columns: minmax(130px, 220px) 1fr auto; align-items: center; gap: .6rem; margin-bottom: .45rem; }
.funnel-bar { height: 14px; background: #f3efe4; border-radius: 999px; overflow: hidden; }
.funnel-bar span { display: block; height: 100%; background: var(--honey); border-radius: 999px; }
.funnel-n { min-width: 70px; text-align: right; }
@media (max-width: 560px) { .funnel-row { grid-template-columns: 1fr auto; } .funnel-bar { grid-column: 1 / -1; grid-row: 2; } }
.import-errors { margin: 0; padding-left: 1.2rem; }
.import-errors li { margin-bottom: .2rem; }

/* Landing extras */
.trust { margin-top: 1rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 860px; margin: 0 auto; }
.compare-col ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.compare-col.before { background: #faf7f0; }
.compare-col.before li { color: var(--muted); }
.compare-col.after { border-color: #f4dd96; background: var(--honey-soft); }
.chat-demo { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: .55rem; background: #efeae2; }
.chat-demo .msg { padding: .6rem .85rem; border-radius: 12px; max-width: 85%; font-size: .92rem; overflow-wrap: anywhere; }
.chat-demo .in { background: #fff; align-self: flex-start; border-radius: 12px 12px 12px 4px; }
.chat-demo .out { background: #d9fdd3; align-self: flex-end; border-radius: 12px 12px 4px 12px; }
.chat-demo .note { align-self: center; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .6rem; }
.faq details { padding: 1rem 1.25rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .6rem 0 0; color: var(--ink-2); }
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; background: var(--wa); color: #fff; font-weight: 700; padding: .75rem 1.1rem; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
  .site-nav { padding: .9rem 1rem; gap: .5rem; }
  .site-nav .brand small { display: none; }
  .site-nav .btn { padding: .5rem .75rem; }
  .hero, .section { padding-left: 1rem; padding-right: 1rem; }
  .hero h1, .section-head h2 { overflow-wrap: anywhere; }
  .preview-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; }
  .preview-row .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .bars { gap: 1px; }
}

/* Admin page */
.admin-h { font-size: 1.15rem; margin: 2rem 0 .8rem; }
.admin-h:first-of-type { margin-top: .5rem; }
.admin-tabs { margin: -.4rem 0 1.2rem; }
.admin-search { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.admin-search input[type=search] { flex: 1 1 220px; min-width: 0; }
.admin-search select { flex: 0 1 auto; max-width: 100%; }
.error-detail { white-space: pre-wrap; word-break: break-word; font-size: .75rem; max-height: 260px; overflow: auto; background: var(--honey-soft); padding: .6rem; border-radius: 8px; }

/* Checklist pop-up before connecting Instagram */
.checklist { border: 0; border-radius: 16px; padding: 1.5rem; max-width: 520px; width: calc(100% - 2rem); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.checklist::backdrop { background: rgba(20, 20, 20, .45); }
.checklist h2 { margin: 0 0 .4rem; }
.checklist .check-row { margin-top: .8rem; }
.chat-photo { display: block; max-width: 220px; max-height: 280px; border-radius: 8px; margin-bottom: .35rem; object-fit: cover; }

/* ---------- Website page: template picker ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.tpl { position: relative; display: flex; flex-direction: column; gap: .15rem; padding: .6rem; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff; }
.tpl:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px var(--honey-soft); }
.tpl input { position: absolute; opacity: 0; pointer-events: none; }
.tpl:has(input:focus-visible) { outline: 2px solid var(--honey-strong); outline-offset: 2px; }
.tpl-preview { position: relative; display: block; height: 92px; border-radius: 10px; margin-bottom: .4rem; overflow: hidden; background: color-mix(in srgb, var(--c) 10%, #fff); }
.tpl-preview i { position: absolute; left: 0; right: 0; top: 0; height: 30px; background: color-mix(in srgb, var(--c) 30%, #fff); }
.tpl-preview b { position: absolute; left: 10px; top: 36px; font-size: 1.3rem; color: var(--c); }
.tpl-preview em { position: absolute; bottom: 10px; width: 38%; height: 26px; border-radius: 6px; background: #fff; border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); }
.tpl-preview em:first-of-type { left: 10px; }
.tpl-moves { align-self: flex-start; font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px; background: var(--honey-soft); }
.tpl-moving .tpl-preview em { animation: tpl-bob 2.4s ease-in-out infinite; }
.tpl-moving .tpl-preview em:last-of-type { animation-delay: .4s; }
.tpl-moving .tpl-preview b { animation: tpl-glow 3s ease-in-out infinite; }
@keyframes tpl-bob { 50% { transform: translateY(-6px); } }
@keyframes tpl-glow { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .tpl-moving .tpl-preview em, .tpl-moving .tpl-preview b { animation: none; } }
.tpl-preview em:last-of-type { right: 10px; background: var(--c); }
.tpl-boutique .tpl-preview, .tpl-boutique .tpl-preview em { border-radius: 0; }
/* the shopping-site templates: a shop bar across the top, square photos */
.tpl-trend .tpl-preview i, .tpl-elegant .tpl-preview i, .tpl-street .tpl-preview i, .tpl-bazaar .tpl-preview i { height: 16px; background: #fff; border-bottom: 2px solid var(--c); }
.tpl-street .tpl-preview i { background: var(--c); border-bottom-color: #b19975; }
.tpl-elegant .tpl-preview, .tpl-elegant .tpl-preview em, .tpl-street .tpl-preview em { border-radius: 0; }
.tpl-elegant .tpl-preview { background: #fff; border: 1px solid var(--line); }
.tpl-heritage .tpl-preview { background: #fbf5ec; }
.tpl-heritage .tpl-preview em { border-radius: 999px 999px 4px 4px; }
.tpl-heritage .tpl-preview b, .tpl-elegant .tpl-preview b { font-family: Georgia, serif; font-weight: 500; }
.tpl-boutique .tpl-preview { background: #fff; border: 1px solid var(--line); }
.tpl-boutique .tpl-preview b, .tpl-artisan .tpl-preview b, .tpl-bakery .tpl-preview b { font-family: Georgia, serif; font-weight: 600; }
.tpl-bakery .tpl-preview em, .tpl-glow .tpl-preview em { border-radius: 999px; }
.tpl-artisan .tpl-preview { background: #fbf8f1; }
.site-address { font-size: 1.15rem; font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.site-thumb { width: 100%; max-height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-bottom: .4rem; }
.site-thumb.round { width: 84px; height: 84px; border-radius: 50%; }

/* ---------- Products page: categories ---------- */
.cat-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.cat-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .88rem; cursor: pointer; }
.cat-chip span { font-size: .75rem; color: var(--muted); font-weight: 700; }
.cat-chip:hover { border-color: #d8d0bd; }
.cat-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip.is-on span { color: var(--honey); }
.cat-add { position: relative; }
.cat-add summary { list-style: none; }
.cat-add summary::-webkit-details-marker { display: none; }
.cat-plus { border-style: dashed; color: var(--ink-2); }
.cat-add[open] .cat-plus { background: var(--honey-soft); border-color: var(--honey-strong); }
.cat-pop { position: absolute; z-index: 5; top: calc(100% + .4rem); left: 0; width: 240px; display: grid; gap: .5rem; padding: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cat-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: -.25rem 0 1rem; padding: .7rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-tools input { width: 12rem; padding: .4rem .6rem; }
.cat-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--honey-soft); color: var(--web); }
.cat-pick { display: flex; gap: .5rem; }
.cat-pick select { flex: 1; }

/* Website page: the three sliding photos */
.slide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.slide-box { display: flex; flex-direction: column; gap: .5rem; padding: .9rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg); }
.slide-box .site-thumb { width: 100%; height: 110px; }

/* Settings: the shop's own keyword answers */
.quick-replies { display: grid; gap: .6rem; margin: .5rem 0; }
.quick-reply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .5rem; }
.quick-reply textarea { min-height: 2.6rem; }
@media (max-width: 560px) { .quick-reply { grid-template-columns: 1fr; } }

/* Instagram / Facebook tap buttons and product cards under a Beeze reply */
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; margin: -.2rem 0 .6rem; }
.chat-chip { border: 1px solid var(--brand, #7c3aed); color: var(--brand, #7c3aed); background: transparent; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; cursor: default; }
button.chat-chip { cursor: pointer; } button.chat-chip:hover { background: var(--brand, #7c3aed); color: #fff; }
/* a list of buttons one under the other, joined to the message above it (like Instagram shows it) */
.chat-list { display: flex; flex-direction: column; width: min(78%, 300px); margin: -.45rem 0 .6rem auto; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: #fff; overflow: hidden; }
.chat-list .tap-form { display: contents; }
.chat-list-btn { display: block; width: 100%; padding: .6rem .8rem; border: 0; border-top: 1px solid var(--line); background: #fff; color: #2563eb; font: inherit; font-weight: 600; font-size: .92rem; text-align: center; text-decoration: none; cursor: default; }
.chat-list > :first-child .chat-list-btn, .chat-list > .chat-list-btn:first-child { border-top: 0; }
a.chat-list-btn, button.chat-list-btn { cursor: pointer; } a.chat-list-btn:hover, button.chat-list-btn:hover { background: #f5f8ff; }
.chat-cards { display: flex; gap: .6rem; overflow-x: auto; margin: -.2rem 0 .6rem auto; max-width: 100%; padding-bottom: .3rem; }
.chat-cards > :first-child { margin-left: auto; } /* sits on the right like the bot's messages, and still scrolls to the first card */
.chat-card { flex: 0 0 190px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.chat-card img { width: 100%; height: 130px; object-fit: cover; }
.chat-card-body { padding: .5rem .6rem; display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.chat-card-body small { color: #6b7280; }
.chat-card-btn, .chat-card .tap-form button { display: block; width: 100%; border: 0; border-top: 1px solid #e5e7eb; background: transparent; padding: .45rem; text-align: center; color: #2563eb; font: inherit; font-size: .88rem; text-decoration: none; cursor: pointer; }
.chat-card span.chat-card-btn { cursor: default; color: #6b7280; }
.tap-form { margin: 0; display: contents; }

/* Website page: share buttons, the shortcuts to everything on the website, and the sample shop button */
.share-row { flex-wrap: wrap; gap: .5rem; margin: .6rem 0 .2rem; }
.site-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem; }
.site-step { display: flex; gap: .7rem; align-items: center; padding: .75rem .85rem; border: 1px solid #e5e7eb; border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.site-step:hover { border-color: currentColor; box-shadow: 0 2px 10px #0000000d; }
.site-step b { flex: 0 0 38px; height: 38px; border-radius: 10px; background: #f4f1ea; display: grid; place-items: center; font-size: 1.15rem; }
.site-step span { display: flex; flex-direction: column; }
.site-step small { color: #6b7280; }
.demo-card { background: linear-gradient(135deg, #fff7ed, #fdf2f8); }

.fresh-card { border: 1px solid #fecaca; }

/* "Set up your shop": one step at a time */
.setup-card { max-width: 520px; }
.setup-card h1 { font-size: 1.45rem; margin: 0 0 .25rem; }
.setup-dots { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.setup-dots li { flex: 1; height: 5px; border-radius: 5px; background: #eee7da; }
.setup-dots li.on { background: var(--honey-strong); }
.kind-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind span { display: inline-block; padding: .55rem .85rem; border: 1px solid #e5e7eb; border-radius: 999px; cursor: pointer; background: #fff; }
.kind input:checked + span { border-color: #111; background: #111; color: #fff; }
.kind input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
.slug-row { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.slug-row input { flex: 1; min-width: 140px; }
.setup-money { gap: .8rem; }
.setup-money .field { flex: 1; }
.setup-nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.2rem; }
.setup-nav [data-next], .setup-nav [data-finish] { margin-left: auto; }

.sample-check { align-items: flex-start; margin-top: 1rem; padding: .75rem .85rem; border-radius: 12px; background: linear-gradient(135deg, #fff7ed, #fdf2f8); font-weight: 400; }
.sample-check input { margin-top: .15rem; flex: 0 0 auto; }

/* Team page: what each staff login can open */
.perm-form { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.perm-list { display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.perm { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; font-size: .88rem; white-space: nowrap; cursor: pointer; }
.perm input { width: auto; margin: 0; }
.perm-list-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem; }
.perm-list-big .perm { align-items: flex-start; white-space: normal; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; }
.perm-list-big .perm input { margin-top: .2rem; }
.perm-list-big .perm span { display: flex; flex-direction: column; }
.perm-list-big .perm small { font-weight: 400; font-size: .8rem; }
