/* ============================================================
   RONALDO SPORTS — design system v2
   Clean, sporty, typographic. White / near-black, red used
   sparingly for action + emphasis. Oswald for display type,
   Inter for UI text.
   ============================================================ */

:root {
  --ink: #111110;
  --text: #3d3b39;
  --muted: #8a8580;
  --red: #d91f26;
  --red-dark: #b0151b;
  --red-tint: #fdf1f1;
  --bg: #ffffff;
  --surface: #f6f5f3;
  --line: #eae7e3;
  --green: #17753a;
  --green-tint: #e9f5ee;
  --amber: #8a5a06;
  --amber-tint: #fdf3dd;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow: 0 2px 6px rgba(17, 17, 16, .05), 0 12px 32px rgba(17, 17, 16, .08);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: .95rem; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: .01em;
}

/* ---------- announcement bar ---------- */

.announce {
  background: var(--ink);
  color: #b9b4af;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 8px 16px;
}
.announce b { color: #fff; font-weight: 600; }

/* ---------- header ---------- */

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.wordmark span { color: var(--red); }

.admin-flag {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 4px 9px;
  flex-shrink: 0;
}

.search {
  flex: 1;
  max-width: 460px;
  position: relative;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  border: 1px solid transparent;
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 10px 14px 10px 38px;
  outline: none;
  color: var(--ink);
}
.search input:focus { border-color: var(--ink); background: #fff; }
.search input::placeholder { color: var(--muted); }

.top-links { display: flex; align-items: center; gap: 18px; margin-left: auto; flex-shrink: 0; }

.top-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .88rem;
}
.top-link:hover { color: var(--ink); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 18px;
  font-weight: 600;
  font-size: .88rem;
}
.cart-btn:hover { background: #000; }
.cart-btn svg { width: 17px; height: 17px; stroke: #fff; }

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .68rem;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- hero (full brand-red banner) ---------- */

.hero { background: #e1010b; color: #fff; overflow: hidden; }

.hero-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 60px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero-logo {
  height: 84px;
  width: auto;
  margin-bottom: 26px;
  /* same red as the banner, so it blends in like a transparent logo */
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.3rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(120, 0, 5, .25);
}
.hero h1 em { font-style: normal; color: #131210; }

.hero-sub {
  color: rgba(255, 235, 235, .93);
  font-size: 1.02rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-sub b { color: #fff; font-weight: 700; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: rgba(255, 219, 219, .85);
  font-size: .84rem;
}
.hero-facts b {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-art {
  border: none;
  box-shadow: none;
}
.hero-art img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: top;
  -webkit-mask-image: radial-gradient(105% 100% at 50% 45%, #000 52%, transparent 78%);
  mask-image: radial-gradient(105% 100% at 50% 45%, #000 52%, transparent 78%);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 12px 26px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { border-color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled] { background: #d8d4d0; color: #fff; cursor: not-allowed; }
.btn-sm { padding: 9px 16px; font-size: .78rem; }
.btn-full { width: 100%; }

/* ---------- section head ---------- */

.sec-head { margin: 52px 0 8px; }
.sec-head h2 { font-size: 1.7rem; font-weight: 600; }
.sec-head .rule {
  width: 46px;
  height: 4px;
  background: var(--red);
  margin-top: 10px;
}
.sec-sub { color: var(--muted); margin-top: 10px; }

/* ---------- category tabs ---------- */

.cat-nav {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-top: 22px;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }

.cat-tab {
  background: none;
  border: none;
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 2px 14px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab.on { color: var(--ink); border-bottom-color: var(--red); }

/* ---------- toolbar ---------- */

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}
.result-count { color: var(--muted); font-size: .86rem; margin-right: auto; }

.tool-select {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  font-size: .86rem;
  font-weight: 500;
}
.tool-select:focus { outline: none; border-color: var(--ink); }

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 8px 13px;
}
.check input { accent-color: var(--red); width: 15px; height: 15px; }

/* ---------- product grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 20px;
  padding-bottom: 64px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.card.oos .card-img img { opacity: .45; filter: grayscale(.7); }

.ph-tile {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  color: #d8d3ce;
}

.flag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 9px;
  border-radius: 4px;
}
.flag.oos-flag { background: var(--ink); }

.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-cat {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.card-name { font-weight: 600; font-size: .94rem; color: var(--ink); line-height: 1.35; font-family: var(--body); text-transform: none; }

.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 2px; }
.card-price { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 500; color: var(--muted); }
.stock i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; flex-shrink: 0; }
.stock.in i { background: var(--green); }
.stock.low { color: var(--amber); }
.stock.low i { background: #e09c10; }
.stock.out i { background: #b9b4af; }

.card .btn { margin-top: 12px; }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 70px 20px;
  grid-column: 1 / -1;
}
.empty h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

/* ---------- cart drawer ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 11, 10, .5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  z-index: 100;
  transform: translateX(105%);
  transition: transform .22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(0, 0, 0, .18);
}
.drawer.show { transform: translateX(0); }

.drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h2 { font-size: 1.15rem; font-weight: 600; }
.icon-btn { background: none; border: none; padding: 6px; line-height: 0; color: var(--muted); }
.icon-btn:hover { color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; }

.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }

.cart-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.thumb {
  background: var(--surface);
  border-radius: var(--r-sm);
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: #d8d3ce;
  font-size: 1.3rem;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.cart-info { flex: 1; min-width: 0; }
.cart-info .n { font-weight: 600; font-size: .88rem; color: var(--ink); }
.cart-info .p { color: var(--muted); font-size: .8rem; margin-top: 2px; }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.qty button {
  width: 28px;
  height: 30px;
  border: none;
  background: none;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1;
}
.qty button:hover { background: var(--surface); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .88rem; }

.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; }
.tot-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--text); padding: 3px 0; }
.tot-row.big { font-weight: 700; font-size: 1.08rem; color: var(--ink); padding-top: 10px; }
.free-note { color: var(--green); font-size: .8rem; font-weight: 500; padding: 4px 0 2px; }
.free-note.pending { color: var(--muted); }
.drawer-foot .btn { width: 100%; margin-top: 14px; }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 5vh 16px 48px;
  background: rgba(12, 11, 10, .55);
}
.modal.show { display: flex; }

.modal-box {
  background: #fff;
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 540px;
  overflow: hidden;
}

.modal-head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h2 { font-size: 1.2rem; font-weight: 600; }

.modal-body { padding: 8px 26px 26px; }

.f-label { font-weight: 600; font-size: .84rem; color: var(--ink); display: block; margin: 16px 0 6px; }
.f-input, textarea.f-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  outline: none;
  color: var(--ink);
  background: #fff;
}
.f-input:focus { border-color: var(--ink); }
textarea.f-input { resize: vertical; min-height: 62px; }

.pay-opts { display: grid; gap: 10px; margin-top: 6px; }
.pay-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.pay-opt input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.pay-opt.on { border-color: var(--red); background: var(--red-tint); }
.pay-opt .t { font-weight: 600; color: var(--ink); font-size: .93rem; }
.pay-opt .d { color: var(--muted); font-size: .82rem; margin-top: 2px; }

.order-summary {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-top: 18px;
  font-size: .9rem;
}

.modal-body .btn { width: 100%; margin-top: 20px; }

.success { text-align: center; padding: 26px 0 10px; }
.success svg { width: 56px; height: 56px; margin: 0 auto 14px; }
.success h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 4px; }
.success p { color: var(--text); margin: 6px 0; }
.success .order-no {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .08em;
  background: var(--ink);
  color: #fff;
  padding: 7px 20px;
  border-radius: var(--r-sm);
  margin: 10px 0 4px;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .88rem;
  z-index: 200;
  transition: transform .22s ease;
  box-shadow: var(--shadow);
  max-width: 92vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- footer ---------- */

.foot {
  background: var(--ink);
  color: #a39d97;
  margin-top: 40px;
  padding: 52px 24px 30px;
}
.foot-in {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.foot img { height: 58px; width: auto; border-radius: 6px; margin-bottom: 14px; }
.foot h4 {
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.foot p { font-size: .88rem; max-width: 40ch; }
.foot ol { margin-left: 18px; font-size: .88rem; display: grid; gap: 6px; }
.demo-note {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid #2c2a28;
  font-size: .78rem;
  color: #6f6a65;
}

/* ============================================================
   ADMIN
   ============================================================ */

.page-head { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 4px; }
.page-head h1 { font-size: 1.8rem; font-weight: 600; }
.page-head .sub { color: var(--muted); font-size: .88rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.stat .lbl {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.stat .val { font-size: 1.9rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: 4px; }
.stat.alert { border-left: 4px solid var(--red); }

.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab {
  background: none;
  border: none;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 2px 13px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--red); }

.toolrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg button {
  border: none;
  background: #fff;
  padding: 8px 16px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text);
  border-right: 1px solid var(--line);
}
.seg button:last-child { border-right: none; }
.seg button:hover { background: var(--surface); }
.seg button.on { background: var(--ink); color: #fff; }

.search-admin {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  outline: none;
  background: #fff;
}
.search-admin:focus { border-color: var(--ink); }

/* order cards */

.order {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.order.s-new { border-left-color: var(--red); }
.order.s-dispatched { border-left-color: var(--ink); }
.order.s-delivered { border-left-color: var(--green); }

.order-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-id { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; color: var(--ink); }
.order-time { color: var(--muted); font-size: .8rem; margin-left: auto; }

.badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.b-new { background: var(--red-tint); color: var(--red-dark); }
.b-dispatched { background: #f0efed; color: var(--ink); }
.b-delivered { background: var(--green-tint); color: var(--green); }
.b-paid { background: var(--green-tint); color: var(--green); }
.b-cod { background: var(--amber-tint); color: var(--amber); }
.b-wait { background: var(--red); color: #fff; }

.order-cust { margin: 12px 0 6px; font-size: .9rem; color: var(--text); }
.order-cust b { color: var(--ink); font-weight: 600; }
.order-cust .sep { color: #d8d4d0; margin: 0 8px; }

.order-items { list-style: none; color: var(--text); font-size: .88rem; margin-bottom: 12px; }
.order-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
  max-width: 480px;
}
.order-items li:last-child { border-bottom: none; }

.order-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-total { font-weight: 700; font-size: 1rem; color: var(--ink); margin-right: auto; }
.cod-collect { color: var(--amber); font-size: .82rem; font-weight: 600; }
.done-note { color: var(--green); font-size: .84rem; font-weight: 600; }

/* product admin */

.p-add {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  margin-bottom: 26px;
}
.p-add h3 { font-size: 1.05rem; font-weight: 600; }
.p-add .hint { color: var(--muted); font-size: .84rem; margin-top: 4px; }

.p-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 18px; }
.p-form .full { grid-column: 1 / -1; }

.img-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.img-pick button {
  width: 56px;
  height: 56px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 600;
}
.img-pick button img { width: 100%; height: 100%; object-fit: cover; }
.img-pick button.on { border-color: var(--red); }

.p-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.p-row.low-stock { border-left: 4px solid var(--red); }
.p-row .thumb { width: 50px; height: 50px; }
.p-row .info { flex: 1; min-width: 160px; }
.p-row .info .n { font-weight: 600; color: var(--ink); font-size: .92rem; }
.p-row .info .c { color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.p-row .price { font-family: var(--display); font-weight: 600; min-width: 92px; color: var(--ink); }
.p-row .stock-lbl { font-size: .78rem; color: var(--muted); font-weight: 500; min-width: 120px; }
.p-row .stock-lbl.warn { color: var(--red-dark); font-weight: 600; }

.reset-zone { text-align: center; padding: 30px 0 56px; }
.reset-zone button {
  background: none;
  border: 1px dashed #d8d4d0;
  color: var(--muted);
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-size: .85rem;
  font-weight: 500;
}
.reset-zone button:hover { color: var(--red); border-color: var(--red); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 44px 24px; gap: 36px; }
  .hero-art img { height: 340px; }
  .hero-logo { height: 64px; }
}

@media (max-width: 720px) {
  .topbar-in { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .order-time { margin-left: 0; flex-basis: 100%; }
}
