@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #10221d;
  --muted: #68766f;
  --green: #007f5c;
  --accent: #00a878;
  --line: #e0e7e3;
  --bg: #f5f7f6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px "DM Sans",
    system-ui,
    sans-serif;
}
h1,
h2,
h3,
.brand {
  font-family: Manrope, system-ui, sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #00a878;
  outline-offset: 4px;
}
button {
  border: 0;
}
svg {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: #071b16;
  color: #fff;
  padding: 36px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 2px;
}
.brand-mark {
  width: 29px;
  height: 29px;
  border: 7px solid #34d399;
  border-radius: 50%;
  display: inline-block;
}
.city {
  color: #91a89c;
  font-size: 14px;
  margin: 12px 0 46px 41px;
}
.sidebar nav {
  display: grid;
  gap: 9px;
}
.nav-link {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  color: #acc0b6;
  font-weight: 500;
}
.nav-link:hover,
.nav-link.active {
  background: #143b2e;
  color: #66e5b4;
}
.sidebar-foot {
  margin-top: auto;
  color: #abc1b5;
  font-size: 14px;
  line-height: 1.6;
}
.demo-pill {
  display: inline-block;
  border: 1px solid #355246;
  border-radius: 7px;
  padding: 5px 9px;
  margin-bottom: 12px;
  color: #9becce;
  font-size: 12px;
  letter-spacing: 1px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 87px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 46px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.crumb {
  color: var(--muted);
  font-size: 14px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #f4f6f5;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.avatar {
  background: #d9f5e8;
  color: #075b41;
  font-weight: 700;
}
.content {
  max-width: 1380px;
  margin: auto;
  padding: 38px 46px 70px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.heading h1 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1.4px;
  margin: 10px 0;
}
.subtitle {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  padding: 9px 13px;
  white-space: nowrap;
}
.searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #d8e1dc;
  border-radius: 15px;
  padding: 10px 12px 10px 20px;
  box-shadow: 0 6px 22px #133c2310;
  max-width: 100%;
}
.searchbar input {
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  padding: 9px;
  background: transparent;
}
.primary,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 13px 21px;
  border-radius: 10px;
  font-weight: 600;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #006647;
}
.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.secondary:hover {
  background: #edf5ef;
}
.categories {
  display: flex;
  gap: 9px;
  overflow: auto;
  padding: 23px 0 29px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  white-space: nowrap;
  padding: 11px 17px;
  font-size: 14px;
}
.chip.active {
  background: #0e2b22;
  color: #fff;
  border-color: #0e2b22;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 21px;
  gap: 12px;
}
.section-head h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px #113f2010;
}
.brand-panel {
  height: 174px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b);
  color: var(--t);
}
.brand-panel:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.1;
  right: -70px;
  top: -110px;
}
.brand-panel:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.1;
  left: -65px;
  bottom: -145px;
}
.monogram {
  font:
    800 56px Manrope,
    system-ui;
  letter-spacing: -4px;
  opacity: 0.95;
}
.panel-label {
  position: absolute;
  bottom: 15px;
  left: 19px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.favorite {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffffdd;
  color: #19322a;
  z-index: 1;
}
.favorite.selected {
  color: #00895f;
}
.favorite.selected svg {
  fill: #00895f;
}
.card-body {
  padding: 20px;
}
.card h3 {
  margin: 6px 0 9px;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.card-type {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
  margin: 11px 0 18px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  gap: 8px;
}
.price {
  font-size: 14px;
}
.price strong {
  font-size: 17px;
}
.text-link {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  background: none;
  padding: 8px 0;
}
.promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 30px;
  background: #e2f4eb;
  border: 1px solid #c8e6d7;
  padding: 24px 29px;
  border-radius: 16px;
}
.promo h3 {
  margin: 0 0 7px;
  font-size: 19px;
}
.promo p {
  color: #466455;
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}
.stamp-icon {
  width: 50px;
  height: 50px;
  background: #bde9d2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  flex-shrink: 0;
}
.promo-left {
  display: flex;
  gap: 18px;
  align-items: center;
}
.detail-banner {
  background: var(--b);
  color: var(--t);
  padding: 35px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 22px 0 29px;
}
.detail-banner .monogram {
  padding: 15px;
  border: 1px solid #ffffff30;
  border-radius: 18px;
  min-width: 130px;
  text-align: center;
}
.detail-banner h1 {
  margin: 5px 0 8px;
  font-size: 36px;
  letter-spacing: -1px;
}
.detail-banner p {
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 25px;
}
.box {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 22px;
}
.box h2 {
  margin: 0 0 19px;
  font-size: 20px;
}
.service {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.service h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.service p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.service button {
  white-space: nowrap;
}
.steps {
  display: flex;
  gap: 13px;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 22px;
}
.steps span {
  background: #eaf6ef;
  color: var(--green);
  padding: 6px 10px;
  border-radius: 7px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 17px 0 7px;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid #d8e2dc;
  background: #fff;
  border-radius: 9px;
  padding: 12px;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #00a87840;
  border-color: var(--green);
}
textarea {
  min-height: 80px;
  resize: vertical;
}
.searchbar input {
  border: 0;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.full {
  width: 100%;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.slot {
  border: 1px solid var(--line);
  padding: 10px 5px;
  border-radius: 9px;
  background: white;
  font-size: 14px;
}
.slot.selected {
  background: #007f5c;
  color: white;
}
.slot:disabled {
  opacity: 0.35;
  cursor: default;
  text-decoration: line-through;
}
.notice {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  background: #f3f7f4;
  border-radius: 8px;
  padding: 12px;
}
.success {
  background: #e4f6ed;
  color: #076647;
  padding: 16px;
  border-radius: 12px;
  line-height: 1.6;
}
.empty {
  text-align: center;
  padding: 55px 20px;
  color: var(--muted);
  background: white;
  border: 1px dashed #ccd9d0;
  border-radius: 15px;
  grid-column: 1/-1;
}
.loyalty {
  background: #0c2c22;
  color: white;
  border-radius: 19px;
  padding: 25px;
  position: relative;
  overflow: hidden;
}
.loyalty h3 {
  font-size: 22px;
  margin: 12px 0;
}
.loyalty p {
  color: #b9d6c7;
  font-size: 14px;
  line-height: 1.5;
}
.stamps {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.stamp {
  width: 37px;
  height: 37px;
  border: 1px dashed #6d9780;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 14px;
}
.stamp.filled {
  background: #45d79c;
  border-color: #45d79c;
  color: #093624;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 14px;
}
.stat strong {
  display: block;
  font: 800 31px Manrope;
  margin: 9px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 17px 11px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-weight: 500;
}
.status {
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #e4f6ed;
  color: #08704f;
}
.status.cancelled {
  background: #f7e8e5;
  color: #9c443c;
}
.list-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.list-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
}
.list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.list-item .secondary {
  margin-left: auto;
}
.mobile-brand {
  display: none;
}
.bottomnav {
  display: none;
}
dialog {
  width: min(540px, calc(100% - 28px));
  border: 0;
  border-radius: 20px;
  padding: 27px;
  box-shadow: 0 20px 90px #0003;
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #03130cb0;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin: 0;
  font-size: 24px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #102d23;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  z-index: 20;
  transition: 0.25s;
  max-width: 90%;
  box-shadow: 0 8px 25px #0002;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
#toast {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  visibility: visible;
}
.profile-check {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}
.profile-check input {
  margin-top: 5px;
}
.danger {
  color: #a3483d;
}
.info-line {
  display: flex;
  gap: 10px;
  line-height: 1.6;
  margin: 15px 0;
  font-size: 14px;
}
.small {
  font-size: 13px;
}
.demo-top {
  color: var(--muted);
  font-size: 12px;
}
.tab-row {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
@media (min-width: 1550px) {
  .content {
    padding-top: 48px;
  }
  .brand-panel {
    height: 205px;
  }
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    width: 205px;
    padding: 30px 17px;
  }
  .content {
    padding: 30px 28px 60px;
  }
  .topbar {
    padding: 0 28px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    height: 73px;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .mobile-brand {
    display: flex;
    font-size: 22px;
    letter-spacing: 1px;
  }
  .mobile-brand .brand-mark {
    width: 23px;
    height: 23px;
    border-width: 5px;
  }
  .crumb {
    display: none;
  }
  .content {
    padding: 25px 20px 110px;
  }
  .heading {
    align-items: start;
  }
  .heading .badge {
    display: none;
  }
  .heading h1 {
    font-size: 30px;
  }
  .subtitle {
    font-size: 14px;
  }
  .grid {
    gap: 15px;
  }
  .card-body {
    padding: 15px;
  }
  .card h3 {
    font-size: 17px;
  }
  .brand-panel {
    height: 140px;
  }
  .monogram {
    font-size: 46px;
  }
  .card-footer {
    flex-wrap: wrap;
  }
  .card-meta {
    font-size: 12px;
  }
  .categories {
    margin-right: -20px;
    padding-right: 20px;
  }
  .promo {
    padding: 20px;
    align-items: start;
    flex-direction: column;
  }
  .promo-left {
    align-items: start;
  }
  .bottomnav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 5;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    padding: 11px 8px calc(11px + env(safe-area-inset-bottom));
  }
  .bottomnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--muted);
  }
  .bottomnav a.active {
    color: var(--green);
  }
  .detail-layout {
    display: block;
  }
  .detail-banner {
    padding: 24px;
    gap: 17px;
  }
  .detail-banner .monogram {
    font-size: 35px;
    min-width: 70px;
    padding: 10px;
  }
  .detail-banner h1 {
    font-size: 26px;
  }
  .detail-banner p {
    font-size: 14px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 26px;
  }
  .box {
    padding: 20px;
  }
  .section-head {
    align-items: start;
  }
  .searchbar .primary {
    padding: 12px;
  }
  .searchbar .primary span {
    display: none;
  }
  #toast {
    bottom: 85px;
  }
  .demo-top {
    display: none;
  }
}
@media (max-width: 420px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .brand-panel {
    height: 175px;
  }
  .card-footer {
    flex-wrap: nowrap;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .detail-banner {
    flex-direction: column;
    align-items: start;
  }
  .heading h1 {
    font-size: 28px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .stat strong {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.business-logo {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.detail-banner .business-logo {
  width: 130px;
  max-height: 130px;
  flex-shrink: 0;
}
