@font-face {
  font-family: "Awesome Newbie";
  src: url("../assets/fonts/AwesomeNewbie.otf") format("opentype");
  font-display: swap;
}

:root {
  --navy: #081e41;
  --teal: #56ccd2;
  --pink: #d08f8f;
  --pink-2: #e8c5c5;
  --pink-3: #f7e6e6;
  --cream: #fbf3e9;
  --cream-2: #f3e6d2;
  --ink: #2a1f30;
  --muted: #8a7d8d;
  --line: rgba(208, 143, 143, 0.4);
  --line-2: rgba(8, 30, 65, 0.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  background: #faf8f4;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* TOP BAR */
.top-bar {
  background: var(--pink); color: var(--navy);
  text-align: center; padding: 8px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.top-bar a { text-decoration: underline; text-underline-offset: 3px; }

/* HEADER — 2-row: icons left, logo center, cart right; nav full-width below */
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: rgba(250, 248, 244, 0.92); border-bottom: 1px solid rgba(208, 143, 143, 0.18); }
.header-row {
  max-width: 1320px; margin: 0 auto; padding: 18px 32px 4px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.logo img { height: 56px; }
.h-acts { display: flex; gap: 16px; align-items: center; justify-self: start; }
.h-acts.right { justify-self: end; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; background: white;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(208, 143, 143, 0.3); transition: transform 0.15s, border-color 0.15s;
}
.icon-btn:hover { transform: translateY(-1px); border-color: var(--pink); }
.h-link { font-size: 13.5px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; color: var(--navy); }
.cart-btn {
  background: var(--navy); color: var(--cream);
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  display: inline-flex; gap: 8px; align-items: center; cursor: pointer; border: none;
  transition: transform 0.15s;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn .num { background: var(--pink); color: var(--navy); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 800; }
.nav-row {
  max-width: 1320px; margin: 0 auto; padding: 6px 32px 14px;
  display: flex; justify-content: center; gap: 36px;
}
.nav-row a {
  font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em;
  position: relative; padding: 8px 2px; text-transform: uppercase;
}
.nav-row a:hover { color: var(--pink); }
.nav-row a.on { color: var(--pink); }
.nav-row a.on::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 6px; height: 6px; background: var(--pink); border-radius: 999px; }
.nav-row a.has-sub::after { content: " ▾"; opacity: 0.4; font-size: 10px; }

/* HERO */
.hero {
  max-width: 1320px; margin: 0 auto; padding: 60px 32px 0;
  position: relative;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  background: white; border: 1px solid var(--pink); color: var(--navy);
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.eyebrow .dot { width: 8px; height: 8px; background: var(--pink); border-radius: 999px; }
.hero h1 {
  font-family: "Awesome Newbie", sans-serif; font-weight: normal;
  font-size: clamp(58px, 8.5vw, 110px); line-height: 0.92; margin: 22px 0 18px; color: var(--navy);
}
.hero h1 .pink { color: var(--pink); position: relative; display: inline-block; }
.hero h1 .pink::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: 6%;
  height: 22%; background: rgba(86, 204, 210, 0.4); z-index: -1; border-radius: 999px;
}
.hero p { font-size: 17.5px; color: var(--ink); max-width: 480px; margin-bottom: 28px; }
.btns { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  cursor: pointer; transition: transform 0.15s; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-pink { background: var(--pink); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

.hero-cluster { position: relative; aspect-ratio: 1; }
.hero-cluster .blob {
  position: absolute; inset: 0;
  background: var(--pink-2);
  border-radius: 50% 60% 55% 45% / 60% 50% 55% 45%;
  z-index: 0;
}
.hero-cluster .polaroid {
  position: absolute; background: white; padding: 12px 12px 36px; box-shadow: 0 12px 32px rgba(8, 30, 65, 0.12);
  z-index: 2;
}
.hero-cluster .polaroid img { aspect-ratio: 1; object-fit: cover; }
.hero-cluster .polaroid .cap { font-family: "Awesome Newbie", sans-serif; color: var(--navy); font-size: 18px; line-height: 1; padding-top: 14px; text-align: center; }
.hero-cluster .p1 { width: 50%; top: 8%; left: 5%; transform: rotate(-6deg); }
.hero-cluster .p2 { width: 48%; top: 22%; right: 4%; transform: rotate(8deg); z-index: 3; }
.hero-cluster .p3 { width: 42%; bottom: 4%; left: 22%; transform: rotate(-3deg); }
.hero-cluster .price-bubble {
  position: absolute; top: -14px; right: 18%; z-index: 5;
  background: var(--teal); color: var(--navy);
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; transform: rotate(-12deg);
  box-shadow: 0 8px 24px rgba(8, 30, 65, 0.18);
  font-family: "Awesome Newbie", sans-serif; font-size: 28px; line-height: 1; text-align: center;
}
.hero-cluster .stamp {
  position: absolute; bottom: 10%; right: 8%; z-index: 5;
  background: var(--cream); border: 2px dashed var(--pink); padding: 12px 18px;
  font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 18px; transform: rotate(6deg);
}

/* WAVE divider */
.wave { display: block; width: 100%; }

/* ANNOUNCEMENT */
.announce {
  max-width: 1320px; margin: 96px auto 0; padding: 0 32px;
}
.announce-card {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-2) 100%);
  border-radius: 48px; padding: 64px 72px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.announce-card .stars {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
}
.announce-tag {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--cream); padding: 8px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--navy);
}
.announce h2 {
  font-family: "Awesome Newbie", sans-serif; font-weight: normal;
  font-size: clamp(48px, 6vw, 78px); line-height: 0.95; margin: 14px 0 14px; color: var(--navy);
}
.announce h2 em { font-style: normal; color: var(--cream); }
.announce p { color: var(--navy); font-size: 17px; max-width: 540px; margin: 0; }
.announce .when { font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 18px; opacity: 0.75; letter-spacing: 0.04em; }
.announce-cta { position: relative; z-index: 1; display: grid; gap: 10px; }

/* SECTION HEADERS */
.sec-head {
  max-width: 1320px; margin: 110px auto 28px; padding: 0 32px;
  text-align: center;
}
.sec-head .kicker { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 24px; line-height: 1; margin-bottom: 10px; display: block; }
.sec-head h2 {
  font-family: "Awesome Newbie", sans-serif; font-weight: normal;
  font-size: clamp(46px, 6vw, 72px); line-height: 1; margin: 0; color: var(--navy);
}
.sec-head p { color: var(--ink); max-width: 540px; margin: 14px auto 0; font-size: 16px; }

/* CATEGORIES */
.cats { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat {
  background: white; border-radius: 28px; padding: 24px 22px 22px;
  display: grid; grid-template-rows: 1fr auto; gap: 16px; cursor: pointer;
  transition: transform 0.2s; box-shadow: 0 6px 20px rgba(8, 30, 65, 0.06);
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(8, 30, 65, 0.12); }
.cat .ph { aspect-ratio: 1; border-radius: 20px; overflow: hidden; }
.cat .ph img { width: 100%; height: 100%; object-fit: cover; }
.cat .meta { display: flex; justify-content: space-between; align-items: end; padding: 4px 4px 0; }
.cat h3 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 28px; margin: 0; color: var(--navy); line-height: 1; }
.cat .ct { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.cat .arrow { width: 36px; height: 36px; border-radius: 999px; background: var(--cream); display: grid; place-items: center; color: var(--navy); font-weight: 700; }
.cat:nth-child(1) .ph { background: var(--pink-3); }
.cat:nth-child(2) .ph { background: rgba(86, 204, 210, 0.2); }
.cat:nth-child(3) .ph { background: var(--cream-2); }
.cat:nth-child(4) .ph { background: var(--pink-2); }

/* PRODUCTS */
.products { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product {
  background: white; border-radius: 24px; padding: 14px; cursor: pointer; transition: transform 0.2s;
  box-shadow: 0 4px 16px rgba(8, 30, 65, 0.05);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(8, 30, 65, 0.1); }
.product .ph { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--pink-3); position: relative; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .badge {
  position: absolute; top: 12px; left: 12px;
  background: white; padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--pink);
}
.product .badge.sale { background: var(--pink); color: white; }
.product .heart {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 999px; background: white;
  display: grid; place-items: center; color: var(--pink);
}
.product .body { padding: 14px 8px 4px; }
.product .brand { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.product .name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 4px 0; }
.product .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.product .price { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 26px; line-height: 1; }
.product .add { background: var(--navy); color: var(--cream); border: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 12px; cursor: pointer; }

/* DUAL FEATURE */
.dual {
  max-width: 1320px; margin: 110px auto 0; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.dual .card {
  border-radius: 36px; padding: 40px; aspect-ratio: 5 / 4;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; cursor: pointer;
}
.dual .card.consign { background: var(--navy); color: var(--cream); }
.dual .card.consign .img { position: absolute; right: -40px; bottom: -40px; width: 60%; aspect-ratio: 1; border-radius: 24px; overflow: hidden; transform: rotate(8deg); border: 6px solid var(--cream); }
.dual .card.consign .img img { width: 100%; height: 100%; object-fit: cover; }
.dual .card.events { background: var(--teal); color: var(--navy); }
.dual .card.events .img { position: absolute; right: -30px; bottom: -30px; width: 55%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.dual .card.events .img img { width: 100%; height: 100%; object-fit: cover; }
.dual .card .kicker { font-family: "Awesome Newbie", sans-serif; font-size: 22px; line-height: 1; }
.dual .card.consign .kicker { color: var(--teal); }
.dual .card h3 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 48px; line-height: 0.95; margin: 12px 0 14px; max-width: 380px; }
.dual .card p { max-width: 320px; font-size: 15px; opacity: 0.9; margin: 0 0 22px; }
.dual .card .lnk { font-size: 13.5px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }

/* TESTIMONIAL */
.testimonial { max-width: 920px; margin: 110px auto 0; padding: 56px 32px; text-align: center; }
.testimonial blockquote {
  font-family: "Awesome Newbie", sans-serif; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2;
  color: var(--navy); margin: 0; padding: 0;
}
.testimonial blockquote .pink { color: var(--pink); }
.testimonial .who { margin-top: 22px; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; }

/* FOOTER */
.footer { background: var(--navy); color: var(--cream); padding: 80px 32px 28px; margin-top: 110px; border-radius: 64px 64px 0 0; }
.footer-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer h5 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 22px; margin: 0 0 16px; color: var(--pink); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: rgba(251, 243, 233, 0.8); }
.footer a:hover { color: var(--pink); }
.footer .brand-col img { filter: brightness(0) invert(1); height: 44px; margin-bottom: 18px; }
.footer .brand-col p { font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-bottom { max-width: 1320px; margin: 56px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; font-size: 12px; color: rgba(251,243,233,0.5); }

/* SHOP PAGE */
.shop-head { max-width: 1320px; margin: 0 auto; padding: 56px 32px 32px; text-align: center; }
.crumbs { font-size: 13px; color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 8px; opacity: 0.5; }
.shop-head h1 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: clamp(56px, 8vw, 96px); margin: 14px 0 12px; color: var(--navy); line-height: 0.95; }
.shop-head p { color: var(--ink); max-width: 580px; margin: 0 auto; font-size: 16px; }
.shop-head .stat-pills { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.stat-pill { background: white; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--navy); }
.stat-pill .pink { color: var(--pink); }

.shop-controls {
  max-width: 1320px; margin: 0 auto; padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
}
.shop-controls .left { font-size: 13px; color: var(--navy); font-weight: 700; }
.shop-controls .right { display: flex; gap: 10px; flex-wrap: wrap; }
.sort {
  background: white; border-radius: 999px; padding: 9px 18px;
  font-size: 13px; font-weight: 700; color: var(--navy); display: inline-flex; gap: 8px; align-items: center;
  cursor: pointer; border: 1px solid var(--line);
}

.shop-layout {
  max-width: 1320px; margin: 32px auto 0; padding: 0 32px 96px;
  display: grid; grid-template-columns: 280px 1fr; gap: 36px;
}
.filters {
  background: white; border-radius: 28px; padding: 28px;
  box-shadow: 0 6px 24px rgba(8, 30, 65, 0.05);
}
.filter-search { position: relative; }
.filter-search input {
  width: 100%; padding: 11px 14px 11px 38px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--cream); font-size: 13.5px; font-weight: 600; color: var(--navy); font-family: inherit;
}
.filter-search input:focus { outline: none; border-color: var(--pink); background: white; }
.filter-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-group { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.filter-group:last-child { border: none; padding: 0; margin: 0; }
.filter-group h4 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 24px; margin: 0 0 14px; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 6px 13px; border-radius: 999px; background: var(--cream); color: var(--navy); font-weight: 700; cursor: pointer; border: none; }
.chip.on { background: var(--pink); color: white; }
.price-row { display: flex; gap: 8px; }
.price-row input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; font-weight: 700; background: var(--cream); font-family: inherit; }
.checks { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.checks label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.checks label input { width: 16px; height: 16px; accent-color: var(--pink); }
.checks .ct { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.active-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; align-items: center;
}
.active-pill { background: white; color: var(--navy); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--pink); }
.active-pill button { background: none; border: none; color: var(--pink); font-weight: 900; cursor: pointer; padding: 0; font-size: 14px; }
.clear-link { font-size: 12px; font-weight: 700; color: var(--pink); margin-left: 6px; }

.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 6px; }
.pg-btn { width: 42px; height: 42px; border-radius: 999px; background: white; font-weight: 700; cursor: pointer; display: grid; place-items: center; border: none; color: var(--navy); font-size: 14px; }
.pg-btn.on { background: var(--pink); color: white; }

/* DASHBOARD (Intake) */
body.dash { background: var(--cream); background-image: none; }
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: white; border-right: 1px solid var(--line); padding: 24px 18px; display: flex; flex-direction: column; }
.side-logo { display: flex; gap: 12px; align-items: center; padding: 4px 8px 22px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.side-logo .mark { width: 40px; height: 40px; border-radius: 14px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 22px; }
.side-logo .name { font-family: "Awesome Newbie", sans-serif; font-size: 22px; color: var(--navy); }
.side-section { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); padding: 16px 12px 6px; font-weight: 700; }
.side-link {
  display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px; font-size: 14px; font-weight: 600;
  color: var(--navy); cursor: pointer; opacity: 0.78;
}
.side-link:hover { background: var(--pink-3); opacity: 1; }
.side-link.on { background: var(--pink); color: white; opacity: 1; }
.side-link .ic { width: 18px; }
.side-link .num { margin-left: auto; background: var(--cream); padding: 2px 8px; border-radius: 999px; font-size: 11px; color: var(--navy); font-weight: 700; }
.side-link.on .num { background: white; color: var(--pink); }

.app-main { display: grid; grid-template-rows: auto 1fr; }
.topbar {
  background: white; padding: 18px 32px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.topbar .ttl { display: flex; gap: 14px; align-items: center; }
.topbar h1 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 32px; margin: 0; color: var(--navy); line-height: 1; }
.topbar .session { background: var(--pink-3); color: var(--navy); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.topbar .right { display: flex; gap: 12px; align-items: center; }
.topbar .av { width: 38px; height: 38px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 18px; }

.intake { padding: 28px 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }

.intake-form {
  background: white; border-radius: 28px; padding: 28px 32px;
}
.scan-bar {
  background: var(--navy); color: var(--cream); border-radius: 22px; padding: 18px 22px;
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center;
}
.scan-bar .ic { width: 50px; height: 50px; background: var(--pink); border-radius: 14px; display: grid; place-items: center; color: white; }
.scan-bar input { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: var(--cream); padding: 14px 16px; border-radius: 12px; width: 100%; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; font-family: inherit; }
.scan-bar input::placeholder { color: rgba(251,243,233,0.45); }
.scan-bar .gen { font-size: 12px; color: rgba(251,243,233,0.7); font-weight: 600; }
.scan-bar .pulse { width: 12px; height: 12px; background: var(--pink); border-radius: 999px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(208,143,143,0.6); } 70% { box-shadow: 0 0 0 14px rgba(208,143,143,0); } 100% { box-shadow: 0 0 0 0 rgba(208,143,143,0); } }

.tag-preview {
  margin-top: 22px; background: var(--pink-3); border-radius: 22px; padding: 22px;
  display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center;
}
.tag-preview .ph { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: white; }
.tag-preview .ph img { width: 100%; height: 100%; object-fit: cover; }
.tag-preview .info { display: grid; gap: 6px; }
.tag-preview .row1 { display: flex; gap: 10px; align-items: center; }
.tag-preview .sku { font-family: "Awesome Newbie", sans-serif; font-size: 18px; color: var(--navy); }
.tag-preview .badge { background: white; color: var(--pink); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.tag-preview .nm { font-family: "Awesome Newbie", sans-serif; color: var(--navy); font-size: 28px; line-height: 1; }
.tag-preview .meta { font-size: 13px; color: var(--ink); font-weight: 600; }
.tag-preview .price-row { display: flex; gap: 12px; align-items: baseline; margin-top: 8px; }
.tag-preview .pr { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 36px; line-height: 1; }
.tag-preview .pr-meta { font-size: 12px; color: var(--muted); font-weight: 700; }

.fields { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.field input, .field select {
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  font-size: 14px; font-weight: 600; color: var(--navy); font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--pink); background: white; }
.field .toggle-row { display: flex; gap: 6px; flex-wrap: wrap; }
.field .toggle-row .pick { padding: 8px 14px; background: var(--cream); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--navy); cursor: pointer; border: 1.5px solid transparent; }
.field .toggle-row .pick.on { background: var(--pink); color: white; border-color: var(--pink); }

.suggested {
  margin-top: 18px; padding: 14px 18px; background: rgba(86, 204, 210, 0.15); border-radius: 16px;
  display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--navy);
}
.suggested .ic { width: 32px; height: 32px; background: var(--teal); border-radius: 999px; display: grid; place-items: center; color: var(--navy); font-weight: 900; }
.suggested .pr-suggest { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 22px; margin-left: auto; }

.action-row { margin-top: 24px; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; }
.action-row .btn-print { background: var(--teal); color: var(--navy); padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.action-row .btn-save { background: var(--pink); color: white; padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.action-row .btn-save.primary { background: var(--navy); color: var(--cream); padding: 14px 28px; font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 22px; }

/* Right column */
.right-col { display: grid; gap: 22px; align-content: start; }
.consignor-card {
  background: white; border-radius: 28px; padding: 24px 28px;
  display: grid; gap: 14px;
}
.consignor-card .head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.consignor-card .av { width: 54px; height: 54px; background: var(--pink); border-radius: 999px; display: grid; place-items: center; color: white; font-family: "Awesome Newbie", sans-serif; font-size: 24px; }
.consignor-card .nm { font-family: "Awesome Newbie", sans-serif; color: var(--navy); font-size: 24px; line-height: 1; }
.consignor-card .sub { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.consignor-card .change { margin-left: auto; background: var(--cream); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--navy); border: none; cursor: pointer; }
.consignor-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.consignor-stats div .v { font-family: "Awesome Newbie", sans-serif; font-size: 28px; color: var(--navy); line-height: 1; }
.consignor-stats div .k { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; margin-top: 4px; }
.consignor-card .session-bar { background: var(--pink-3); padding: 14px 18px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; }
.consignor-card .session-bar .lbl { font-size: 13px; font-weight: 700; color: var(--navy); }
.consignor-card .session-bar .num { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 24px; line-height: 1; }

.recent {
  background: white; border-radius: 28px; padding: 24px 28px;
}
.recent .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.recent .head h3 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 26px; margin: 0; color: var(--navy); }
.recent .head .lnk { font-size: 12px; font-weight: 700; color: var(--pink); }
.recent .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.recent .ci { background: var(--cream); border-radius: 16px; padding: 8px 8px 12px; }
.recent .ci .ph { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: white; }
.recent .ci .ph img { width: 100%; height: 100%; object-fit: cover; }
.recent .ci .nm { font-size: 12px; font-weight: 700; color: var(--navy); margin: 8px 4px 2px; line-height: 1.3; }
.recent .ci .pr { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 18px; line-height: 1; padding: 0 4px; }

@media (max-width: 1100px) {
  .hero-inner, .announce-card, .dual { grid-template-columns: 1fr; }
  .cats, .products { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .intake { grid-template-columns: 1fr; }
  .nav { display: none; }
}

/* ============================
   D3 DASHBOARD — shared
   ============================ */

/* Reusable shell — used across dashboard, intake, items, orders, consignors */
.app-main h1.page-title { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 32px; margin: 0; color: var(--navy); line-height: 1; }
.crumb { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }

.btn-soft { background: var(--cream); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--navy); font-size: 13px; cursor: pointer; font-family: inherit; }
.btn-soft:hover { background: white; }
.btn-pink-solid { background: var(--pink); color: white; border: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; transition: transform 0.15s; }
.btn-pink-solid:hover { transform: translateY(-1px); }
.btn-navy-solid { background: var(--navy); color: var(--cream); border: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; }

/* Card shell */
.card { background: white; border-radius: 24px; padding: 24px 28px; box-shadow: 0 4px 16px rgba(8,30,65,0.04); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card-head h3 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 26px; margin: 0; color: var(--navy); }
.card-head .lnk { font-size: 12px; font-weight: 700; color: var(--pink); }

/* DASHBOARD overview */
.dash-grid { padding: 28px 32px; display: grid; gap: 22px; }
.dash-row-1 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi-card {
  background: white; border-radius: 22px; padding: 20px 22px;
  display: grid; gap: 6px; box-shadow: 0 4px 16px rgba(8,30,65,0.04);
  position: relative; overflow: hidden;
}
.kpi-card .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.kpi-card .val { font-family: "Awesome Newbie", sans-serif; font-size: 44px; line-height: 1; color: var(--navy); margin: 4px 0 2px; }
.kpi-card .val.pink { color: var(--pink); }
.kpi-card .val.teal { color: var(--teal); }
.kpi-card .delta { font-size: 12px; font-weight: 700; color: var(--muted); }
.kpi-card .delta.up { color: #1f8a5c; }
.kpi-card .accent { position: absolute; right: -16px; bottom: -10px; width: 80px; height: 80px; border-radius: 50%; background: var(--pink-3); opacity: 0.6; }

.dash-row-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.dash-row-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.activity-list { display: grid; gap: 4px; }
.act-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 12px 8px; border-bottom: 1px dashed var(--line); }
.act-row:last-child { border-bottom: none; }
.act-row .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.act-row .ic.sale { background: rgba(86, 204, 210, 0.2); color: var(--navy); }
.act-row .ic.intake { background: var(--pink-3); color: var(--pink); }
.act-row .ic.payout { background: rgba(31, 138, 92, 0.15); color: #1f8a5c; }
.act-row .ic.online { background: var(--cream-2); color: var(--navy); }
.act-row .nm { font-size: 14px; font-weight: 700; color: var(--navy); }
.act-row .sub { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.act-row .when { font-size: 12px; color: var(--muted); font-weight: 700; text-align: right; }
.act-row .amt { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 22px; line-height: 1; }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa {
  background: var(--cream); border-radius: 18px; padding: 18px 20px; cursor: pointer;
  display: grid; gap: 4px; transition: transform 0.15s, background 0.15s; border: none; text-align: left; font-family: inherit;
}
.qa:hover { background: var(--pink-3); transform: translateY(-2px); }
.qa .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--pink); color: white; display: grid; place-items: center; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.qa.teal .ic { background: var(--teal); color: var(--navy); }
.qa.navy .ic { background: var(--navy); color: var(--cream); }
.qa .lbl { font-size: 14px; font-weight: 700; color: var(--navy); }
.qa .sub { font-size: 11px; color: var(--muted); font-weight: 600; }

.top-consignors { display: grid; gap: 10px; }
.tc-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 8px; border-bottom: 1px dashed var(--line); }
.tc-row:last-child { border-bottom: none; }
.tc-av { width: 36px; height: 36px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 16px; }
.tc-av.alt { background: var(--teal); color: var(--navy); }
.tc-av.dark { background: var(--navy); color: var(--cream); }
.tc-row .nm { font-size: 14px; font-weight: 700; color: var(--navy); }
.tc-row .sub { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.tc-row .items { font-size: 12px; color: var(--muted); font-weight: 700; }
.tc-row .earn { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 22px; line-height: 1; }

/* Sales chart on dashboard */
.chart-wrap { padding: 4px 4px 0; }
.chart-wrap svg { width: 100%; height: 230px; display: block; }
.chart-legend { display: flex; gap: 22px; padding: 0 8px 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.chart-legend i { width: 10px; height: 10px; display: inline-block; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* ============================
   POS — fullscreen
   ============================ */
body.pos-mode { background: var(--cream); }
.pos-shell { display: grid; grid-template-columns: 76px 1fr; min-height: 100vh; }
.mini-side { background: var(--navy); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.mini-side .mark { width: 48px; height: 48px; border-radius: 16px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 24px; margin-bottom: 12px; }
.mini-side .mn-link { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: rgba(251,243,233,0.75); cursor: pointer; transition: background 0.15s, color 0.15s; }
.mini-side .mn-link:hover { color: var(--cream); background: rgba(255,255,255,0.06); }
.mini-side .mn-link.on { background: var(--pink); color: white; }
.mini-side .mn-spacer { flex: 1; }

.pos-main { display: grid; grid-template-rows: auto 1fr; }
.pos-top {
  background: white; padding: 14px 28px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.pos-top .left { display: flex; gap: 14px; align-items: center; }
.pos-top h1 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 28px; margin: 0; color: var(--navy); line-height: 1; }
.pos-top .session-meta { font-size: 12px; color: var(--muted); font-weight: 700; }
.pos-top .session-meta b { color: var(--navy); }
.pos-top .right { display: flex; gap: 12px; align-items: center; }
.pos-top .pill-meta { background: var(--pink-3); color: var(--navy); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pos-top .av { width: 40px; height: 40px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 18px; }

.pos-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding: 20px 24px;
  height: calc(100vh - 60px); align-items: stretch; overflow: hidden;
}
.pos-left { display: grid; grid-template-rows: auto 1fr; gap: 16px; min-height: 0; }

.pos-scan {
  background: var(--navy); color: var(--cream); border-radius: 22px; padding: 22px 26px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
}
.pos-scan .ic { width: 64px; height: 64px; background: var(--pink); border-radius: 18px; display: grid; place-items: center; color: white; }
.pos-scan .lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,243,233,0.6); font-weight: 700; margin-bottom: 6px; }
.pos-scan input { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.18); color: var(--cream); padding: 16px 18px; border-radius: 14px; width: 100%; font-size: 19px; font-weight: 700; letter-spacing: 0.06em; font-family: inherit; }
.pos-scan input::placeholder { color: rgba(251,243,233,0.4); }
.pos-scan .pulse-pill { background: rgba(86,204,210,0.18); color: var(--teal); padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.pos-scan .pulse-pill .dot { width: 8px; height: 8px; background: var(--teal); border-radius: 999px; animation: pulse 1.6s infinite; }

.pos-cart { background: white; border-radius: 22px; padding: 6px 6px 18px; display: flex; flex-direction: column; gap: 0; overflow: hidden; min-height: 0; box-shadow: 0 4px 16px rgba(8,30,65,0.04); }
.pos-cart-head { padding: 18px 22px 12px; display: flex; justify-content: space-between; align-items: center; }
.pos-cart-head h3 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 26px; margin: 0; color: var(--navy); }
.pos-cart-head .meta { font-size: 12px; color: var(--muted); font-weight: 700; display: inline-flex; gap: 12px; align-items: center; }
.pos-cart-head .meta .live { color: var(--pink); display: inline-flex; gap: 6px; align-items: center; }
.pos-cart-head .meta .live .dot { width: 8px; height: 8px; background: var(--pink); border-radius: 999px; animation: pulse 1.6s infinite; }
.pos-cart-list { display: flex; flex-direction: column; padding: 0 8px; gap: 8px; overflow-y: auto; flex: 1; min-height: 0; }
.pos-line {
  display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 16px; align-items: center;
  background: var(--cream); border-radius: 16px; padding: 12px 16px;
}
.pos-line.just-added { background: var(--pink-3); }
.pos-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.pos-line .nm { font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.3; }
.pos-line .sub { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.pos-line .qty-row { display: flex; gap: 6px; align-items: center; }
.pos-line .qty-row button { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: white; font-weight: 900; font-size: 17px; cursor: pointer; color: var(--navy); }
.pos-line .qty-row span { font-weight: 800; min-width: 22px; text-align: center; font-size: 16px; }
.pos-line .pr { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 26px; line-height: 1; min-width: 64px; text-align: right; }
.pos-line .rm { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: white; cursor: pointer; color: var(--muted); font-size: 17px; font-weight: 800; }

/* POS right panel */
.pos-right { display: grid; gap: 16px; align-content: start; min-height: 0; }

/* Header customer pill */
.pos-top .center { flex: 1; display: flex; justify-content: center; min-width: 0; padding: 0 16px; }
.pos-top .cust-pill {
  display: inline-flex; gap: 12px; align-items: center;
  background: var(--pink-3); border: 1px solid rgba(208,143,143,0.3);
  border-radius: 999px; padding: 5px 6px 5px 5px;
}
.pos-top .cust-pill .av {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--pink); color: white;
  display: grid; place-items: center;
  font-family: "Awesome Newbie", sans-serif; font-size: 18px; flex-shrink: 0;
}
.pos-top .cust-pill .info { display: flex; flex-direction: column; line-height: 1.15; }
.pos-top .cust-pill .nm { font-size: 14px; font-weight: 800; color: var(--navy); }
.pos-top .cust-pill .sub { font-size: 11px; color: var(--ink); font-weight: 600; opacity: 0.65; margin-top: 2px; letter-spacing: 0.02em; }
.pos-top .cust-pill .change { background: white; border: none; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--navy); cursor: pointer; font-family: inherit; }
.pos-top .cust-pill .change:hover { background: var(--pink); color: white; }
.pos-top .cust-pill .clear { background: none; border: none; padding: 4px 6px; cursor: pointer; color: var(--muted); font-size: 16px; font-weight: 800; font-family: inherit; }
.pos-top .cust-pill .clear:hover { color: var(--pink); }
.pos-top .cust-pill.empty { background: var(--cream); border-style: dashed; padding: 8px 18px; cursor: pointer; }
.pos-top .cust-pill.empty .ic { color: var(--pink); font-weight: 900; }

/* Totals: action chip row at top */
.pos-totals .totals-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
}
.pos-totals .totals-actions .ta {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; cursor: pointer; font-family: inherit; text-align: left;
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.pos-totals .totals-actions .ta:hover { background: var(--pink-3); border-color: var(--pink); transform: translateY(-1px); }
.pos-totals .totals-actions .ta .ic { width: 36px; height: 36px; border-radius: 10px; background: white; display: grid; place-items: center; font-size: 16px; font-weight: 900; color: var(--pink); }
.pos-totals .totals-actions .ta.coupon .ic { color: var(--teal); }
.pos-totals .totals-actions .ta .lbl { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.pos-totals .totals-actions .ta .sub { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.cust-box { background: white; border-radius: 22px; padding: 20px 22px; box-shadow: 0 4px 16px rgba(8,30,65,0.04); }
.cust-search-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.cust-search { background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px 13px 42px; width: 100%; font-size: 14px; font-weight: 600; color: var(--navy); font-family: inherit; }
.cust-search:focus { outline: none; border-color: var(--pink); background: white; }
.cust-search-row .icn { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cust-search-row .scan-mode { background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; color: var(--navy); font-size: 12px; font-weight: 700; cursor: pointer; }

.cust-suggest { margin-top: 8px; background: white; border: 1.5px solid var(--pink); border-radius: 18px; box-shadow: 0 12px 28px rgba(8,30,65,0.1); overflow: hidden; }
.cust-suggest .head { padding: 8px 16px; background: var(--pink-3); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.cust-suggest .row { padding: 11px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer; border-bottom: 1px dashed var(--line); }
.cust-suggest .row:last-child { border-bottom: none; }
.cust-suggest .row:hover { background: var(--cream); }
.cust-suggest .row.sel { background: var(--pink); color: white; }
.cust-suggest .row.sel .nm, .cust-suggest .row.sel .sub, .cust-suggest .row.sel .meta { color: white; }
.cust-suggest .av { width: 30px; height: 30px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 14px; }
.cust-suggest .row.sel .av { background: white; color: var(--pink); }
.cust-suggest .nm { font-size: 13px; font-weight: 700; color: var(--navy); }
.cust-suggest .sub { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.cust-suggest .meta { font-size: 11px; color: var(--muted); font-weight: 700; text-align: right; }

.cust-selected {
  background: var(--cream); border-radius: 16px; padding: 14px 18px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 12px;
}
.cust-selected .av { width: 44px; height: 44px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 18px; }
.cust-selected .nm { font-size: 15px; font-weight: 700; color: var(--navy); }
.cust-selected .sub { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; letter-spacing: 0.04em; }
.cust-selected .change-btn { background: white; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--navy); cursor: pointer; }

.pos-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pos-act { background: var(--cream); border: none; border-radius: 16px; padding: 14px 14px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; cursor: pointer; transition: background 0.15s, transform 0.15s; font-family: inherit; text-align: left; }
.pos-act:hover { background: var(--pink-3); transform: translateY(-1px); }
.pos-act .ic { width: 38px; height: 38px; border-radius: 12px; background: white; display: grid; place-items: center; font-size: 16px; color: var(--pink); }
.pos-act.coupon .ic { color: var(--teal); }
.pos-act .lbl { font-size: 13px; font-weight: 700; color: var(--navy); }
.pos-act .sub { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }

/* Totals + payment */
.pos-totals { background: white; border-radius: 22px; padding: 22px 26px; box-shadow: 0 4px 16px rgba(8,30,65,0.04); }
.tot-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.tot-row.muted { color: var(--muted); }
.tot-row.discount { color: var(--pink); font-weight: 700; }
.tot-row .tag { font-size: 10px; padding: 2px 8px; background: var(--pink-3); border-radius: 999px; margin-left: 6px; font-weight: 700; }
.tot-divider { height: 1px; background: var(--line); margin: 10px 0; }
.tot-grand { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.tot-grand .lbl { font-family: "Awesome Newbie", sans-serif; color: var(--navy); font-size: 32px; line-height: 1; }
.tot-grand .val { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 48px; line-height: 1; }

.pay-grid {
  margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pay-btn {
  border-radius: 16px; border: none; cursor: pointer; font-family: inherit; font-weight: 700;
  padding: 18px 16px; font-size: 16px; display: inline-flex; gap: 10px; align-items: center; justify-content: center;
  transition: transform 0.15s;
}
.pay-btn:hover { transform: translateY(-2px); }
.pay-btn.cash { background: var(--cream); color: var(--navy); border: 1.5px solid var(--line); }
.pay-btn.card { background: var(--teal); color: var(--navy); }
.pay-btn.charge {
  grid-column: 1 / -1;
  background: var(--navy); color: var(--cream);
  font-family: "Awesome Newbie", sans-serif; font-weight: normal;
  font-size: 30px; padding: 22px 18px;
}
.pay-btn.charge .pr { color: var(--teal); margin-left: 8px; }

/* Coupon callout (open state) */
.coupon-open {
  background: var(--pink-3); border-radius: 16px; padding: 14px 18px; margin-top: 14px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
}
.coupon-open input { background: white; border: 1.5px solid var(--pink); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); font-family: inherit; }
.coupon-open .apply-btn { background: var(--pink); color: white; border: none; padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; }

/* ============================
   GENERIC DATA TABLES
   ============================ */
.page-head { padding: 24px 32px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; background: white; }
.page-head .left h1 { font-family: "Awesome Newbie", sans-serif; font-weight: normal; font-size: 38px; margin: 6px 0 0; color: var(--navy); line-height: 1; }
.page-head .left .crumb { color: var(--muted); }
.page-head .left p { font-size: 14px; color: var(--muted); margin: 8px 0 0; max-width: 540px; }
.page-head .right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.toolbar {
  background: white; border-bottom: 1px solid var(--line); padding: 14px 32px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.toolbar .search-box { position: relative; flex: 1; max-width: 380px; }
.toolbar .search-box input { width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px 10px 40px; font-size: 13.5px; font-weight: 600; color: var(--navy); font-family: inherit; }
.toolbar .search-box input:focus { outline: none; border-color: var(--pink); background: white; }
.toolbar .search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar .filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-row { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--cream); border-radius: 999px; }
.tab { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; border: none; background: transparent; font-family: inherit; white-space: nowrap; }
.tab.on { background: white; box-shadow: 0 2px 8px rgba(8,30,65,0.06); }
.tab .ct { background: var(--pink-3); color: var(--navy); padding: 2px 8px; border-radius: 999px; font-size: 11px; margin-left: 4px; font-weight: 800; }
.tab.on .ct { background: var(--pink); color: white; }

.dropdown {
  background: white; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-family: inherit;
}
.dropdown:hover { border-color: var(--pink); }

.tbl-wrap { padding: 22px 32px 60px; }
.data-tbl { width: 100%; background: white; border-radius: 22px; overflow: hidden; box-shadow: 0 4px 16px rgba(8,30,65,0.04); }
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; padding: 14px 18px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
table.tbl th:first-child { padding-left: 28px; }
table.tbl th:last-child { padding-right: 28px; text-align: right; }
table.tbl td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 14px; color: var(--ink); }
table.tbl td:first-child { padding-left: 28px; }
table.tbl td:last-child { padding-right: 28px; text-align: right; }
table.tbl tr:hover td { background: rgba(247, 230, 230, 0.18); }

table.tbl .thumb-cell img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
table.tbl .name-cell { font-weight: 700; color: var(--navy); }
table.tbl .name-sub { font-size: 11px; color: var(--muted); margin-top: 3px; font-weight: 600; letter-spacing: 0.04em; }
table.tbl .price { font-family: "Awesome Newbie", sans-serif; color: var(--pink); font-size: 22px; line-height: 1; }
table.tbl .checkbox { width: 18px; height: 18px; accent-color: var(--pink); }
table.tbl .row-act { background: none; border: none; cursor: pointer; padding: 4px 6px; color: var(--muted); font-size: 16px; }

.pill-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-status .dot { width: 6px; height: 6px; border-radius: 999px; }
.pill-status.live { background: rgba(31, 138, 92, 0.14); color: #1f8a5c; }
.pill-status.live .dot { background: #1f8a5c; }
.pill-status.sold { background: var(--cream); color: var(--navy); }
.pill-status.sold .dot { background: var(--navy); }
.pill-status.hold { background: rgba(208,143,143,0.2); color: var(--pink); }
.pill-status.hold .dot { background: var(--pink); }
.pill-status.aging { background: #fcecd0; color: #8a6614; }
.pill-status.aging .dot { background: #8a6614; }
.pill-status.donated { background: #ece9f6; color: #5a4f8a; }
.pill-status.donated .dot { background: #5a4f8a; }

/* Order pills */
.pill-status.new { background: rgba(86,204,210,0.18); color: #11888d; }
.pill-status.new .dot { background: #56ccd2; }
.pill-status.proc { background: #fcecd0; color: #8a6614; }
.pill-status.proc .dot { background: #d59a3a; }
.pill-status.shipped { background: rgba(31,138,92,0.14); color: #1f8a5c; }
.pill-status.shipped .dot { background: #1f8a5c; }
.pill-status.picked { background: var(--pink-3); color: var(--pink); }
.pill-status.picked .dot { background: var(--pink); }

.pagination-bar { padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 700; }
.pagination-bar .pages { display: flex; gap: 4px; }
.pagination-bar .pg { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; cursor: pointer; border: none; background: transparent; color: var(--navy); }
.pagination-bar .pg.on { background: var(--pink); color: white; }
.pagination-bar .pg:not(.on):hover { background: var(--cream); }

/* CONSIGNORS index uses card grid */
.consign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 24px 32px 60px; }
.consign-card {
  background: white; border-radius: 22px; padding: 22px 24px;
  display: grid; gap: 14px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(8,30,65,0.04);
}
.consign-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(8,30,65,0.1); }
.consign-card .top { display: flex; gap: 12px; align-items: center; }
.consign-card .av { width: 48px; height: 48px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 22px; }
.consign-card .av.t1 { background: var(--teal); color: var(--navy); }
.consign-card .av.t2 { background: var(--navy); color: var(--cream); }
.consign-card .av.t3 { background: var(--pink-2); color: var(--navy); }
.consign-card .nm { font-family: "Awesome Newbie", sans-serif; font-size: 22px; line-height: 1; color: var(--navy); }
.consign-card .id-row { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; margin-top: 3px; }
.consign-card .pill-status { margin-left: auto; }
.consign-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.consign-stats div { display: grid; gap: 2px; padding: 0 6px; border-right: 1px dashed var(--line); }
.consign-stats div:last-child { border-right: none; }
.consign-stats .v { font-family: "Awesome Newbie", sans-serif; font-size: 24px; line-height: 1; color: var(--navy); }
.consign-stats .v.pink { color: var(--pink); }
.consign-stats .k { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.consign-card .foot { display: flex; justify-content: space-between; align-items: center; }
.consign-card .last { font-size: 12px; color: var(--muted); font-weight: 600; }
.consign-card .arrow { font-size: 18px; color: var(--pink); }

/* SINGLE CONSIGNOR */
.single-grid { padding: 22px 32px 60px; display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.profile-card { background: white; border-radius: 22px; padding: 26px 26px 22px; box-shadow: 0 4px 16px rgba(8,30,65,0.04); }
.profile-card .av { width: 88px; height: 88px; border-radius: 999px; background: var(--pink); color: white; display: grid; place-items: center; font-family: "Awesome Newbie", sans-serif; font-size: 42px; margin: 0 auto 16px; }
.profile-card .nm { font-family: "Awesome Newbie", sans-serif; font-size: 32px; line-height: 1; color: var(--navy); text-align: center; }
.profile-card .id-row { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-align: center; margin-top: 6px; }
.profile-card .status-row { text-align: center; margin-top: 12px; }
.profile-card .info { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.profile-card .info .k { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.profile-card .info .v { font-size: 14px; color: var(--navy); font-weight: 600; margin-top: 2px; }
.profile-card .actions { margin-top: 22px; display: grid; gap: 8px; }
.profile-card .actions .btn-pink-solid, .profile-card .actions .btn-soft, .profile-card .actions .btn-navy-solid { width: 100%; }

.single-right { display: grid; gap: 22px; }
.single-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.tabs-row { background: white; border-radius: 999px; padding: 4px; display: inline-flex; gap: 4px; }


/* ============================
   LUCIDE ICONS
   ============================ */
svg.lucide { stroke-width: 2; flex-shrink: 0; }
.side-link svg.lucide { width: 18px; height: 18px; }
.mini-side .mn-link svg.lucide { width: 22px; height: 22px; }
.act-row .ic svg.lucide { width: 17px; height: 17px; }
.qa .ic svg.lucide { width: 22px; height: 22px; }
.kpi-card svg.lucide { width: 18px; height: 18px; }
.pos-totals .totals-actions .ta .ic svg.lucide { width: 18px; height: 18px; }
.cloud-head .ic svg.lucide { width: 22px; height: 22px; }
.smart-price .ic svg.lucide { width: 18px; height: 18px; }
.pay-btn svg.lucide { width: 20px; height: 20px; }
.btn-pink-solid svg.lucide,
.btn-soft svg.lucide { width: 14px; height: 14px; }
.scan-card .ic svg.lucide,
.intake-sku-bar .ic svg.lucide,
.pos-scan .ic svg.lucide { width: 28px; height: 28px; stroke: white; }

