﻿.visitor-receipt-item small,
.visitor-receipt-empty {
  color: var(--muted);
  font-size: 12px;
}

.range-calendar-modal {
  display: grid;
  gap: 12px;
  width: min(560px, 100%);
}

.range-calendar-nav {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #d7e7df;
  border-radius: 14px;
  background: #f8fffb;
}

.range-calendar-nav strong {
  color: var(--text);
  text-align: center;
}

.range-calendar-nav button,
.range-calendar-actions button {
  min-height: 38px;
  border-radius: 11px;
}

.range-calendar-weekdays,
.range-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.range-calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.range-calendar-grid button {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font-weight: 850;
}

.range-calendar-grid button.muted {
  color: #a9b8b1;
  background: #f7faf9;
}

.range-calendar-grid button.in-range {
  border-radius: 8px;
  background: #dcf9ed;
  color: #0f513f;
}

.range-calendar-grid button.selected {
  color: #ffffff;
  background: #0f7a5c;
  border-color: #0f7a5c;
  box-shadow: 0 8px 18px rgba(15, 122, 92, .2);
}

.range-calendar-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.product-sales-panel {
  gap: 8px;
}

.product-sales-tools {
  display: grid;
  gap: 10px;
}

.product-sales-search {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #d7e7df;
  border-radius: 12px;
  background: #f5faf8;
}

.product-sales-search span {
  color: #0f7a5c;
  font-size: 21px;
  font-weight: 760;
  line-height: 1;
}

.product-sales-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.product-sales-summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
  min-height: 92px;
  padding: 12px 16px;
  overflow: hidden;
  border-radius: 14px;
  color: white;
  background:
    radial-gradient(circle at 88% 82%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(135deg, #0ba878 0%, #06775d 100%);
  box-shadow: 0 14px 28px rgba(6, 119, 93, .18);
}

.product-sales-summary::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 170px;
  height: 130px;
  border-radius: 55% 45% 0 0;
  background: rgba(255,255,255,.13);
}

.product-sales-summary > span,
.product-sales-summary > strong,
.product-sales-summary > div {
  position: relative;
  z-index: 1;
}

.product-sales-summary > span {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 760;
}

.product-sales-summary > strong {
  grid-column: 1 / -1;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1;
}

.product-sales-summary div {
  display: grid;
  gap: 3px;
}

.product-sales-summary small {
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 650;
}

.product-sales-summary b {
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 720;
  line-height: 1.05;
  white-space: nowrap;
}

.product-sales-notice {
  padding: 8px 10px;
  border-radius: 11px;
  background: #eef6f4;
  color: #0f513f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.product-sales-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
}

.product-sales-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 96% 16%, rgba(79, 176, 138, .10), transparent 30%),
    rgba(255,255,255,.88);
}

.product-sales-row[hidden],
.product-sales-row.is-filtered-out {
  display: none !important;
}

.product-sales-row:nth-child(even) {
  background: rgba(79, 176, 138, .08);
}

.product-sales-row:last-child {
  border-bottom: 0;
}

.product-sales-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0f4f3;
  color: #b7c2bf;
  font-size: 15px;
  font-weight: 720;
}

.product-sales-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 2px 14px;
  min-width: 0;
}

.product-sales-main > strong {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.15;
}

.product-sales-main span {
  display: grid;
  gap: 1px;
}

.product-sales-main small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
}

.product-sales-main b {
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.product-sales-row em {
  min-width: 31px;
  min-height: 31px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid #9aa7a3;
  border-radius: 8px;
  color: #111827;
  background: white;
  font-style: normal;
  font-weight: 760;
  font-size: 12px;
}

.report-hero h3 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.report-hero p {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
}

.report-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.report-hero-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

.report-hero-grid span:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.report-hero-grid strong {
  color: white;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.report-hero-grid small {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.report-chart-card {
  margin-bottom: 16px;
  border-color: rgba(15, 81, 63, .12);
  background: linear-gradient(180deg, #ffffff, #f8fffb);
  box-shadow: 0 14px 32px rgba(15, 81, 63, .07);
}

.report-chart-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.report-chart-tabs button {
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.report-chart-tabs button:hover {
  background: var(--canvas);
}

.report-chart-tabs button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.report-modern-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  padding: 20px 10px 10px;
  overflow-x: auto;
}

.chart-bar-wrap {
  flex: 1;
  min-width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.chart-bar {
  width: 100%;
  max-width: 50px;
  background: linear-gradient(to top, #0f7a5c, #4ade80);
  border-radius: 6px 6px 0 0;
  min-height: 8px;
  transition: height 0.4s ease;
  margin-top: auto;
}

.chart-value {
  font-size: 0.72rem;
  font-weight: 600;
  margin: 6px 0 2px;
  color: var(--text);
  white-space: nowrap;
}

.chart-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.report-line-chart {
  height: 210px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(28px, 1fr);
  gap: 8px;
  align-items: end;
  padding: 14px 8px 0;
  border-bottom: 1px solid #d7e7df;
  overflow-x: auto;
}

.report-line-chart span {
  min-height: 8px;
  display: grid;
  align-content: start;
  justify-items: center;
  position: relative;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #0f7a5c, #8ee0bd);
}

.report-line-chart b {
  position: absolute;
  top: -22px;
  color: #0f513f;
  font-size: 12px;
}

.report-line-chart small {
  position: absolute;
  bottom: -24px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.report-kpi-grid .metric {
  min-height: 116px;
  border-color: rgba(15, 81, 63, .12);
  background: linear-gradient(135deg, #ffffff, #f2fff8);
  box-shadow: 0 14px 32px rgba(15, 81, 63, .07);
}

.report-kpi-grid .metric:nth-child(3) {
  background: linear-gradient(135deg, #0f513f, #2f9b76);
  border-color: transparent;
  color: white;
}

.report-kpi-grid .metric:nth-child(3) span,
.report-kpi-grid .metric:nth-child(3) small {
  color: rgba(255,255,255,.78);
}

.report-monitor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 16px;
  margin-top: 16px;
}

.report-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.report-side-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.report-card {
  border-color: rgba(15, 81, 63, .12);
  box-shadow: 0 14px 32px rgba(15, 81, 63, .07);
}

.report-breakdown,
.report-activity-list,
.report-day-list,
.report-rank-list {
  display: grid;
  gap: 8px;
}

.report-breakdown > div,
.report-activity-row,
.report-day-row,
.report-rank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #d7e7df;
  border-radius: 14px;
  background: #f8fffb;
}

.report-breakdown span,
.report-activity-row div,
.report-day-row div,
.report-rank-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.report-breakdown small,
.report-activity-row span,
.report-day-row span,
.report-rank-row small {
  color: var(--muted);
  font-size: 12px;
}

.report-breakdown b,
.report-activity-row b,
.report-day-row b,
.report-rank-row em {
  color: var(--ink);
  white-space: nowrap;
}

.report-day-row div strong {
  font-size: 26px;
  line-height: 1;
}

.report-rank-row b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #0f513f;
  color: white;
}

.report-rank-row span strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-rank-row em {
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .dashboard-hero,
  .dashboard-main-grid,
  .report-hero,
  .report-monitor-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-metrics,
  .dashboard-indicator-grid,
  .report-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 0 0 14px;
}

.section-title h3 {
  margin: 0;
  font-size: 19px;
}

.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.btn.accent {
  background: #4fb08a;
  border-color: #4fb08a;
  color: white;
}

.btn.green {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.btn.red {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.btn.ghost {
  background: transparent;
}

.input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 10px 12px;
  color: var(--text);
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, min(40vw, 700px));
  gap: 14px;
  align-items: stretch;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.app-shell:not(.nav-collapsed) .pos-layout {
  grid-template-columns: minmax(0, 1fr) minmax(430px, min(40vw, 700px));
}

.pos-products-pane,
.product-list {
  min-width: 0;
}

.pos-products-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.pos-control-panel {
  background: transparent;
  border: 0;
  padding: 0;
}

.pos-search-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 42px;
  gap: 8px;
  align-items: end;
}

.pos-search .input {
  min-height: 42px;
  border-color: #72b69e;
  border-radius: 999px;
  font-size: 15px;
  padding: 8px 15px;
}

.quick-tool {
  height: 42px;
  width: 42px;
  border-radius: 999px;
  background: white;
  border: 1px solid #72b69e;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
}

.quick-tool svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cash-chip {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
}

.cash-chip.open {
  background: var(--green-soft);
  color: var(--green);
}

.cash-chip.closed {
  background: var(--red-soft);
  color: var(--red);
}

.category-cards {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 8px;
  scrollbar-width: none;
}

.category-card {
  min-width: 112px;
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid #72b69e;
  background: white;
  color: #3b9a79;
  padding: 6px 12px;
  text-align: center;
  flex: 0 0 auto;
}

.category-card strong,
.category-card span {
  display: block;
}

.category-card strong {
  font-size: 16px;
}

.category-card span {
  display: none;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.category-card.active {
  background: #dcfce7;
  border-color: var(--green);
  color: var(--green);
}

.product-list {
  display: grid;
  align-content: start;
  gap: 0;
  background: white;
  border-radius: 10px;
  padding: 6px 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sale-lock-card {
  margin: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #9bd4bf;
  background: #ecfdf5;
  color: #0f513f;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
}

.sale-lock-card strong {
  font-size: 16px;
}

.sale-lock-card span {
  color: #47685c;
  font-size: 13px;
}

.sale-lock-card .btn {
  grid-row: span 2;
  border-radius: 999px;
  white-space: nowrap;
}

.product-card {
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: white;
  border-radius: 0;
  padding: 14px;
  text-align: left;
  min-height: 104px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 44px;
  align-items: start;
  gap: 14px;
  position: relative;
}

.product-card:hover {
  background: #f8fffb;
}

.product-card h4 {
  margin: 0 0 3px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.product-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.product-card strong {
  color: #555f6d;
}

.product-price {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #c8ebde;
  color: #08745a !important;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

.product-token {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #94a3b8;
  font-weight: 900;
  font-size: 22px;
  margin-top: 2px;
}

.product-info {
  min-width: 0;
}

.product-info h4,
.product-info p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-action {
  display: grid;
  justify-items: center;
  align-self: center;
  min-width: 0;
  pointer-events: none;
}

.product-action span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef2f7;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 900;
}

.product-action span.selected {
  background: #4fb08a;
  color: white;
}

.limited-stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  width: fit-content;
  max-width: 100%;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #f3d18d;
  background: #fff7e6;
  color: #9a5b00;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.limited-stock-badge.empty {
  border-color: #fecaca;
  background: #fff1f2;
  color: #be123c;
}

.product-card > .limited-stock-badge {
  position: absolute;
  right: 12px;
  bottom: 8px;
}

.product-card:disabled .product-action span {
  background: var(--red-soft);
  color: var(--red);
}

.cart-panel {
  position: static;
  height: 100%;
  max-height: none;
  overflow: hidden;
  padding: 12px;
  border-color: #5ac096;
  background: #d8f8e9;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cart-back {
  display: none;
  min-height: 42px;
  margin-bottom: 8px;
  background: transparent;
  color: #3b9a79;
  font-size: 16px;
  font-weight: 800;
}

.order-type-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
  flex: 0 0 auto;
}

.order-type-card {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f1f5f9;
  color: var(--ink);
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.order-type-card span {
  display: none;
}

.order-type-card strong {
  font-size: 12px;
  line-height: 1.1;
}

.order-type-card small {
  display: none;
}

.order-type-card.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.order-type-card.active span {
  background: white;
  color: var(--green);
}

.payment-detail-shell {
  display: grid;
  gap: 6px;
  margin-top: 0;
}

.payment-detail-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 7px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid #b7e4d4;
}

.payment-detail-fields .field {
  gap: 2px;
}

.payment-detail-fields .input,
.payment-detail-fields select {
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 10px;
}

.discount-inline,
.discount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
}

.discount-type-tabs {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: #e8f8f1;
  border: 1px solid #b7e4d4;
}

.discount-type-tabs button {
  min-height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f7a5c;
  font-size: 11px;
  font-weight: 900;
}

.discount-type-tabs button.active {
  background: #0f7a5c;
  color: white;
}

.payment-detail-fields label,
.payment-panel label {
  font-size: 10px;
}

.cart-step-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  flex: 0 0 auto;
}

.cart-step-tabs button {
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid #9bd4bf;
  color: #0f7a5c;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.cart-step-tabs button.active {
  background: #2f9b76;
  border-color: #2f9b76;
  color: white;
}

.cart-items-page,
.cart-payment-page {
  display: grid;
  gap: 8px;
  min-height: 0;
  flex: 1 1 auto;
}

.cart-items-page {
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
}

.cart-payment-page {
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  height: 100%;
}

.cart-header-line {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(240px, .6fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.cart-step-tabs {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: min(100%, 230px);
}

.cart-title-mini {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 1px;
  justify-items: end;
}

.cart-title-mini strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0f7a5c;
  color: white;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.cart-title-mini span {
  display: none;
  color: #47685c;
  font-size: 13px;
}

.cart-lines {
  max-height: none;
  overflow: auto;
  padding-right: 4px;
  min-height: 0;
}

.pos-next-button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: #2f9b76;
  border-color: #2f9b76;
  color: white;
  font-weight: 900;
}

.addon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.addon-actions button {
  min-height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid #9bd4bf;
  color: #0f7a5c;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 800;
}

.addon-actions button.active {
  background: #0f7a5c;
  border-color: #0f7a5c;
  color: white;
}

.variant-picker-title {
  align-items: center;
  margin-bottom: 10px;
}

.variant-picker-form {
  display: grid;
  gap: 10px;
}

.variant-picker-group {
  display: grid;
  gap: 8px;
}

.variant-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.variant-choice-card {
  min-height: 64px;
  display: flex;
  align-items: center;
  border: 1px solid #b7e4d4;
  border-radius: 14px;
  padding: 10px;
  background: #f7fffb;
  cursor: pointer;
}

.variant-parent-block {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d5e7df;
  border-radius: 14px;
  background: #fbfefd;
}

.variant-parent-title {
  display: grid;
  gap: 2px;
  color: #0f513f;
  font-size: 13px;
}

.variant-parent-title span,
.variant-child-title,
.variant-input-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.variant-child-title {
  margin-top: 2px;
}

.variant-child-list,
.variant-row-list,
.variant-parent-list {
  display: grid;
  gap: 7px;
}

.variant-add-btn {
  justify-self: start;
  min-height: 34px;
  border-radius: 11px;
  padding: 0 11px;
  font-size: 12px;
}

.variant-choice-card input {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  accent-color: #0f7a5c;
}

.variant-choice-card span {
  display: grid;
  gap: 4px;
}

.variant-choice-card strong {
  color: #073b30;
  font-size: 14px;
  font-weight: 700;
}

.variant-choice-card small {
  color: #0f7a5c;
  font-size: 13px;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.variant-choice-card .variant-stock-badge {
  min-height: 20px;
  padding: 0 7px;
  font-size: 10px;
}

.variant-choice-card:has(input:checked) {
  border-color: #0f7a5c;
  background: #dcfce7;
  box-shadow: 0 12px 28px rgba(15, 122, 92, .12);
}

.variant-picker-submit {
  width: 100%;
  min-height: 44px;
}
