﻿:root {
  --bg: #f6f6fa;
  --panel: #ffffff;
  --line: #e7eaf2;
  --text: #161b2b;
  --muted: #72819c;
  --pink: #e846b0;
  --pink-soft: #fde8f6;
  --green: #11b269;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-shell { min-height: 100vh; }
.top-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand-dot { width: 12px; height: 12px; border-radius: 999px; background: linear-gradient(120deg, #ff58be, #d936aa); }
.top-switcher h1 { margin: 0; font-size: 18px; }
.module-tabs { display: flex; gap: 8px; margin-left: auto; }
.module-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: inherit; }
.module-tab.is-active { background: var(--pink); color: #fff; border-color: transparent; }

body.store-page .top-switcher,
body.product-detail-page .top-switcher,
body.store-checkout-page .top-switcher,
body.store-orders-page .top-switcher,
body.account-page .top-switcher,
body.auth-page .top-switcher {
  display: none !important;
}

.view { display: none; padding: 16px; }
.view.is-active { display: block; }
.card-soft { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; }
.primary { border: 0; background: var(--pink); color: #fff; font-weight: 700; border-radius: 15px; padding: 11px 19px; }
.outline { border: 1px solid #d5dbeb; background: #fff; border-radius: 15px; padding: 10px 16px; font-weight: 600; }

.admin-layout { display: grid; grid-template-columns: 260px 1fr; gap: 16px; }
.admin-sidebar { min-height: calc(100vh - 88px); display: flex; flex-direction: column; padding: 18px; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.logo-chip { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(120deg, #ff58be, #d936aa); }
.sidebar-brand h3 { margin: 0; font-size: 30px; }
.sidebar-brand p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.menu-list li { padding: 11px 12px; border-radius: 13px; color: #33415a; font-weight: 600; }
.menu-list li a { color: inherit; text-decoration: none; display: block; }
.menu-list li.active { background: var(--pink-soft); color: var(--pink); font-weight: 700; }
.sidebar-user { margin-top: auto; display: flex; align-items: center; gap: 10px; background: #f6f8fc; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 999px; background: linear-gradient(120deg, #ffd9b0, #fcb8a5); }
.sidebar-user strong { display: block; font-size: 14px; }
.sidebar-user span { color: var(--muted); font-size: 12px; }

.admin-main { display: flex; flex-direction: column; gap: 14px; }
.admin-header-row { display: flex; justify-content: space-between; align-items: center; }
.admin-header-row h2 { margin: 0; font-size: 24px; }
.admin-header-row p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.header-actions { display: flex; gap: 10px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-card { padding: 16px; position: relative; }
.stat-dot { width: 36px; height: 36px; border-radius: 12px; background: #ffe0f4; margin-bottom: 10px; }
.stat-dot.blue { background: #e5efff; }
.stat-dot.orange { background: #fff0df; }
.stat-dot.purple { background: #f3e8ff; }
.metric-card p { color: #55627b; margin: 0; font-weight: 600; font-size: 14px; }
.metric-card h3 { font-size: 39px; margin: 7px 0 0; letter-spacing: -1px; }
.metric-card span { position: absolute; top: 16px; right: 16px; background: #def7eb; color: var(--green); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 13px; }
.metric-card span.negative { background: #ffe7ef; color: #dd4767; }

.admin-charts { display: grid; grid-template-columns: 1.8fr 0.9fr; gap: 12px; }
.trend-card { padding: 18px; }
.trend-top { display: flex; justify-content: space-between; align-items: center; }
.trend-top h3 { margin: 0; font-size: 32px; }
.pill { padding: 6px 13px; border-radius: 999px; color: #6e7991; font-weight: 700; font-size: 14px; }
.pill.active { background: var(--pink-soft); color: var(--pink); }
.trend-card svg { width: 100%; height: 235px; margin-top: 10px; }
.days { display: flex; justify-content: space-between; color: #8b95aa; font-weight: 500; font-size: 14px; padding: 0 8px; }
.categories-card { padding: 18px; }
.categories-card h3 { margin: 0 0 16px; font-size: 22px; }
.bar-item { margin-bottom: 16px; }
.bar-item div { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; }
.bar-item i { display: block; height: 10px; background: linear-gradient(to right, var(--pink) var(--w), #eceff6 var(--w)); border-radius: 999px; }
.categories-card a { display: inline-block; margin-top: 12px; text-decoration: none; color: var(--pink); font-weight: 700; }

.table-wrap { padding: 12px 0 6px; overflow: auto; }
.table-title { display: flex; justify-content: space-between; padding: 0 20px 10px; }
.table-title h3 { margin: 0; font-size: 19px; }
.table-title a { color: #58719b; font-weight: 700; text-decoration: none; }
table { width: 100%; border-collapse: collapse; min-width: 840px; }
th, td { padding: 15px 20px; border-top: 1px solid var(--line); }
th { color: #6881a7; text-align: left; font-size: 12px; }
td { font-weight: 600; }
.tag { border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.tag.ok { background: #dff7e8; color: #11a25c; }
.tag.warn { background: #ffefc7; color: #de8600; }

.store-shell { display: flex; flex-direction: column; gap: 14px; }
.store-top { padding: 13px 16px; display: flex; align-items: center; gap: 12px; }
.store-brand { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.store-brand span { color: var(--pink); }
.store-top input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; background: #f3f6fb; }
.store-top nav { display: flex; gap: 18px; font-weight: 600; color: #36425a; font-size: 15px; }
.store-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.store-nav-links a {
  text-decoration: none;
  color: #263750;
  font-weight: 700;
}

.store-nav-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-nav-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f4fb;
  font-size: 12px;
}

.store-nav-heart {
  color: var(--pink);
  animation: heartBeat 1.6s ease-in-out infinite;
}

.store-nav-heart.has-items {
  background: #fde8f6;
}

@keyframes heartBeat {
  0%, 70%, 100% { transform: scale(1); }
  80% { transform: scale(1.16); }
  90% { transform: scale(0.96); }
}
.store-cart-btn {
  border: 1px solid #d8deeb;
  background: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.store-cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.store-featured-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.store-feature-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.store-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 27, 43, 0.08);
}

.store-feature-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.store-feature-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.store-feature-card div {
  padding: 12px;
}

.store-feature-card h3 {
  margin: 0;
  font-size: 18px;
}

.store-feature-card p {
  margin: 6px 0 0;
  color: #5f6f89;
  font-size: 13px;
}
.hero { min-height: 300px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; background: linear-gradient(120deg, #91877d, #c2b8ac); }
.hero-copy { margin: 18px; border-left: 6px solid var(--pink); background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 14px 34px rgba(17, 23, 43, 0.08); }
.hero-copy h2 { font-size: 56px; margin: 0; line-height: 1.08; }
.hero-copy h2 em { color: var(--pink); font-style: normal; }
.hero-copy p { font-size: 18px; color: #4f5d75; margin: 16px 0 22px; max-width: 420px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.store-content { display: grid; grid-template-columns: 250px 1fr; gap: 12px; }
.filters { padding: 16px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h3 { margin: 0; font-size: 30px; }
.filters-head a { color: var(--pink); text-decoration: none; font-weight: 700; }
.filters h4 { margin: 18px 0 10px; font-size: 15px; }
.filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #49566e; font-size: 14px; }
.filters li.active { color: var(--pink); font-weight: 700; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 48px; text-align: center; padding: 7px 10px; border: 1px solid #d2d9e8; border-radius: 999px; font-weight: 600; font-size: 13px; background: #fff; cursor: pointer; font-family: inherit; }
.sizes button.active { border-color: var(--pink); color: var(--pink); }
.range i { display: block; margin: 8px 0; height: 7px; border-radius: 999px; background: linear-gradient(to right, var(--pink) 50%, #2e3345 50%); }
.range div { display: flex; justify-content: space-between; color: #67768f; font-size: 13px; }
.catalog { display: flex; flex-direction: column; gap: 12px; }
.catalog-head { display: flex; justify-content: space-between; color: #5f6f89; font-size: 16px; }
.catalog-head strong { color: #212a3d; }
.store-sort {
  border: 0;
  background: transparent;
  font-weight: 700;
  color: #212a3d;
  font-family: inherit;
}
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product { padding: 10px; position: relative; }
.product[role="link"] { cursor: pointer; }
.heart { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 999px; background: #edf1f8; color: #6f819f; display: grid; place-items: center; font-size: 14px; z-index: 3; }
.heart { border: 0; cursor: pointer; }
.heart.hot { color: #fff; background: var(--pink); }
.prod-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: 16px;
  margin-bottom: 8px;
  object-fit: cover;
  display: block;
}
.product-gallery {
  margin: -2px 0 8px;
  display: flex;
  gap: 6px;
}
.gallery-thumb {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #dbe3f1;
  background: #fff;
  padding: 1px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px #fde8f6 inset;
}
.product small { color: var(--pink); font-weight: 800; font-size: 11px; }
.product h5 { margin: 6px 0; font-size: 17px; }
.product p { margin: 0; font-weight: 800; font-size: 35px; }
.product p.hot { color: var(--pink); }
.product s { color: #9aa6bb; font-size: 13px; font-weight: 600; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 10px 0 2px; }
.pagination button { width: 32px; height: 32px; border-radius: 999px; border: 1px solid #d8deeb; background: #fff; color: #60708c; }
.pagination button.active { background: var(--pink); color: #fff; border-color: transparent; }

.store-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 18px; padding: 20px; }
.store-footer h4, .store-footer h5 { margin: 0 0 10px; }
.store-footer h4 { font-size: 24px; }
.store-footer h5 { font-size: 18px; }
.store-footer p, .store-footer a { color: #67768f; margin: 0 0 8px; display: block; text-decoration: none; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }

.pos-layout { display: grid; grid-template-columns: 300px 1fr 420px; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.pos-left, .pos-right { padding: 18px; min-height: calc(100vh - 88px); border-radius: 0; }
.pos-center { padding: 14px; background: #fbfbfe; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.pos-left input, .pos-search { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 12px 15px; margin-bottom: 14px; background: #f5f8fc; }
.pos-center { display: flex; flex-direction: column; gap: 12px; }
.pos-header { display: flex; justify-content: space-between; align-items: center; }
.pos-header h2 { margin: 0; font-size: 26px; }
.pos-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini { padding: 10px; position: relative; }
.stock { position: absolute; top: 10px; left: 10px; font-size: 12px; padding: 4px 8px; border-radius: 10px; background: #ffe6f5; color: #de33a7; font-weight: 700; z-index: 3; }
.stock.low { color: #e05a4b; }
.mini-img { width: 100%; height: 95px; border-radius: 12px; margin-bottom: 8px; object-fit: cover; display: block; }
.mini-gallery {
  margin-top: -4px;
  margin-bottom: 6px;
  display: flex;
  gap: 6px;
}
.mini-gallery-thumb {
  width: 24px;
  height: 24px;
  border: 1px solid #dbe3f1;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
}
.mini-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-gallery-thumb.active {
  border-color: var(--pink);
}
.mini h5 { margin: 0 0 5px; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini p { margin: 0; color: #5f6d85; font-weight: 700; font-size: 12px; }
.mini strong { color: var(--pink); font-size: 20px; margin-left: 4px; }

.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { margin: 0; font-size: 38px; }
.cart-head a { color: #93a3bf; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 14px; }
.cart-items { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0; }
.cart-items article { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #eef1f6; }
.cart-items article:first-child { border-top: 0; }
.cart-thumb { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-items p { margin: 4px 0 0; color: #657793; }
.cart-items b { font-size: 16px; }
.totals p, .totals h4 { display: flex; justify-content: space-between; }
.totals p { color: #5d6c86; font-size: 14px; }
.discount { color: #0ea857 !important; }
.totals h4 { font-size: 42px; border-top: 1px solid var(--line); padding-top: 12px; margin: 12px 0; }
.totals h4 span:last-child { color: var(--pink); }
.pay-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.primary.big { width: 100%; margin-top: 10px; font-size: 32px; padding: 18px; text-transform: uppercase; }
.pos-branch-label {
  margin: 4px 0 10px;
  color: #6a7994;
  font-size: 13px;
  font-weight: 600;
}
.pos-customer {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: #fbfcff;
  margin-bottom: 8px;
}
.pos-customer label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #5f7090;
  margin: 0 0 6px;
}
.pos-customer select {
  width: 100%;
  border: 1px solid #dbe3f1;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
}
.pos-customer input {
  width: 100%;
  border: 1px solid #dbe3f1;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
  margin-bottom: 6px;
}
.pos-customer-meta {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pos-meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}

.pos-meta-pill.membership.bonita {
  background: #fee9f8;
  color: #c53295;
}

.pos-meta-pill.membership.especial {
  background: #e8f0ff;
  color: #2e5ed2;
}

.pos-meta-pill.membership.vip {
  background: #fff0cf;
  color: #c77200;
}

.pos-meta-pill.points {
  background: #f0f3fa;
  color: #334a6f;
}

.pos-meta-pill.available.has {
  background: #dff5e7;
  color: #14975a;
}

.pos-meta-pill.available.zero {
  background: #fee4e4;
  color: #be3030;
}

.pos-meta-pill.rate {
  background: #f5f7fc;
  color: #5b6f8e;
}
.pos-coupon {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: #fbfcff;
}
.pos-coupon-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
}
.pos-coupon-row input {
  border: 1px solid #dbe3f1;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  min-width: 0;
}
.pos-coupon-row .outline {
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}
.pos-coupon-status {
  margin: 6px 2px 0;
  color: #6a7994;
  font-size: 12px;
  min-height: 16px;
}
.pos-coupon-status.ok {
  color: #0ea857;
  font-weight: 700;
}

.pos-checkout-modal {
  width: min(520px, 94vw);
}

.pos-checkout-summary {
  margin: 0;
  color: #5f6f89;
  font-size: 13px;
}

.pos-checkout-form {
  gap: 12px;
}

.pos-checkout-change {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #2b3f63;
}

.pos-ticket-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  padding: 10px 12px;
  max-height: 220px;
  overflow: auto;
}

.pos-ticket-preview h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.pos-ticket-preview p {
  margin: 4px 0;
  font-size: 12px;
  color: #445a7e;
}

.pos-ticket-preview ul {
  margin: 6px 0;
  padding-left: 18px;
}

.pos-ticket-preview li {
  font-size: 12px;
  margin: 2px 0;
  color: #2a3f62;
}

.pos-ticket-qr {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.pos-ticket-qr img {
  width: 110px;
  height: 110px;
  image-rendering: pixelated;
  border: 1px solid #d8deec;
  border-radius: 8px;
  background: #fff;
}

.pos-ticket-history {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.pos-ticket-history-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.pos-ticket-history-head h4 {
  margin: 0;
  font-size: 13px;
  white-space: nowrap;
}

.pos-ticket-history-head input {
  width: 100%;
  border: 1px solid #d8deec;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
}

.pos-ticket-history-list {
  max-height: 140px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pos-ticket-history-item {
  border: 1px solid #e6ebf5;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pos-ticket-history-item p {
  margin: 3px 0 0;
  font-size: 11px;
}

.landing-main { max-width: 1100px; margin: 0 auto; padding: 24px 0; display: flex; flex-direction: column; gap: 16px; }
.landing-hero { padding: 32px; text-align: center; }
.landing-hero h2 { margin: 0 0 8px; font-size: 38px; }
.landing-hero p { margin: 0; color: var(--muted); }
.landing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.landing-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.landing-card h3 { margin: 0; font-size: 22px; }
.landing-card p { margin: 0; color: #5f6f89; min-height: 44px; }
.landing-card .primary { width: fit-content; text-decoration: none; }

@media (max-width: 1600px) {
  .hero-copy h2 { font-size: 48px; }
}

@media (max-width: 1280px) {
  .admin-layout, .store-content, .pos-layout, .store-footer, .landing-grid { grid-template-columns: 1fr; }
  .store-featured-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-sidebar, .pos-left, .pos-right { min-height: auto; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-charts { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 190px; }
  .pos-center { border: 0; }
}

@media (max-width: 760px) {
  .top-switcher { flex-wrap: wrap; }
  .module-tabs { width: 100%; margin-left: 0; }
  .module-tab { flex: 1; }
  .metrics-grid, .products-grid, .pos-products, .pay-actions { grid-template-columns: 1fr; }
  .store-top { flex-wrap: wrap; }
  .store-top nav { width: 100%; overflow: auto; }
  .header-actions { flex-wrap: wrap; }
  .store-featured-cards { grid-template-columns: 1fr; }
  .admin-header-row, .catalog-head, .pos-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-copy { margin: 14px; padding: 22px; }
  .hero-copy h2 { font-size: 34px; }
  .cart-head h3, .totals h4, .primary.big { font-size: 26px; }
}

.inventory-admin .admin-layout {
  grid-template-columns: 270px 1fr;
}

.inventory-admin .admin-sidebar {
  border-radius: 0;
  border-right: 1px solid var(--line);
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  min-height: calc(100vh - 61px);
}

.inventory-main {
  gap: 16px;
}

.inventory-top {
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.inventory-search-wrap {
  position: relative;
}

.inventory-search {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #ecdaf2;
  padding: 12px 16px;
  font-size: 16px;
}

.admin-account {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-account strong {
  display: block;
  text-align: right;
}

.admin-account span {
  color: var(--muted);
  font-size: 13px;
}

.inventory-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inventory-head-row h2 {
  margin: 0;
  font-size: 44px;
}

.inventory-head-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.filters-panel {
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.filters-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #4d5d79;
  font-weight: 700;
}

.filters-panel select {
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.filters-panel.is-hidden {
  display: none;
}

.inventory-table-wrap {
  overflow: hidden;
  border-radius: 24px;
}

.inventory-table {
  width: 100%;
  min-width: 1800px;
  border-collapse: collapse;
}

.inventory-table th,
.inventory-table td {
  padding: 16px 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.inventory-table thead th {
  border-top: 0;
  font-size: 12px;
  color: #334866;
  letter-spacing: 0.08em;
}

.product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dbe4f2;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cell-input {
  width: 100%;
  border: 1px solid #d8deec;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-family: inherit;
  background: #fff;
}

.cell-input:focus {
  outline: 0;
  border-color: var(--pink);
  box-shadow: 0 0 0 2px #fde8f6;
}

.product-name {
  display: block;
  font-size: 18px;
}

.product-subtitle {
  color: #7787a3;
  font-size: 13px;
}

.sku-pill {
  background: #edf1f7;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  color: #3b4b64;
}

.price-cell {
  color: var(--pink);
  font-size: 24px;
  font-weight: 800;
}

.inventory-money {
  font-weight: 700;
  white-space: nowrap;
}

.profit-positive {
  color: #14975a;
}

.profit-negative {
  color: #be3030;
}

.inventory-barcode-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.inventory-barcode-mini {
  width: 88px;
  height: 24px;
  border: 1px solid #d8deeb;
  border-radius: 6px;
  background: #fff;
  display: block;
}

#inventory-select-all,
.inventory-row-check {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
}

.stock-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
}

.stock-pill.stock-in {
  background: #dff5e7;
  color: #14975a;
}

.stock-pill.stock-low {
  background: #fff0cf;
  color: #c77200;
}

.stock-pill.stock-out {
  background: #fee4e4;
  color: #ca2f2f;
}

.inventory-new-check {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-action {
  border: 1px solid #d9e1ef;
  background: #fff;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 12px;
  cursor: pointer;
}

.mini-action.danger {
  border-color: #f5c6c6;
  color: #ba2a2a;
}

.is-disabled-by-role {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.empty-state {
  text-align: center;
  color: #5f6f89;
  padding: 24px;
}

.inventory-footer {
  border-top: 1px solid #f0d9ec;
  background: #fef8fd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
}

.inventory-footer p {
  margin: 0;
  color: #4e617f;
}

.inventory-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inventory-pagination button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #d8deec;
  background: #fff;
  cursor: pointer;
}

.inventory-pagination button.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.inventory-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-modal {
  border: 0;
  padding: 0;
  border-radius: 18px;
  width: min(560px, 95vw);
}

.product-modal::backdrop {
  background: rgba(22, 27, 43, 0.45);
}

.product-form {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-form h3 {
  margin: 0 0 4px;
}

.product-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #506283;
}

.product-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.product-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-family: inherit;
}

.checkbox-field {
  justify-content: center;
}

.checkbox-field input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--pink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-actions {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 1280px) {
  .inventory-admin .admin-layout {
    grid-template-columns: 1fr;
  }

  .inventory-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .inventory-top {
    grid-template-columns: 1fr;
  }

  .inventory-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .filters-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-admin .admin-layout,
.reports-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.dashboard-admin .admin-sidebar,
.reports-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.dashboard-admin .admin-main,
.reports-admin .admin-main {
  padding: 16px;
}

.dash-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 12px 16px;
}

.dash-top h2 {
  margin: 0;
  font-size: 28px;
}

.dash-top input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: #f3f6fb;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-user .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pink);
}

.dash-user strong {
  display: block;
  font-size: 16px;
}

.dash-user small {
  color: var(--muted);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dash-kpi {
  min-height: 170px;
}

.dash-kpi .dash-kpi-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.dash-kpi.green .dash-kpi-icon { background: #e2f5ed; }
.dash-kpi.blue .dash-kpi-icon { background: #e8f0ff; }
.dash-kpi.pink .dash-kpi-icon { background: #fee9f8; }

.dash-kpi span {
  position: absolute;
  right: 16px;
  top: 16px;
  color: #118a58;
  background: transparent;
  padding: 0;
}

.dash-kpi.blue span { color: #2b5ed7; }
.dash-kpi.pink span { color: var(--pink); }

.dash-trend {
  padding: 18px;
}

.dash-trend-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-trend-head h3 {
  margin: 0;
  font-size: 38px;
}

.dash-trend-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.dash-trend-actions {
  display: flex;
  gap: 8px;
}

.dash-total-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0;
}

.dash-total-row strong {
  font-size: 58px;
}

.dash-total-row span {
  color: #11b269;
  font-size: 33px;
  font-weight: 700;
}

.dash-trend svg {
  width: 100%;
  height: 320px;
}

.dash-labels {
  display: flex;
  justify-content: space-between;
  color: #8b95aa;
  font-weight: 700;
}

.dash-trend.compact svg {
  height: 220px;
}

.dash-transactions table {
  min-width: 100%;
}

.dash-status {
  font-size: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 700;
}

.dash-status.ok { background: #dff5e7; color: #14975a; }
.dash-status.warn { background: #fff0cf; color: #c77200; }
.dash-status.err { background: #fee4e4; color: #ca2f2f; }

.sidebar-add {
  margin-top: auto;
  width: 100%;
  border-radius: 999px;
}

.reports-range {
  min-width: 190px;
}

.reports-admin .metric-card h3 {
  font-size: 44px;
}

.reports-admin .trend-card h3 {
  font-size: 26px;
}

.reports-admin .pill {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.reports-admin .pill.active {
  border: 0;
}

@media (max-width: 1280px) {
  .dashboard-admin .admin-layout,
  .reports-admin .admin-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-admin .admin-sidebar,
  .reports-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .dash-top,
  .dash-kpis {
    grid-template-columns: 1fr;
  }
}

.branches-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.branches-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.branches-main {
  padding: 16px;
  gap: 14px;
}

.branches-top {
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.branches-top h2 {
  margin: 0;
  font-size: 26px;
}

.branches-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.branches-top-actions input {
  min-width: 290px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: #f3f6fb;
}

.branches-top-actions .outline {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
}

.branches-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.branches-title-row h3 {
  margin: 0;
  font-size: 48px;
}

.branches-title-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.branches-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.branch-kpi {
  padding: 16px;
}

.branch-kpi p {
  margin: 0;
  color: #5b6d8a;
  letter-spacing: .07em;
  font-size: 12px;
  font-weight: 700;
}

.branch-kpi h4 {
  margin: 8px 0 0;
  font-size: 48px;
  color: var(--pink);
}

.branch-kpi h4.ok { color: #18ad62; }
.branch-kpi h4.muted { color: #91a2bc; }
.branch-kpi small { display: block; margin-top: 4px; color: #7383a0; font-size: 12px; }

.branches-table-wrap {
  overflow: hidden;
}

.branches-table td {
  font-size: 18px;
}

.branch-manager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.branch-manager span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #f9d8ef;
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.branches-bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
}

.branch-map-card,
.branch-sales-card {
  min-height: 230px;
}

.branch-map-placeholder {
  height: 170px;
  margin: 0 14px 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 30%, #ff9fd6 1.5%, transparent 2%),
    radial-gradient(circle at 70% 40%, #ff9fd6 1.5%, transparent 2%),
    radial-gradient(circle at 55% 70%, #ff9fd6 1.5%, transparent 2%),
    linear-gradient(120deg, #edf3ff, #e5eefe);
  position: relative;
  overflow: hidden;
}

.branch-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(76, 102, 145, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(76, 102, 145, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pin {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--pink);
  border: 2px solid #fff;
  position: absolute;
}

.pin.p1 { top: 28%; left: 30%; }
.pin.p2 { top: 52%; left: 62%; }
.pin.p3 { top: 61%; left: 43%; }
.pin.p4 { top: 35%; left: 74%; }

.branch-sales-card #branches-sales-bars {
  padding: 0 14px 14px;
}

.mini-action.active-branch {
  border-color: var(--pink);
  color: var(--pink);
  background: #fde8f6;
}

@media (max-width: 1280px) {
  .branches-admin .admin-layout,
  .branches-kpis,
  .branches-bottom-grid {
    grid-template-columns: 1fr;
  }

  .branches-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .branches-top,
  .branches-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .branches-top-actions input {
    min-width: 220px;
  }
}

.images-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.images-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.images-main {
  padding: 16px;
  gap: 14px;
}

.images-top {
  padding: 12px 16px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.images-top h2 {
  margin: 0;
  font-size: 24px;
}

.images-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.images-top-actions input {
  min-width: 380px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: #f3f6fb;
}

.images-top-actions .outline {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
}

.images-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #d8deec;
}

.images-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 6px;
  font-weight: 700;
  color: #5c6f8f;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.images-tabs button.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.images-workspace {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 12px;
}

.images-products-panel {
  padding: 12px;
  border-radius: 20px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.images-products-head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.images-products-head h3 {
  margin: 0;
  font-size: 22px;
}

.images-products-head select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}

.images-products-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.images-product-item {
  border: 1px solid #dfe6f3;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.images-product-item strong {
  display: block;
  font-size: 14px;
}

.images-product-item p {
  margin: 3px 0 0;
  color: #667793;
  font-size: 12px;
}

.images-product-item span {
  font-size: 12px;
  font-weight: 800;
  color: #4d5f7c;
}

.images-product-item.is-active {
  border-color: #f0c8e8;
  background: #fef4fb;
}

.images-product-detail {
  padding: 12px;
  border-radius: 20px;
}

.images-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.images-detail-head h3 {
  margin: 0;
  font-size: 24px;
}

.images-detail-head p {
  margin: 4px 0 0;
  color: #627492;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.images-card {
  overflow: hidden;
  border-radius: 20px;
}

.images-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.images-card-meta {
  padding: 10px 12px 12px;
}

.images-card-meta strong {
  display: block;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.images-card-meta small {
  color: #7083a3;
}

.images-card-actions {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.images-link-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.images-linked-product {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #5b6f8f;
}

.images-link-tools {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

.images-link-tools .mini-action {
  flex: 1;
}

.images-link-tools .mini-action.is-primary {
  border-color: var(--pink);
  background: #fde8f6;
  color: var(--pink);
  font-weight: 700;
}

.coupons-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.coupons-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.coupons-main {
  padding: 16px;
  gap: 14px;
}

.coupons-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.coupons-title-row h2 {
  margin: 0;
  font-size: 52px;
}

.coupons-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.coupons-filter-wrap {
  padding: 12px;
  border-radius: 20px;
}

.coupons-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto auto auto;
  gap: 10px;
}

.coupons-filters input,
.coupons-filters select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 15px;
  background: #f8faff;
}

.coupons-filters #coupon-reset-filters {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
}

.coupons-table-wrap {
  overflow: hidden;
}

.coupons-table .coupon-code {
  color: var(--pink);
  font-size: 34px;
}

.coupon-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
}

.coupon-status.active {
  background: #dff5e7;
  color: #14975a;
}

.coupon-status.expired {
  background: #ecf0f7;
  color: #566986;
}

.coupon-status.scheduled {
  background: #dfe9ff;
  color: #2e5ed2;
}

.coupon-status.disabled {
  background: #fee4e4;
  color: #be3030;
}

.customers-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.customers-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.customers-main {
  padding: 16px;
  gap: 14px;
}

.customers-top {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customers-top h2 {
  margin: 0;
  font-size: 44px;
}

.customers-top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.customers-top-actions .outline {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
}

.customers-filters {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
}

.customers-filters input,
.customers-filters select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: #f8faff;
}

#customers-status-filter.is-hidden {
  display: none;
}

#customers-membership-filter.is-hidden {
  display: none;
}

.customers-table-wrap {
  overflow: hidden;
}

.customer-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.customer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.customer-spent {
  color: var(--pink);
  font-size: 34px;
  font-weight: 800;
}

.customers-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.customers-status.active {
  background: #dff5e7;
  color: #14975a;
}

.customers-status.inactive {
  background: #ecf0f7;
  color: #566986;
}

.customers-membership {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.customers-membership small {
  font-size: 10px;
  opacity: 0.9;
  font-weight: 800;
}

.customers-membership.bonita {
  background: #fee9f8;
  color: #c53295;
}

.customers-membership.especial {
  background: #e8f0ff;
  color: #2e5ed2;
}

.customers-membership.vip {
  background: #fff0cf;
  color: #c77200;
}

.customers-points-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  background: #f1f4fb;
  color: #2f4569;
}

.customers-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.customers-kpi {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.customers-kpi-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.customers-kpi-icon.pink { background: #fee9f8; }
.customers-kpi-icon.green { background: #e2f5ed; }
.customers-kpi-icon.blue { background: #e8f0ff; }

.customers-kpi p {
  margin: 0;
  color: #5f6f89;
  font-size: 15px;
}

.customers-kpi h3 {
  margin: 4px 0 0;
  font-size: 44px;
}

.staff-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.staff-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.staff-main {
  padding: 16px;
  gap: 14px;
}

.staff-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.staff-title-row h2 {
  margin: 0;
  font-size: 52px;
}

.staff-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.staff-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.staff-kpi {
  padding: 16px;
}

.staff-kpi p {
  margin: 0;
  color: #5b6d8a;
  letter-spacing: .07em;
  font-size: 12px;
  font-weight: 700;
}

.staff-kpi h3 {
  margin: 8px 0 0;
  font-size: 48px;
}

.staff-kpi h3.pink {
  color: var(--pink);
}

.staff-table-wrap {
  overflow: hidden;
}

.staff-filters {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.staff-filters input,
.staff-filters select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: #f8faff;
}

.staff-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.staff-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.staff-avatar-fallback {
  display: grid;
  place-items: center;
  background: #fde8f6;
  color: var(--pink);
  font-weight: 800;
}

.staff-role-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #445c7c;
  background: #ecf0f7;
}

.staff-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.staff-status.active {
  background: #dff5e7;
  color: #14975a;
}

.staff-status.inactive {
  background: #ecf0f7;
  color: #566986;
}

.configuration-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.configuration-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.configuration-main {
  padding: 16px;
  gap: 14px;
}

.configuration-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.configuration-head h2 {
  margin: 0;
  font-size: 46px;
}

.configuration-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.cfg-toolbar {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.cfg-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #5b6d8a;
  font-weight: 700;
}

.cfg-toolbar select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.cfg-permissions-wrap {
  overflow: hidden;
}

.cfg-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #4f6281;
}

.cfg-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
}

.cfg-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cfg-kpi {
  padding: 16px;
}

.cfg-kpi p {
  margin: 0;
  color: #5b6d8a;
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 700;
}

.cfg-kpi h3 {
  margin: 8px 0 0;
  font-size: 42px;
}

.suppliers-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.suppliers-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.suppliers-main {
  padding: 16px;
  gap: 14px;
}

.suppliers-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.suppliers-title-row h2 {
  margin: 0;
  font-size: 52px;
}

.suppliers-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.suppliers-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.suppliers-kpi {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.suppliers-kpi-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.suppliers-kpi-icon.blue { background: #e8f0ff; }
.suppliers-kpi-icon.green { background: #e2f5ed; }
.suppliers-kpi-icon.orange { background: #fff0df; }

.suppliers-kpi p {
  margin: 0;
  color: #5f6f89;
}

.suppliers-kpi h3 {
  margin: 4px 0 0;
  font-size: 44px;
}

.suppliers-kpi h3 small {
  font-size: 28px;
  color: #11b269;
}

.suppliers-table-wrap {
  overflow: hidden;
}

.suppliers-filters {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 10px;
}

.suppliers-filters input,
.suppliers-filters select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: #f8faff;
}

.suppliers-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.suppliers-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.suppliers-avatar-fallback {
  display: grid;
  place-items: center;
  background: #fde8f6;
  color: var(--pink);
  font-weight: 800;
}

.suppliers-name-cell small {
  display: block;
  color: #8091ac;
}

.suppliers-category {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.suppliers-category.pink { background: #fee9f8; color: var(--pink); }
.suppliers-category.blue { background: #e8f0ff; color: #2e5ed2; }
.suppliers-category.purple { background: #efe7ff; color: #7a35d1; }

.suppliers-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.suppliers-status.active { background: #dff5e7; color: #14975a; }
.suppliers-status.inactive { background: #ecf0f7; color: #566986; }
.suppliers-status.pending { background: #fff0cf; color: #c77200; }

.sales-admin .admin-layout {
  grid-template-columns: 300px 1fr;
}

.sales-admin .admin-sidebar {
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.sales-main {
  padding: 16px;
  gap: 14px;
}

.sales-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sales-title-row h2 {
  margin: 0;
  font-size: 52px;
}

.sales-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.sales-title-actions {
  display: flex;
  gap: 10px;
}

.sales-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sales-kpi {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sales-kpi p {
  margin: 0;
  color: #5f6f89;
}

.sales-kpi h3 {
  margin: 6px 0 0;
  font-size: 48px;
}

.sales-kpi h3 small {
  font-size: 28px;
  color: #11b269;
}

.sales-kpi-dot {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fee9f8;
}

.sales-table-wrap {
  overflow: hidden;
}

.sales-trend {
  padding: 16px;
  position: relative;
}

.sales-trend-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sales-trend-head h3 {
  margin: 0;
  font-size: 28px;
}

.sales-trend-modes {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.sales-trend-modes .pill {
  border: 0;
  background: #f3f6fb;
  cursor: pointer;
}

.sales-trend-head p {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
}

.sales-trend svg {
  width: 100%;
  height: 240px;
}

.sales-point {
  fill: #fff;
  stroke: #e846b0;
  stroke-width: 3;
  cursor: pointer;
  transition: transform .15s ease;
}

.sales-point:hover {
  transform: scale(1.08);
}

.sales-trend-tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: #161b2b;
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  min-width: 120px;
  box-shadow: 0 10px 20px rgba(22, 27, 43, 0.28);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
}

.sales-trend-tooltip strong {
  display: block;
  font-size: 12px;
  opacity: .86;
}

.sales-trend-tooltip span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 800;
}

.sales-trend-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sales-filters {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.sales-filters input,
.sales-filters select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: #f8faff;
}

.sales-customer-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sales-customer-initials {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fee9f8;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
}

.sales-total-cell {
  font-size: 34px;
  color: #141a2a;
  font-weight: 800;
}

.sales-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.sales-status.completed {
  background: #dff5e7;
  color: #14975a;
}

.sales-status.pending {
  background: #fff0cf;
  color: #c77200;
}

.sales-status.canceled {
  background: #fee4e4;
  color: #be3030;
}

.sales-action-menu {
  position: relative;
  display: inline-block;
}

.sales-action-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #61718d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sales-action-toggle:hover {
  background: #f1f4fb;
}

.sales-action-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 4;
  min-width: 150px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 42, 70, 0.14);
  display: none;
  flex-direction: column;
  gap: 6px;
}

.sales-action-menu.is-open .sales-action-list {
  display: flex;
}

.product-detail-page .view {
  padding: 14px;
}

.detail-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-breadcrumb {
  color: #6d7d97;
  font-size: 13px;
}

.detail-breadcrumb span {
  margin: 0 6px;
  color: #9cacbf;
}

.detail-main {
  display: grid;
  grid-template-columns: 74px 1.3fr 1fr;
  gap: 16px;
  align-items: start;
}

.detail-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-thumb {
  width: 64px;
  height: 86px;
  border: 1px solid #d9e1f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.detail-thumb.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px #fde8f6 inset;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-main-image {
  padding: 18px;
}

.detail-main-image img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-badge {
  margin: 0;
  width: fit-content;
  background: #fee9f8;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
}

.detail-info h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.02;
}

.detail-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.detail-price strong {
  color: var(--pink);
  font-size: 44px;
}

.detail-price s {
  color: #8a9ab2;
  font-size: 23px;
}

.detail-size-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.detail-size-head strong {
  font-size: 14px;
}

.detail-size-head a {
  color: var(--pink);
  font-size: 12px;
  text-decoration: none;
}

.detail-size-value {
  margin: 0;
  display: inline-flex;
  border-radius: 12px;
  border: 1px solid #d3dced;
  background: #fff;
  padding: 10px 14px;
  font-weight: 800;
  color: #2c3f61;
}

.detail-inline-content {
  border-top: 1px solid #e3e8f2;
  padding-top: 10px;
}

.detail-inline-content h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.detail-inline-content p {
  margin: 0 0 10px;
  color: #3e526f;
  line-height: 1.5;
}

.detail-inline-content ul {
  margin: 0;
  padding-left: 16px;
  color: #3e526f;
}

.detail-size-list {
  display: flex;
  gap: 8px;
}

.detail-size-list button {
  border: 1px solid #d3dced;
  background: #fff;
  border-radius: 12px;
  min-width: 50px;
  padding: 10px 12px;
  font-weight: 700;
}

.detail-size-list button.active {
  border-color: var(--pink);
  color: var(--pink);
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-actions .primary,
.detail-actions .outline {
  width: 100%;
  padding: 13px;
  font-size: 18px;
}

.detail-cart-meta {
  margin: 0;
  color: #5f7090;
  font-weight: 700;
  font-size: 13px;
}

.detail-benefits {
  padding: 16px;
}

.detail-benefits p {
  margin: 0;
  font-weight: 700;
}

.detail-benefits small {
  display: block;
  color: #6f7f98;
  margin-bottom: 10px;
}

.detail-benefits small:last-child {
  margin-bottom: 0;
}

.detail-seller {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-seller-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.detail-seller img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.detail-seller strong {
  display: block;
  font-size: 14px;
}

.detail-seller small {
  color: #6f7f98;
  font-size: 12px;
}

.detail-seller a {
  font-size: 12px;
  font-weight: 800;
  color: var(--pink);
  text-decoration: none;
}

.detail-tabs {
  margin-top: 6px;
}

.detail-tab-head {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #e3e8f2;
}

.detail-tab-head button {
  border: 0;
  background: transparent;
  padding: 12px 2px;
  font-size: 20px;
  color: #627591;
  font-weight: 700;
}

.detail-tab-head button.active {
  color: #111a2c;
  border-bottom: 2px solid var(--pink);
}

.detail-tab-body {
  display: none;
  color: #3c4e6b;
  font-size: 17px;
  line-height: 1.55;
  padding: 14px 0 4px;
}

.detail-tab-body.active {
  display: block;
}

.detail-tab-body ul {
  margin: 0;
  padding-left: 18px;
}

.detail-related {
  margin-top: 6px;
}

.detail-related-head h3 {
  margin: 0;
  font-size: 42px;
}

.detail-related-head p {
  margin: 4px 0 0;
  color: #6f7f98;
}

.detail-related-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.detail-related-card {
  cursor: pointer;
}

.detail-related-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.detail-related-card small {
  margin-top: 10px;
  display: block;
  color: #72839e;
  font-weight: 800;
  font-size: 11px;
}

.detail-related-card h5 {
  margin: 6px 0 2px;
  font-size: 24px;
}

.detail-related-card p {
  margin: 0;
  font-size: 30px;
  color: var(--pink);
  font-weight: 800;
}

.store-checkout-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-v2 {
  max-width: 1320px;
  margin: 0 auto;
}

.checkout-top {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-top nav {
  display: flex;
  gap: 18px;
  color: #34435f;
  font-weight: 600;
}

.checkout-top-sell {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fce9f8;
  color: var(--pink);
}

.checkout-stephead {
  padding: 8px 2px 2px;
}

.checkout-crumbs {
  margin: 0;
  color: var(--pink);
  font-weight: 600;
}

.checkout-crumbs span {
  margin: 0 8px;
  color: #8fa0bb;
}

.checkout-stephead h2 {
  margin: 8px 0 8px;
  font-size: 34px;
}

.checkout-progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.checkout-progress {
  height: 10px;
  border-radius: 999px;
  background: #dce3f0;
  overflow: hidden;
}

.checkout-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff58be, #d936aa);
}

.checkout-progress-row strong {
  color: #4c607f;
}

.checkout-stephead small {
  color: var(--pink);
  font-weight: 600;
}

.checkout-v2-grid {
  display: grid;
  grid-template-columns: 1.4fr .95fr;
  gap: 16px;
  align-items: start;
}

.checkout-form-col h3 {
  margin: 16px 0 12px;
  font-size: 42px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.checkout-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: #2e3f5d;
}

.checkout-form-grid label.full {
  grid-column: 1 / -1;
}

.checkout-form-grid input {
  border: 1px solid #d6deec;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 16px;
  background: #fff;
}

.checkout-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-method-card {
  border: 1px solid #d6deec;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #243652;
}

.checkout-method-card.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px #f9c7e9 inset;
}

.checkout-method-card input {
  accent-color: var(--pink);
}

.checkout-card-fields {
  border: 1px solid #f3b3de;
  background: #fff7fc;
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.checkout-card-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #5c6f8e;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 800;
}

.checkout-card-fields label.full {
  grid-column: 1 / -1;
}

.checkout-card-fields input {
  border: 1px solid #d5deeb;
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  font-size: 16px;
}

.checkout-secure-note {
  margin-top: 14px;
  border: 1px solid #f3c7e6;
  background: #fdf4fb;
  border-radius: 16px;
  padding: 14px 16px;
  color: #5f7090;
  font-weight: 600;
}

.checkout-summary-v2 {
  padding: 16px;
}

.checkout-summary-v2 h3 {
  margin: 0 0 10px;
  font-size: 40px;
}

.checkout-summary-items {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
}

.checkout-summary-item img {
  width: 76px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
}

.checkout-summary-item strong {
  display: block;
  font-size: 18px;
}

.checkout-summary-item small {
  display: block;
  margin-top: 4px;
  color: #667a98;
}

.checkout-summary-item b {
  display: block;
  margin-top: 4px;
  color: var(--pink);
  font-size: 20px;
}

.checkout-summary-extra {
  margin: 8px 0 0;
  color: #687a97;
  font-size: 13px;
}

.checkout-summary-v2 p,
.checkout-summary-v2 h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 7px 0;
}

.checkout-summary-v2 p span {
  color: #546884;
}

.checkout-summary-v2 strong.ok {
  color: #11b269;
}

.checkout-coupon-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.checkout-coupon-row input {
  border: 1px solid #d6deec;
  border-radius: 999px;
  padding: 10px 14px;
}

.checkout-coupon-row .outline {
  border-radius: 999px;
  padding: 10px 12px;
}

.checkout-coupon-msg {
  min-height: 18px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
}

.checkout-summary-v2 h4 {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 12px;
  font-size: 22px;
}

.checkout-summary-v2 h4 strong {
  font-size: 42px;
}

.checkout-summary-v2 .primary {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 20px;
}

.checkout-summary-v2 > small {
  display: block;
  margin-top: 10px;
  color: #6b7e9b;
}

.orders-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.orders-head h2 {
  margin: 0;
  font-size: 36px;
}

.orders-head input {
  width: min(420px, 100%);
  border: 1px solid #d6deec;
  border-radius: 999px;
  padding: 11px 14px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  padding: 14px;
  cursor: pointer;
}

.order-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-card header h3 {
  margin: 0;
  font-size: 20px;
}

.order-card header p {
  margin: 4px 0 0;
  color: #60718d;
  font-size: 13px;
}

.order-status {
  border-radius: 999px;
  background: #dff5e7;
  color: #14975a;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.order-items {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.order-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.order-item img {
  width: 64px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
}

.order-item strong {
  display: block;
}

.order-item p {
  margin: 4px 0 0;
  color: #60718d;
  font-size: 13px;
}

.order-item b {
  font-size: 16px;
}

.order-card footer {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.order-card footer p {
  margin: 0;
  color: #4f6281;
}

.order-detail-modal {
  width: min(920px, 96vw);
}

.order-detail-content {
  gap: 12px;
}

.order-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-detail-head h3 {
  margin: 0;
  font-size: 24px;
}

.order-detail-meta {
  margin: 0;
  color: #5f7090;
  font-size: 13px;
}

.order-detail-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}

.order-detail-section h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.order-detail-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-detail-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
}

.order-detail-item img {
  width: 56px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
}

.order-detail-item p {
  margin: 4px 0 0;
  color: #60718d;
  font-size: 12px;
}

.order-detail-item b {
  font-size: 14px;
}

.order-detail-shipping p {
  margin: 5px 0;
  color: #4f6281;
}

.order-detail-breakdown p,
.order-detail-breakdown h5 {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.order-detail-breakdown h5 {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
  font-size: 18px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #f7f8fc, #fcecf7);
}

.auth-shell {
  width: min(460px, 92vw);
}

.auth-card {
  padding: 22px;
}

.auth-card h1 {
  margin: 0;
  font-size: 28px;
}

.auth-card > p {
  margin: 8px 0 0;
  color: #5f7090;
}

.auth-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: #3a4c69;
}

.auth-form input {
  border: 1px solid #d8deeb;
  border-radius: 12px;
  padding: 12px 13px;
}

.auth-form .primary {
  margin-top: 4px;
}

.auth-msg {
  min-height: 18px;
  margin: 10px 0 0;
  color: #334a6f;
  font-size: 13px;
}

.auth-msg.is-error {
  color: #be3030;
  font-weight: 600;
}

.supa-session-panel {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8deeb;
  border-radius: 999px;
  padding: 4px 6px 4px 10px;
  background: #fff;
}

.admin-session-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.supa-session-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.supa-session-meta strong {
  font-size: 12px;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supa-session-meta span {
  font-size: 11px;
  color: #667894;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.supa-session-logout {
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
}

.supa-session-users {
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
}

.users-shell {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.users-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.users-head h2 {
  margin: 0;
  font-size: 30px;
}

.users-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.users-head-actions input {
  width: min(420px, 100%);
  border: 1px solid #d8deeb;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
}

.users-back {
  text-decoration: none;
}

.users-table-wrap {
  overflow: auto;
  padding: 0;
}

.users-table {
  min-width: 900px;
}

.users-table td select {
  border: 1px solid #d8deeb;
  border-radius: 10px;
  padding: 6px 8px;
  background: #fff;
  min-width: 120px;
  font-family: inherit;
}

.users-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #425775;
}

.users-active-toggle input {
  accent-color: var(--pink);
}

.users-empty {
  text-align: center;
  color: #60718d;
  padding: 18px 10px;
}

.users-msg {
  margin: 0;
  min-height: 18px;
  color: #4f6281;
  font-size: 13px;
}

.users-msg.is-error {
  color: #ba2a2a;
  font-weight: 600;
}

.store-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-checkout-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-checkout-head-actions .outline {
  padding: 9px 12px;
  border-radius: 999px;
}

.store-checkout-head h2 {
  margin: 0;
  font-size: 38px;
}

.store-checkout-head a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}

.store-checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 14px;
}

.checkout-items-wrap {
  padding: 14px;
}

.checkout-items-wrap h3,
.checkout-summary h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 10px;
  align-items: center;
}

.checkout-item img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.checkout-item strong {
  font-size: 16px;
}

.checkout-item p {
  margin: 6px 0;
  color: #647792;
  font-size: 13px;
}

.checkout-item b {
  font-size: 18px;
}

.checkout-summary {
  padding: 14px;
  height: fit-content;
}

.checkout-summary p,
.checkout-summary h4 {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
}

.checkout-summary p span {
  color: #667894;
}

.checkout-summary h4 {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 24px;
}

.checkout-summary h4 strong {
  color: var(--pink);
}

.checkout-summary label {
  margin-top: 10px;
  display: block;
  color: #5f7090;
  font-size: 13px;
  font-weight: 700;
}

.checkout-summary select {
  margin-top: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.checkout-summary .primary {
  margin-top: 12px;
  width: 100%;
  font-size: 17px;
  padding: 13px;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 12px;
}

.account-tabs {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: fit-content;
}

.account-tab {
  border: 1px solid #d8deeb;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.account-tab.active {
  border-color: transparent;
  background: #fce9f8;
  color: var(--pink);
}

.account-panel {
  display: none;
  padding: 14px;
}

.account-panel.active {
  display: block;
}

.account-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.account-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #334965;
  font-weight: 700;
}

.account-form input {
  border: 1px solid #d8deeb;
  border-radius: 12px;
  padding: 11px 12px;
}

.account-form .primary {
  grid-column: 1 / -1;
}

.account-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 1280px) {
  .coupons-admin .admin-layout {
    grid-template-columns: 1fr;
  }

  .coupons-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .coupons-title-row {
    flex-direction: column;
    gap: 10px;
  }

  .coupons-filters {
    grid-template-columns: 1fr;
  }

  .customers-admin .admin-layout,
  .customers-kpis {
    grid-template-columns: 1fr;
  }

  .customers-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .customers-filters {
    grid-template-columns: 1fr;
  }

  .staff-admin .admin-layout,
  .staff-kpis {
    grid-template-columns: 1fr;
  }

  .staff-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .staff-title-row {
    flex-direction: column;
    gap: 10px;
  }

  .staff-filters {
    grid-template-columns: 1fr;
  }

  .configuration-admin .admin-layout,
  .cfg-kpis {
    grid-template-columns: 1fr;
  }

  .configuration-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .configuration-head {
    flex-direction: column;
    gap: 10px;
  }

  .cfg-toolbar {
    grid-template-columns: 1fr;
  }

  .suppliers-admin .admin-layout,
  .suppliers-kpis {
    grid-template-columns: 1fr;
  }

  .suppliers-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .suppliers-title-row {
    flex-direction: column;
    gap: 10px;
  }

  .suppliers-filters {
    grid-template-columns: 1fr;
  }

  .sales-admin .admin-layout,
  .sales-kpis {
    grid-template-columns: 1fr;
  }

  .sales-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .sales-title-row {
    flex-direction: column;
    gap: 10px;
  }

  .sales-title-actions,
  .sales-filters {
    grid-template-columns: 1fr;
    display: grid;
  }

  .detail-main,
  .detail-related-grid,
  .store-checkout-grid,
  .checkout-v2-grid,
  .checkout-form-grid,
  .account-layout,
  .account-form {
    grid-template-columns: 1fr;
  }

  .detail-gallery-col {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
  }

  .detail-main-image {
    order: 1;
  }

  .detail-main-image img {
    min-height: 320px;
  }

  .detail-info {
    order: 3;
  }

  .users-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .users-head-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .users-head-actions input {
    flex: 1;
    min-width: 220px;
  }
}

.images-link-row select {
  border: 1px solid #dbe3f1;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  background: #fff;
}

.images-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f4fb;
  color: #4f6281;
  text-transform: capitalize;
}

.images-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}

.images-footer-actions p {
  margin: 0;
  color: #5f7090;
}

.images-storage {
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
}

.images-storage h4 {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 20px;
}

.images-storage-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #dde5f3;
  overflow: hidden;
}

.images-storage-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff58be, #d936aa);
}

.images-storage p {
  margin: 8px 0 0;
  color: #667793;
  font-size: 13px;
}

@media (max-width: 1400px) {
  .images-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .images-admin .admin-layout {
    grid-template-columns: 1fr;
  }

  .images-admin .admin-sidebar {
    border: 1px solid var(--line);
    border-radius: 24px;
    min-height: auto;
  }

  .images-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .images-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .images-top-actions input {
    min-width: 220px;
    flex: 1;
  }

  .images-workspace {
    grid-template-columns: 1fr;
  }

  .images-products-panel {
    min-height: auto;
  }

  .images-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .images-grid {
    grid-template-columns: 1fr;
  }
}
