[hidden] {
  display: none !important;
}

:root {
  color-scheme: light;
  --bg: #fffaf7;
  --surface: #ffffff;
  --surface-soft: #fff3ef;
  --rose: #d95f68;
  --rose-deep: #9b3d45;
  --gold: #b98539;
  --ink: #251a19;
  --muted: #786c69;
  --line: #f0ddd6;
  --wa: #16b45f;
  --teal: #23645e;
  --shadow: 0 18px 50px rgba(86, 45, 36, 0.12);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  padding-bottom: 78px;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.topbar {
  min-height: 86px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 7px;
  padding: 14px 14px 12px;
  background: rgba(255, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand-lockup {
  text-align: center;
  min-width: 0;
}

.brand-lockup h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(23px, 6.1vw, 29px);
  line-height: 1;
  margin: 0;
  font-weight: 700;
  color: #3b2522;
  white-space: nowrap;
}

.brand-lockup p,
.admin-header p,
.drawer header p {
  margin: 5px 0 0;
  color: var(--rose-deep);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.brand-crown {
  display: block;
  color: var(--gold);
  font-size: 21px;
  height: 18px;
  line-height: 16px;
}

.is-hidden-access {
  visibility: hidden;
  pointer-events: none;
}

.icon-button,
.ghost-heart {
  border: 0;
  background: transparent;
  color: var(--ink);
  min-height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.bar-icon,
.bar-icon::before,
.bar-icon::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.bar-icon {
  position: relative;
}

.bar-icon::before,
.bar-icon::after {
  position: absolute;
  left: 0;
}

.bar-icon::before {
  top: -8px;
}

.bar-icon::after {
  top: 8px;
}

.cart-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  justify-items: end;
  gap: 4px;
  position: relative;
  min-height: 50px;
  padding: 4px 0;
}

.bag-mark {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 8px 7px 7px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cart-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button strong {
  position: absolute;
  top: -2px;
  right: -5px;
  background: var(--rose);
  color: white;
  border-radius: 999px;
  min-width: 22px;
  min-height: 22px;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.welcome-strip {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fff0ec;
  border-bottom: 1px solid var(--line);
  color: var(--rose-deep);
  font-size: 14px;
  font-weight: 500;
}

.ghost-heart {
  color: var(--rose);
  font-size: 22px;
}

.search-panel {
  padding: 16px 18px 4px;
}

.search-box {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  box-shadow: 0 8px 26px rgba(121, 66, 50, 0.05);
}

.search-mark {
  font-size: 32px;
  line-height: 1;
  transform: rotate(-12deg);
  color: #403230;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.category-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 58px;
  gap: 6px;
  overflow-x: auto;
  padding: 16px 0 9px;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-chip {
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--ink);
  padding: 0;
  font-size: 12px;
}

.category-chip img,
.new-dot {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff3ef;
}

.category-chip.is-active img,
.category-chip.is-active .new-dot {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 95, 104, 0.12);
}

.new-dot {
  display: grid;
  place-items: center;
  color: white;
  background: #e98887;
  font-size: 14px;
  font-weight: 800;
}

.hero-panel {
  margin: 10px 18px 14px;
  min-height: 236px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8ece8;
  border: 1px solid var(--line);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  min-height: 236px;
  display: block;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 250, 247, 0.97) 0%, rgba(255, 250, 247, 0.78) 39%, rgba(255, 250, 247, 0.04) 72%);
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 24px;
  width: 55%;
}

.hero-copy p {
  margin: 0 0 8px;
  color: var(--rose);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 11px;
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 31px;
  line-height: 1.03;
  color: #3a2522;
}

.hero-copy span {
  display: block;
  color: #514240;
  font-size: 13px;
  line-height: 1.45;
}

.primary-small,
.checkout-button,
.track-form button,
.section-title button,
.admin-categories button,
.admin-products button,
.admin-orders button {
  border: 0;
  border-radius: 8px;
  background: var(--rose);
  color: white;
  font-weight: 800;
  min-height: 44px;
  padding: 0 16px;
}

.primary-small {
  margin-top: 15px;
  min-height: 38px;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 4px 18px 14px;
}

.instagram-card {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 8px;
  text-decoration: none;
  padding: 13px 14px;
  background: radial-gradient(circle at 22% 105%, #feda75 0 22%, #fa7e1e 36%, #d62976 58%, #962fbf 76%, #4f5bd5 100%);
  color: white;
  box-shadow: 0 12px 30px rgba(214, 41, 118, 0.2);
}

.insta-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.instagram-logo svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-badge {
  border: 2px solid white;
}
.insta-badge {
  color: white;
  background: radial-gradient(circle at 30% 105%, #feda75 0 24%, #fa7e1e 36%, #d62976 58%, #962fbf 76%, #4f5bd5 100%);
}

.contact-actions strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.contact-actions small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  opacity: 0.86;
}

.trust-grid {
  margin: 2px 18px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.trust-grid article {
  min-height: 76px;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid article:nth-child(2n) {
  border-right: 0;
}

.trust-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.trust-grid strong,
.service-band strong,
.admin-stats strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.trust-grid span,
.service-band span,
.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.35;
}

.tracking-card,
.service-band,
.admin-panel,
.admin-stats {
  margin: 0 18px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tracking-card {
  padding: 16px;
  overflow: hidden;
}

.tracking-card h2,
.products-section h2,
.admin-panel h2,
.admin-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.tracking-card p {
  margin: 5px 0 13px;
  color: var(--muted);
  font-size: 13px;
}

.track-form {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 8px;
}

.track-form input,
.checkout-form input,
.checkout-form textarea,
.admin-categories input,
.admin-categories select,
.admin-products input,
.admin-products select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  outline: 0;
}

.track-result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff7f3;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}


.track-success-title {
  margin: 0 0 14px;
  padding: 14px 15px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #d95b73, #b82046);
  border: 0;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(184, 32, 70, 0.24);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.timeline span {
  min-height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.timeline span.done {
  background: var(--rose);
}

.delivery-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  overflow: hidden;
}

.delivery-strip label,
.delivery-strip div {
  padding: 12px;
  border-right: 1px solid var(--line);
}

.delivery-strip div {
  border-right: 0;
}

.delivery-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}

.delivery-strip select {
  border: 0;
  padding: 0;
  min-height: 28px;
  background: transparent;
  font-weight: 800;
}

.delivery-strip strong {
  font-size: 13px;
}

.products-section {
  padding: 2px 18px 4px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: 20px;
}

.section-title button {
  min-height: 36px;
  background: transparent;
  color: var(--ink);
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.product-card {
  min-width: 0;
}

.product-media {
  aspect-ratio: 1 / 1.2;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f7eee9;
  border: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-badge,
.stock-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--rose);
  color: white;
  font-weight: 900;
  font-size: 11px;
}

.stock-badge {
  left: auto;
  right: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--rose-deep);
  border: 1px solid var(--line);
}

.color-dots {
  position: absolute;
  bottom: 9px;
  left: 9px;
  display: flex;
  gap: 5px;
}

.color-dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(58, 37, 34, 0.1);
}

.product-card h3 {
  margin: 9px 0 4px;
  font-size: 14px;
  line-height: 1.25;
}

.product-brand {
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 800;
  margin-top: 9px;
  text-transform: uppercase;
}
.product-meta {
  color: var(--muted);
  font-size: 12px;
  min-height: 18px;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: 7px 0 9px;
}

.price-row strong {
  font-size: 15px;
}

.price-row del {
  color: #9d8d89;
  font-size: 12px;
}

.add-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid #f2d4ca;
  background: #fff5f1;
  color: var(--rose-deep);
  border-radius: 8px;
  font-weight: 800;
}

.add-button.is-added {
  background: #ecfff4;
  color: #087d3d;
  border-color: #a8e8c4;
}

.service-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff1ee;
  overflow: hidden;
}

.service-band article {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-band article:nth-child(2n) {
  border-right: 0;
}

.service-band article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  z-index: 20;
}

.bottom-nav button {
  min-height: 64px;
  border: 0;
  background: #fffdfb;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.bottom-nav button.is-active {
  color: var(--rose-deep);
  background: #fff3ef;
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(37, 26, 25, 0.36);
  z-index: 40;
}

.drawer.is-open,
.modal.is-open {
  display: block;
}

.drawer-panel,
.modal-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  max-height: 92vh;
  overflow: auto;
  background: var(--surface);
  border-radius: 8px 8px 0 0;
  padding: 18px;
  box-shadow: var(--shadow);
}

.drawer header,
.modal-panel header,
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.drawer header h2,
.modal-panel h2 {
  margin: 0;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.empty-state {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: #fff8f5;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.cart-item img {
  width: 64px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff3ef;
  color: var(--rose-deep);
  font-weight: 900;
}

.qty-control span {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
}

.cart-summary {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 14px;
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.delivery-choice {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  margin: 0;
  padding: 11px;
  background: #fff8f5;
}

.delivery-choice legend {
  padding: 0 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.checkout-form .delivery-choice label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.checkout-form .delivery-choice input {
  width: auto;
  min-height: 0;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--rose);
}

.checkout-form textarea {
  min-height: 76px;
  resize: vertical;
  line-height: 1.4;
}
.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}


.checkout-button {
  width: 100%;
}

.admin-header {
  padding: 18px 18px 0;
  align-items: flex-start;
}

.text-button {
  border: 0;
  background: #fff3ef;
  color: var(--rose-deep);
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 800;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.admin-stats article {
  padding: 14px;
  border-right: 1px solid var(--line);
}

.admin-stats article:last-child {
  border-right: 0;
}

.admin-stats strong {
  font-size: 18px;
  margin-top: 5px;
}

.admin-panel {
  padding: 14px;
}

.admin-categories,
.admin-products,
.admin-orders {
  display: grid;
  gap: 12px;
}

.admin-category-card,
.admin-product-card,
.order-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffdfb;
}

.admin-product-card {
  grid-template-columns: 70px 1fr;
  align-items: start;
}

.admin-product-card img {
  width: 70px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
}

.admin-category-fields,
.admin-product-fields {
  display: grid;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-categories label,
.admin-products label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.admin-categories input,
.admin-categories select,
.admin-products input,
.admin-products select {
  min-height: 38px;
  font-size: 12px;
}

.order-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.order-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff4ee;
  color: var(--rose-deep);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-actions button,
.admin-categories button,
.admin-products button {
  min-height: 36px;
  font-size: 12px;
  padding: 0 12px;
}

.order-actions button.secondary,
.admin-categories button.secondary,
.admin-products button.secondary {
  background: #fff3ef;
  color: var(--rose-deep);
}

.label-card {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  background: white;
}

.label-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.label-card p {
  margin: 7px 0;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  transform: translate(-50%, 16px);
  width: min(92vw, 392px);
  background: #2e2220;
  color: white;
  border-radius: 8px;
  padding: 13px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 820px) {
  body {
    background: linear-gradient(180deg, #fffaf7, #f7e8e2);
  }

  .app-shell,
  .bottom-nav,
  .drawer-panel,
  .modal-panel {
    max-width: 430px;
  }

  .app-shell {
    box-shadow: 0 0 0 1px var(--line);
  }
}



.admin-lock {
  margin: 0 18px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.admin-lock p {
  margin: 0 0 5px;
  color: var(--rose-deep);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.admin-login-form {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 8px;
  margin-top: 14px;
}

.admin-login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  outline: 0;
}

.admin-login-form button,
.admin-toolbar button {
  border: 0;
  border-radius: 8px;
  background: var(--rose);
  color: white;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
}

.admin-title-row {
  align-items: flex-start;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.admin-toolbar button {
  font-size: 11px;
  min-height: 34px;
}

.admin-toolbar button.secondary,
.admin-danger {
  background: #fff3ef;
  color: var(--rose-deep);
}

.admin-category-card.is-inactive,
.admin-product-card.is-inactive {
  opacity: 0.72;
  background: #fff8f5;
}

.admin-category-top,
.admin-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.admin-category-top strong,
.admin-category-top span,
.admin-product-top strong,
.admin-product-top span {
  display: block;
}

.admin-category-top strong,
.admin-product-top strong {
  font-size: 14px;
  line-height: 1.25;
}

.admin-category-top span:not(.status-pill),
.admin-product-top span:not(.status-pill) {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.admin-switch {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  color: var(--ink) !important;
}

.admin-switch input {
  width: 18px;
  min-height: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-actions button {
  flex: 1 1 92px;
}

.admin-danger {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  min-height: 36px;
  padding: 0 12px;
}
.admin-mode-note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 7px;
}

.admin-login-form {
  grid-template-columns: 1fr;
}

.admin-toolbar button.secondary {
  background: #fff3ef;
  color: var(--rose-deep);
}
.admin-settings-grid {
  display: grid;
  gap: 10px;
}

.admin-settings-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-settings-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  outline: 0;
}
.label-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.label-brand-row span,
.label-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.label-brand-row strong {
  white-space: nowrap;
  font-size: 13px;
}

.label-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.label-main-grid p,
.label-address,
.label-total,
.label-items {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
}

.label-address,
.label-total,
.label-items {
  margin-top: 8px;
}

.label-card strong {
  line-height: 1.25;
}

.label-total strong {
  font-size: 18px;
}

.label-items {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.admin-upload-label {
  min-height: 42px;
  border: 1px dashed var(--rose);
  border-radius: 8px;
  background: #fff7f3;
  color: var(--rose-deep) !important;
  display: grid !important;
  place-items: center;
  text-align: center;
  padding: 10px;
  cursor: pointer;
}

.admin-upload-label input {
  display: none;
}
.admin-category-card {
  grid-template-columns: 64px 1fr;
  align-items: start;
}

.admin-category-card img,
.admin-category-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-category-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff3ef;
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 900;
}
.admin-actions,
.admin-category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
