:root {
  --accent: #b83280;
  --ink: #1f1720;
  --muted: #756b75;
  --surface: #ffffff;
  --line: #eee7ee;
  --product-retail-accent: var(--accent);
  --product-wholesale-accent: #3976d9;
  --product-promotional-accent: #c77b22;
  --product-image-surface: #f1edf2;
}

html {
  font-size: 15px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #faf8fb;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

a {
  color: var(--accent);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.shop-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-right: 1rem;
  color: var(--ink);
}

.shop-brand:hover {
  color: var(--accent);
}

.shop-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.shop-brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.shop-name {
  max-width: 230px;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-phone-mobile {
  display: none;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
}

.shop-contact-details {
  min-width: 0;
  display: none;
  align-items: center;
  gap: .8rem;
  margin-right: 1rem;
  color: var(--muted);
  font-size: .78rem;
}

.shop-contact-item {
  max-width: 210px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.shop-contact-item:hover {
  color: var(--accent);
}

.navbar-actions {
  flex-shrink: 0;
}

.nav-cart-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .65rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.nav-cart-link:hover,
.nav-cart-link.active {
  color: var(--accent);
  background: #f5eef4;
}

.cart-toast-container {
  z-index: 1090;
}

[data-cart-toast].text-bg-danger .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.main-shell {
  min-height: calc(100vh - 118px);
}

.footer-strip {
  color: var(--muted);
  background: #fff;
  padding: 14px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.footer-logo {
  width: 34px;
  height: 34px;
}

.footer-app-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .8rem;
  font-size: .78rem;
  text-align: center;
}

.footer-about-link {
  justify-self: end;
  font-weight: 650;
  text-decoration: none;
}

.footer-about-link.active {
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 700;
}

.soft-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(31, 23, 32, .05);
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.stat-card .value {
  font-size: 1.7rem;
  font-weight: 800;
}

/* Management dashboard */
.dashboard {
  --dashboard-berry: var(--accent);
  --dashboard-ink: #28202a;
  --dashboard-muted: #7b717c;
  --dashboard-line: #eee8ee;
  max-width: 1680px;
  margin: 0 auto;
}

.dashboard-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.dashboard-symbols path,
.dashboard-symbols circle,
.dashboard-symbols rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.2), transparent 24%),
    linear-gradient(125deg, color-mix(in srgb, var(--accent) 78%, #301128), color-mix(in srgb, var(--accent) 43%, #251826));
  box-shadow: 0 20px 50px rgba(63, 25, 54, .18);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -65px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border: 55px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.dashboard-hero h1 {
  margin: .2rem 0 .35rem;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 820;
  letter-spacing: -.04em;
}

.dashboard-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
}

.dashboard-eyebrow {
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-review-btn {
  flex: 0 0 auto;
  padding: .72rem 1rem;
  border: 1px solid rgba(255,255,255,.55);
  color: var(--dashboard-ink);
  font-weight: 750;
  box-shadow: 0 8px 25px rgba(30, 14, 27, .16);
}

.dashboard-filter-card,
.dashboard-panel {
  border: 1px solid var(--dashboard-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(50, 33, 48, .055);
}

.dashboard-filter-card {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
}

.dashboard-filter-heading,
.dashboard-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-filter-heading {
  align-items: center;
  margin-bottom: .9rem;
}

.dashboard-filter-heading h2,
.dashboard-panel-heading h2 {
  margin: .1rem 0 0;
  color: var(--dashboard-ink);
  font-size: 1.05rem;
  font-weight: 780;
  letter-spacing: -.015em;
}

.dashboard-section-kicker {
  color: var(--accent);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dashboard-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .58rem;
  border: 1px solid #dceee8;
  border-radius: 999px;
  color: #27715f;
  background: #f4fbf8;
  font-size: .73rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-live-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35a184;
  box-shadow: 0 0 0 3px rgba(53, 161, 132, .12);
}

.dashboard-filter-form {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(145px, 1fr) minmax(145px, 1fr) auto;
  align-items: end;
  gap: .75rem;
}

.dashboard-filter-form.is-preset {
  grid-template-columns: minmax(160px, 1fr) auto;
}

.dashboard-filter-form .form-label {
  margin-bottom: .3rem;
  color: var(--dashboard-muted);
  font-size: .72rem;
  font-weight: 700;
}

.dashboard-filter-form .form-control,
.dashboard-filter-form .form-select {
  min-height: 42px;
  border-color: var(--dashboard-line);
  border-radius: 9px;
  font-size: .87rem;
}

.dashboard-apply-btn {
  min-height: 42px;
  border-radius: 9px;
  font-size: .86rem;
  font-weight: 720;
  white-space: nowrap;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.dashboard-kpi {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--dashboard-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(50, 33, 48, .045);
  transition: transform .18s ease, box-shadow .18s ease;
}

.dashboard-kpi::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--kpi-color, var(--accent));
  opacity: .8;
}

.dashboard-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 32px rgba(50, 33, 48, .09);
}

.dashboard-kpi--berry { --kpi-color: var(--accent); --kpi-soft: color-mix(in srgb, var(--accent) 10%, white); }
.dashboard-kpi--blue { --kpi-color: #3976d9; --kpi-soft: #edf4ff; }
.dashboard-kpi--amber { --kpi-color: #dc8b23; --kpi-soft: #fff6e9; }
.dashboard-kpi--green { --kpi-color: #16866f; --kpi-soft: #ebf8f4; }
.dashboard-kpi--violet { --kpi-color: #7764c7; --kpi-soft: #f1effb; }
.dashboard-kpi--red { --kpi-color: #ce5151; --kpi-soft: #fff0f0; }

.dashboard-kpi-icon {
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--kpi-color);
  background: var(--kpi-soft);
}

.dashboard-kpi-icon svg {
  width: 20px;
  height: 20px;
}

.dashboard-kpi-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-kpi-label {
  overflow: hidden;
  color: var(--dashboard-muted);
  font-size: .72rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-kpi-value {
  overflow: hidden;
  margin: .12rem 0 .05rem;
  color: var(--dashboard-ink);
  font-size: clamp(1.13rem, 2vw, 1.5rem);
  font-weight: 820;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-kpi-copy small {
  overflow: hidden;
  color: #9a929a;
  font-size: .65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-panel {
  padding: 1.15rem;
}

.dashboard-panel-heading {
  margin-bottom: 1rem;
}

.dashboard-panel-heading a {
  font-size: .78rem;
  font-weight: 720;
  text-decoration: none;
}

.dashboard-panel-note {
  color: #99909a;
  font-size: .7rem;
  white-space: nowrap;
}

.dashboard-chart {
  position: relative;
  min-height: 310px;
}

.dashboard-chart--wide {
  min-height: 330px;
}

.dashboard-chart--compact {
  min-height: 290px;
}

.dashboard-empty,
.dashboard-list-empty,
.dashboard-table-empty {
  color: #938a94;
  font-size: .84rem;
  text-align: center;
}

.dashboard-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px dashed #e7dfe7;
  border-radius: 12px;
  background: #fcfafc;
}

.dashboard-list-empty,
.dashboard-table-empty {
  padding: 2.5rem 1rem !important;
}

.dashboard-seller-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: .35rem .75rem;
  align-items: center;
  padding: .68rem 0;
  border-bottom: 1px solid #f1ebf1;
}

.dashboard-seller-row:last-child {
  border-bottom: 0;
}

.dashboard-seller-main {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  font-size: .79rem;
}

.dashboard-seller-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-seller-main span {
  flex: 0 0 auto;
  color: var(--dashboard-muted);
  font-size: .72rem;
}

.dashboard-seller-track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #f1eaf0;
}

.dashboard-seller-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #e9a8cf));
}

.dashboard-seller-row b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--accent);
  font-size: 1rem;
  text-align: right;
}

.dashboard-table {
  min-width: 680px;
  font-size: .79rem;
}

.dashboard-table thead th {
  padding: .65rem .55rem;
  border-bottom-color: var(--dashboard-line);
  color: #958b96;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.dashboard-table tbody td {
  padding: .72rem .55rem;
  border-color: #f2edf2;
}

.dashboard-table td strong,
.dashboard-table td small {
  display: block;
}

.dashboard-table td small {
  margin-top: .12rem;
  color: #a098a1;
  font-size: .65rem;
}

.dashboard-status {
  display: inline-flex;
  padding: .28rem .48rem;
  border-radius: 999px;
  color: #715b6d;
  background: #f6f0f5;
  font-size: .66rem;
  font-weight: 720;
  white-space: nowrap;
}

.dashboard-row-link {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, white);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-stock-panel {
  margin-bottom: .25rem;
}

.dashboard-stock-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: .65rem;
}

.dashboard-stock-grid > .dashboard-list-empty {
  grid-column: 1 / -1;
}

.dashboard-stock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
  padding: .75rem;
  border: 1px solid;
  border-radius: 11px;
}

.dashboard-stock-item.is-low { border-color: #f1dfbd; background: #fffbf3; }
.dashboard-stock-item.is-out { border-color: #f0cece; background: #fff7f7; }

.dashboard-stock-item > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-stock-item strong,
.dashboard-stock-item span,
.dashboard-stock-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-stock-item strong { font-size: .78rem; }
.dashboard-stock-item div span { color: var(--dashboard-muted); font-size: .7rem; }
.dashboard-stock-item small { color: #a199a2; font-size: .62rem; }

.dashboard-stock-count {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 .35rem;
  border-radius: 9px;
  color: #a46612;
  background: #fff0d4;
  font-size: .78rem;
  font-weight: 800;
}

.dashboard-stock-item.is-out .dashboard-stock-count {
  color: #ad3c3c;
  background: #ffe4e4;
}

@media (min-width: 576px) {
  .dashboard-stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .dashboard-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .dashboard-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dashboard-stock-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1600px) {
  .dashboard-kpi-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 17px;
  }

  .dashboard-review-btn { width: 100%; }
  .dashboard-filter-form,
  .dashboard-filter-form.is-preset { grid-template-columns: 1fr 1fr; }
  .dashboard-filter-form > :first-child,
  .dashboard-apply-btn { grid-column: 1 / -1; }
  .dashboard-live-badge { display: none; }
  .dashboard-chart,
  .dashboard-chart--wide,
  .dashboard-chart--compact { min-height: 280px; }
}

@media (max-width: 399.98px) {
  .dashboard-kpi-grid { grid-template-columns: 1fr; }
  .dashboard-filter-form,
  .dashboard-filter-form.is-preset { grid-template-columns: 1fr; }
  .dashboard-filter-form > *,
  .dashboard-apply-btn { grid-column: 1; }
}

.btn-accent {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #962768;
  --bs-btn-hover-border-color: #962768;
  --bs-btn-hover-color: #fff;
}

.shop-product-row > [class*="col-"] {
  min-width: 0;
}

#shopProductGrid {
  transition: opacity .18s ease;
}

#shopProductGrid[aria-busy="true"] {
  opacity: .58;
}

.product-card {
  --product-card-accent: var(--product-retail-accent);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(50, 33, 48, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 3px;
  background: var(--product-card-accent);
  opacity: .82;
  pointer-events: none;
}

.product-card--wholesale {
  --product-card-accent: var(--product-wholesale-accent);
}

.product-card--promotional {
  --product-card-accent: var(--product-promotional-accent);
}

.product-card:focus-within {
  border-color: color-mix(in srgb, var(--product-card-accent) 35%, var(--line));
  box-shadow: 0 13px 32px rgba(50, 33, 48, .09);
}

.product-card-media {
  position: relative;
  overflow: hidden;
  background: var(--product-image-surface);
}

.product-card-media-link {
  display: block;
  overflow: hidden;
  color: inherit;
}

.product-card-media-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--product-card-accent) 55%, white);
  outline-offset: -4px;
}

.product-card-image,
.product-photo {
  width: 100%;
  object-fit: cover;
  background: var(--product-image-surface);
}

.product-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform .32s ease;
}

.product-card-type-badge,
.product-card-discount-badge {
  position: absolute;
  top: .75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .28rem .58rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: .025em;
  box-shadow: 0 5px 16px rgba(31, 23, 32, .12);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card-type-badge {
  left: .75rem;
  color: #302730;
  background: rgba(255, 255, 255, .9);
}

.product-card-discount-badge {
  right: .75rem;
  color: #fff;
  background: color-mix(in srgb, var(--product-card-accent) 88%, #302730);
}

.product-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: .82rem .9rem .9rem;
}

.product-card-category {
  display: flex;
  min-width: 0;
  gap: .28rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-category span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-category span[aria-hidden="true"] {
  flex: 0 0 auto;
  overflow: visible;
}

.product-card-title {
  display: -webkit-box;
  min-height: 2.7rem;
  margin: .25rem 0 .32rem;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-description {
  display: -webkit-box;
  margin: 0 0 .45rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-card-options {
  align-self: flex-start;
  margin: 0 0 .5rem;
  padding: .26rem .5rem;
  border-radius: 7px;
  color: var(--muted);
  background: color-mix(in srgb, var(--product-card-accent) 7%, var(--surface));
  font-size: .72rem;
  font-weight: 650;
}

.product-card-commerce {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .65rem;
  margin-top: auto;
}

.product-card-price {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .18rem .4rem;
  font-variant-numeric: tabular-nums;
}

.product-card-price > span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 650;
  line-height: 1;
}

.product-card-price strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 820;
  white-space: nowrap;
}

.product-card-price del {
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}

.product-card-stock {
  flex: 0 0 auto;
  padding: .3rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 760;
  white-space: nowrap;
}

.product-card-stock.is-in-stock {
  color: #176a57;
  background: #e9f7f2;
}

.product-card-stock.is-out-of-stock {
  color: #a73d3d;
  background: #fceaea;
}

.product-card-actions {
  display: flex;
  align-items: stretch;
  gap: .55rem;
  margin-top: .72rem;
}

.product-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: .72rem;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 720;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.subscription-details dt,
.subscription-details dd {
  padding-top: .42rem;
  padding-bottom: .42rem;
  border-bottom: 1px solid var(--line);
}

.subscription-plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.subscription-plan-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--accent);
  opacity: .82;
}

.subscription-plan-card.is-current {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.subscription-plan-description {
  min-height: 2.5rem;
}

.subscription-plan-price {
  margin: .65rem 0 .15rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 820;
  letter-spacing: -.025em;
}

@media (hover: hover) and (pointer: fine) {
  .subscription-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 32px rgba(50, 33, 48, .09);
  }
}

@media (max-width: 575.98px) {
  .product-card-image { aspect-ratio: 16 / 10; }
  .product-card-actions .btn { min-height: 44px; }
}

.product-card-cart-form {
  flex: 1 1 auto;
  display: flex;
}

.product-card-cart-form .btn {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 34px rgba(50, 33, 48, .11);
  }

  .product-card:hover .product-card-image {
    transform: scale(1.035);
  }

  .product-card:hover .product-card-type-badge,
  .product-card:hover .product-card-discount-badge {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(31, 23, 32, .16);
  }

  .product-card-actions .btn:hover {
    transform: translateY(-1px);
  }
}

.product-details-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .75rem;
}

.product-details-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: .45rem;
  border-radius: 50%;
}

.product-details-return svg {
  width: 20px;
  height: 20px;
}

.variant-row {
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.variant-row:hover {
  background: color-mix(in srgb, var(--accent) 7%, #fff);
}

.variant-row:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: -3px;
}

.variant-row.is-selected {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  box-shadow: inset 4px 0 0 var(--accent);
}

.bundle-content-list {
  list-style: none;
  padding-left: 0;
}

.bundle-content-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 -.5rem;
  padding: .5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.bundle-content-item + .bundle-content-item {
  margin-top: .25rem;
}

.bundle-content-item:hover {
  background: color-mix(in srgb, var(--accent) 7%, #fff);
}

.bundle-content-item:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
}

.bundle-content-item.is-selected {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  box-shadow: inset 4px 0 0 var(--accent);
}

.bundle-content-copy {
  min-width: 0;
}

.variant-thumb,
.cart-item-thumb,
.editor-image-preview {
  object-fit: cover;
  background: #f1edf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.variant-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.cart-item-thumb {
  width: 54px;
  height: 64px;
}

.editor-image-preview {
  width: 88px;
  height: 88px;
}

.product-editor-section {
  scroll-margin-top: 1rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.variants-panel {
  padding: 1rem;
  background: #fbf9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.variant-editor-row {
  background: var(--surface);
}

[data-main-pricing]:disabled {
  background-color: #f1edf2;
  color: #746b75;
  cursor: not-allowed;
}

#productListContainer {
  transition: opacity .18s ease;
}

#productListContainer[aria-busy="true"] {
  opacity: .55;
}

.variant-selection-summary {
  min-height: 54px;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf8fb;
}

.variant-editor-row .form-label {
  margin-bottom: .25rem;
  font-size: .78rem;
  font-weight: 650;
}

.auth-panel {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(31, 23, 32, .08);
}

.auth-logo {
  width: 78px;
  height: 78px;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--accent) 16%, transparent) 0, transparent 32rem),
    linear-gradient(145deg, #fcfafc 0%, #f4edf3 100%);
}

.auth-shell {
  min-height: 100vh;
  width: 100%;
  padding: 2.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.auth-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
}

.auth-brand:hover {
  color: var(--ink);
}

.auth-shop-logo,
.auth-logo-fallback {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(31, 23, 32, .09);
}

.auth-logo-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-color: transparent;
  font-size: 2rem;
  font-weight: 800;
}

.auth-shop-name {
  max-width: min(90vw, 520px);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 750;
}

.auth-panel {
  width: min(100%, 780px);
  margin: 0 auto;
}

.auth-panel-wide {
  max-width: 820px;
}

.auth-panel-login {
  max-width: 480px;
}

.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--muted);
  background: #f4f0f4;
  font-size: 1.5rem;
  line-height: 1;
}

.auth-close:hover {
  color: var(--ink);
  background: #ece5ec;
}

.auth-eyebrow {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.auth-panel .form-label {
  margin-bottom: .42rem;
  font-weight: 650;
}

.auth-panel .form-control {
  min-height: 46px;
  border-color: #ded5de;
}

.auth-panel textarea.form-control {
  min-height: 72px;
}

.auth-panel .form-control:focus,
.auth-panel .form-check-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--accent) 18%, transparent);
}

.auth-panel .validation-summary-valid,
.auth-panel .field-validation-valid {
  display: none !important;
}

.required-mark {
  color: #b42318;
}

.cart-quantity-control {
  width: 148px;
  flex-wrap: nowrap;
}

.cart-quantity-control .btn {
  min-width: 42px;
  min-height: 42px;
  padding-inline: .6rem;
  font-size: 1.1rem;
  line-height: 1;
}

.cart-quantity-control .cart-quantity {
  min-width: 58px;
  width: 58px;
  min-height: 42px;
  flex: 0 0 58px;
  padding-inline: .25rem;
  text-align: center;
  appearance: textfield;
}

.cart-quantity-control .cart-quantity::-webkit-inner-spin-button,
.cart-quantity-control .cart-quantity::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.cart-item-status {
  min-height: 1.25rem;
}

.cart-item-status.is-error {
  color: #b42318;
}

.table {
  vertical-align: middle;
}

.order-items-table {
  min-width: 520px;
  table-layout: fixed;
}

.order-item-description-column {
  width: 55%;
}

.order-item-quantity-column {
  width: 10%;
}

.order-item-money-column {
  width: 17.5%;
}

.order-totals {
  width: min(100%, 430px);
}

.order-totals dt,
.order-totals dd {
  margin-bottom: 0;
  padding-block: .35rem;
}

.order-money {
  font-variant-numeric: tabular-nums;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f3e7ef;
  color: #6f1f4d;
  padding: .25rem .6rem;
  font-weight: 700;
  font-size: .8rem;
}

.delivery-remarks {
  min-width: 220px;
  max-width: 380px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.delivery-remarks > * + * {
  margin-top: .25rem;
}

.delivery-remarks-text,
.delivery-remarks .remarks-value {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.package-print {
  max-width: 760px;
  margin: auto;
  background: #fff;
  padding: 2rem;
}

@media print {
  .top-nav,
  .footer-strip,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

@media (max-width: 575.98px) {
  .top-nav .navbar {
    padding-block: .55rem;
  }

  .shop-brand {
    max-width: calc(100vw - 122px);
    margin-right: .35rem;
  }

  .shop-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .shop-name {
    max-width: calc(100vw - 170px);
    font-size: .92rem;
  }

  .shop-phone-mobile {
    display: block;
    max-width: calc(100vw - 170px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem 1rem;
  }

  .footer-app-info {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    text-align: left;
  }

  .variant-table {
    min-width: 520px;
  }

  .variant-cart-form .form-control,
  .variant-cart-form .btn {
    min-height: 44px;
  }

  .auth-shell {
    justify-content: flex-start;
    padding: 1.25rem .75rem;
  }

  .auth-shop-logo,
  .auth-logo-fallback {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .auth-panel {
    padding: 1.25rem;
    border-radius: 12px;
  }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .shop-phone-mobile {
    display: block;
  }
}

@media (min-width: 1200px) {
  .shop-contact-details {
    display: flex;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .shop-contact-address {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #shopProductGrid,
  .product-card,
  .product-card-image,
  .product-card-type-badge,
  .product-card-discount-badge,
  .product-card-actions .btn {
    transition: none;
  }

  .product-card:hover,
  .product-card:hover .product-card-image,
  .product-card:hover .product-card-type-badge,
  .product-card:hover .product-card-discount-badge,
  .product-card-actions .btn:hover {
    transform: none;
  }
}
