:root {
  color-scheme: light;
  --ink: #061512;
  --muted: #58635f;
  --line: rgba(6, 21, 18, 0.12);
  --glass: rgba(255, 255, 255, 0.79);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --lime: #ddff38;
  --lime-dark: #7fa907;
  --date: #653426;
  --mint: #e5efea;
  --rose: #db4568;
  --deep: #063b38;
  --shadow: 0 22px 54px rgba(26, 43, 36, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: #edf4ee;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(220, 239, 230, 0.96), rgba(249, 250, 238, 0.98) 46%, rgba(229, 239, 235, 0.96)),
    linear-gradient(180deg, #edf6ef 0%, #f6f8ed 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.app-shell {
  min-height: 100vh;
  padding: 24px;
}

.page {
  width: min(1400px, 100%);
  margin: 0 auto;
}

.glass-card,
.glass-nav,
.cart-drawer,
.admin-card,
.login-card {
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 250, 246, 0.74)),
    var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(1.2);
}

.glass-nav {
  min-height: 66px;
  display: grid;
  grid-template-columns: 178px minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-color: rgba(255, 255, 255, 0.96);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 248, 0.86)),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(22, 45, 37, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #f6fff1;
  background: linear-gradient(145deg, #061512, #0a3a35);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(6, 21, 18, 0.18);
}

.brand-mark span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark.center {
  justify-content: center;
}

.search-pill {
  height: 44px;
  display: grid;
  grid-template-columns: 20px 1fr 36px;
  align-items: center;
  gap: 10px;
  padding: 0 6px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(18, 27, 24, 0.08),
    0 12px 24px rgba(28, 48, 40, 0.06);
}

.search-pill input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
}

.search-pill button,
.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #061512, #0b302c);
  position: relative;
  box-shadow: 0 10px 22px rgba(6, 21, 18, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.heart-link {
  color: var(--rose);
  background: rgba(255, 255, 255, 0.96);
}

.profile-pill {
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.account-pill {
  color: var(--ink);
}

.admin-link {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #f8fff3;
  background: linear-gradient(145deg, #061512, #0b302c);
  box-shadow: 0 10px 22px rgba(6, 21, 18, 0.16);
  font-size: 0.82rem;
  font-weight: 850;
}

.badge-dot {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  position: absolute;
  top: -4px;
  right: -5px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 18px;
}

.hero-card {
  min-height: 526px;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 38px;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 246, 0.86) 58%, rgba(255, 255, 255, 0.88)),
    var(--glass);
}

.hero-card::after,
.product-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5), transparent 38%),
    linear-gradient(0deg, rgba(222, 238, 229, 0.28), transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #4e5c57;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

.pill.subtle {
  color: var(--date);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(88, 58, 39, 0.08);
}

.hero-card h1 {
  max-width: 430px;
  margin: 24px 0 20px;
  font-size: 3.65rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-line {
  display: grid;
  grid-template-columns: auto minmax(48px, 130px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 470px;
  margin-bottom: 28px;
}

.hero-index {
  color: transparent;
  -webkit-text-stroke: 1px rgba(6, 21, 18, 0.45);
  font-size: 2.2rem;
  font-weight: 900;
}

.line {
  height: 1px;
  background: rgba(6, 21, 18, 0.22);
}

.hero-line strong {
  display: block;
  margin-bottom: 4px;
}

.hero-line p,
.shop-sidebar p,
.detail-panel p,
.stage-copy p {
  color: var(--muted);
  line-height: 1.5;
}

.lime-button,
.dark-button,
.soft-button,
.ghost-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 850;
}

.lime-button {
  color: var(--ink);
  background: linear-gradient(135deg, #edff76, var(--lime));
  box-shadow: 0 14px 28px rgba(138, 176, 8, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.lime-button:disabled,
.dark-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.lime-button.full {
  width: 100%;
}

.lime-button.compact {
  min-height: 36px;
  padding: 0 14px;
}

.soft-button.compact {
  min-height: 36px;
  padding: 0 12px;
}

.dark-button {
  color: #fff;
  background: linear-gradient(145deg, #061512, #0b302c);
  box-shadow: 0 12px 26px rgba(6, 21, 18, 0.22);
}

.soft-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 21, 18, 0.09);
  box-shadow: 0 10px 22px rgba(27, 45, 38, 0.06);
}

.soft-button.active {
  color: var(--rose);
}

.soft-button.danger,
.danger-icon {
  color: #b2233e;
}

.hero-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 70px rgba(45, 55, 46, 0.2);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  left: 38px;
  bottom: 30px;
  z-index: 2;
  color: #747d79;
  font-size: 0.8rem;
}

.social-row span:not(:first-child) {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #68716e;
  font-size: 0.65rem;
  font-weight: 900;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.palette-card,
.mini-promo,
.tall-promo {
  position: relative;
  overflow: hidden;
  padding: 18px;
  text-align: left;
}

.palette-card h2,
.product-teaser h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.swatches {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mini-promo,
.tall-promo,
.story-card {
  width: 100%;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 246, 0.88)),
    var(--glass-strong);
}

.mini-promo {
  min-height: 166px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46%;
  gap: 12px;
  align-items: center;
}

.mini-promo strong,
.tall-promo strong,
.story-card strong {
  display: block;
  max-width: 170px;
  font-size: 1.2rem;
  line-height: 1.06;
}

.mini-promo strong {
  max-width: none;
}

.mini-promo > span:first-child + span,
.tall-promo > span:last-child {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
  margin-bottom: 4px;
}

.mini-promo img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  right: auto;
  bottom: auto;
  grid-column: 2;
  grid-row: 1 / span 4;
}

.tall-promo {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tall-promo img {
  width: calc(100% + 36px);
  height: 180px;
  object-fit: cover;
  margin: -18px -18px 16px;
  border-radius: 8px 8px 0 0;
}

.arrow-corner {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.bottom-strip {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: 1.05fr 0.72fr 1.35fr;
  gap: 18px;
}

.promo-badge,
.coupon-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 950;
}

.promo-badge {
  color: #3e240c;
  background: linear-gradient(135deg, #f1ff86, var(--lime));
  box-shadow: inset 0 0 0 1px rgba(62, 36, 12, 0.1);
}

.coupon-chip {
  color: #fff;
  background: linear-gradient(145deg, #061512, #0a3935);
}

.product-teaser,
.metric-card,
.story-card {
  min-height: 162px;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.product-teaser p {
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.heart-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  position: absolute;
  right: 18px;
  top: 18px;
  border-radius: 50%;
  color: #f04b66;
  background: rgba(255, 255, 255, 0.9);
}

.heart-button.active {
  color: #fff;
  background: #f04b66;
}

.tiny-products {
  display: flex;
  gap: 12px;
}

.tiny-products button,
.avatar-stack img {
  border-radius: 8px;
  overflow: hidden;
}

.tiny-products img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.metric-card {
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(145deg, #071512, #0b544d 54%, #1769d1);
  box-shadow: 0 20px 46px rgba(6, 45, 41, 0.22);
}

.metric-card strong {
  font-size: 2.2rem;
}

.metric-card span,
.metric-card small {
  color: rgba(255, 255, 255, 0.82);
}

.metric-card small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff3a7;
}

.avatar-stack {
  display: flex;
  justify-content: center;
}

.avatar-stack img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  margin-left: -8px;
  border: 2px solid #fff;
}

.story-card {
  text-align: left;
}

.story-card img {
  width: 48%;
  height: 150px;
  object-fit: cover;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 8px 0 8px 0;
}

.story-card strong {
  margin-top: 18px;
}

.story-card small {
  position: absolute;
  right: 14px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #ad7d00;
  font-weight: 800;
}

.home-commerce-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.home-ad-card {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  grid-template-rows: 1fr auto;
  gap: 12px;
  overflow: hidden;
  position: relative;
  padding: 18px;
  text-align: left;
}

.home-ad-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  position: relative;
  right: auto;
  top: auto;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(34, 45, 39, 0.14);
}

.home-ad-card.deal {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(6, 21, 18, 0.98), rgba(7, 58, 52, 0.96) 58%, rgba(10, 35, 31, 0.98));
}

.home-ad-card.deal .home-ad-kicker,
.home-ad-card.deal p,
.home-ad-card.deal .home-ad-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.home-ad-card.deal img {
  opacity: 0.82;
}

.home-ad-copy {
  min-height: 150px;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 8px;
  max-width: none;
}

.home-ad-kicker {
  color: #596661;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-ad-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
}

.home-ad-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.ad-token-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.home-ad-footer {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.home-ad-footer span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.home-ad-footer strong {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #061512, #0b302c);
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(6, 21, 18, 0.2);
}

.home-ad-card.deal .home-ad-footer strong {
  color: var(--ink);
  background: linear-gradient(135deg, #edff76, var(--lime));
}

.shop-system {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.shop-sidebar,
.detail-panel,
.product-stage {
  min-height: 560px;
}

.shop-sidebar {
  padding: 22px;
}

.ghost-link {
  min-height: 36px;
  justify-content: flex-start;
  padding: 0;
  margin-bottom: 26px;
  color: var(--muted);
  background: transparent;
}

.shop-sidebar h1,
.detail-panel h2,
.stage-copy h2,
.panel-head h1 {
  margin: 0;
  letter-spacing: 0;
}

.shop-sidebar h1 {
  font-size: 2.25rem;
  line-height: 1;
}

.category-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.category-list button,
.admin-nav button,
.product-select {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 21, 18, 0.07);
  font-weight: 800;
  text-align: left;
}

.category-list button span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.category-list button.active,
.admin-nav button.active,
.product-select.active {
  background: linear-gradient(145deg, #061512, #0a3935);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(6, 21, 18, 0.18);
}

.product-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(232, 243, 236, 0.75)),
    var(--glass);
}

.stage-copy {
  position: relative;
  z-index: 2;
  max-width: 510px;
}

.stage-copy h2 {
  margin-top: 10px;
  font-size: 3rem;
  line-height: 1;
}

.stage-image-shell {
  width: min(660px, 92%);
  aspect-ratio: 4 / 3;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 34px 92px rgba(43, 57, 48, 0.22);
}

.stage-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-rings {
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(8, 17, 15, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -38%) rotate(-14deg);
}

.stage-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.stage-actions button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.detail-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: rgba(10, 17, 15, 0.88);
  color: #fff;
}

.detail-panel p,
.detail-panel .rating-row span {
  color: rgba(255, 255, 255, 0.72);
}

.detail-category {
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rating-row,
.buy-row,
.total-row,
.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rating-row {
  justify-content: flex-start;
  color: #fff3a7;
}

.note-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.note-list span {
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
}

.buy-row {
  margin-top: auto;
}

.buy-row strong {
  font-size: 2rem;
}

.stepper {
  height: 42px;
  display: inline-grid;
  grid-template-columns: 36px 38px 36px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.stepper button {
  height: 100%;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
}

.stepper span {
  text-align: center;
  font-weight: 900;
}

.stepper.small {
  height: 32px;
  grid-template-columns: 30px 32px 30px;
  background: rgba(8, 17, 15, 0.06);
}

.carousel-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(186px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding: 18px 2px 4px;
  scrollbar-width: thin;
}

.shop-product-card {
  min-height: 246px;
  display: grid;
  grid-template-rows: 132px auto auto auto;
  gap: 7px;
  padding: 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(48, 62, 54, 0.1);
  text-align: left;
}

.shop-product-card.active {
  outline: 2px solid var(--ink);
}

.shop-product-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 7px;
}

.shop-product-card span,
.shop-product-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 15, 0.32);
}

.cart-drawer {
  width: min(520px, 100%);
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(190px, 1fr) auto;
  gap: 14px;
  padding: 18px;
  background: rgba(249, 252, 248, 0.96);
}

.cart-drawer.full-view {
  width: min(1180px, calc(100% - 40px));
  height: calc(100% - 40px);
  top: 20px;
  right: 20px;
  border-radius: 12px;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 20px;
}

.cart-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-drawer header span {
  color: var(--muted);
  font-weight: 800;
}

.cart-drawer h2 {
  margin: 2px 0 0;
}

.cart-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-button.dark {
  color: #fff;
  background: var(--ink);
}

.icon-button.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.08), 0 10px 20px rgba(6, 21, 18, 0.08);
}

.cart-main-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  gap: 14px;
}

.cart-drawer.full-view .cart-main-panel {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: start;
}

.cart-lines {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding-right: 2px;
}

.cart-line {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.cart-line img {
  width: 112px;
  height: 136px;
  object-fit: cover;
  border-radius: 7px;
}

.rich-cart-line {
  position: relative;
  min-height: 138px;
  border: 1px solid rgba(6, 21, 18, 0.06);
}

.cart-line-media {
  align-self: start;
}

.cart-line-media img {
  height: 136px;
}

.cart-line-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding-right: 34px;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  margin: 0;
  color: var(--muted);
}

.cart-line-body > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-drawer.full-view .cart-line {
  grid-template-columns: 158px 1fr;
  min-height: 186px;
}

.cart-drawer.full-view .cart-line img,
.cart-drawer.full-view .cart-line-media img {
  width: 158px;
  height: 170px;
}

.remove-cart-item {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  color: var(--rose);
}

.cart-line-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cart-line-meta span {
  margin: 0;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(6, 21, 18, 0.05);
  color: #596762;
  font-size: 0.68rem;
  font-weight: 850;
}

.cart-line-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-line-foot > strong {
  font-size: 1rem;
}

.cart-details-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 10px;
  max-height: 42vh;
  overflow-y: auto;
  padding-right: 2px;
}

.cart-drawer.full-view .checkout-form,
.cart-drawer.full-view .checkout-auth-gate {
  max-height: calc(100vh - 118px);
  position: sticky;
  top: 0;
  align-self: start;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 850;
}

.checkout-account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #0d312c;
  background: rgba(221, 255, 56, 0.34);
  box-shadow: inset 0 0 0 1px rgba(127, 169, 7, 0.18);
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-auth-gate {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 246, 239, 0.84)),
    rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.08), 0 18px 42px rgba(26, 43, 36, 0.12);
}

.checkout-auth-gate > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f9fff3;
  background: var(--ink);
}

.checkout-auth-gate h3,
.checkout-auth-gate p {
  margin: 0;
}

.checkout-auth-gate p,
.checkout-auth-gate small {
  color: var(--muted);
  line-height: 1.5;
}

.checkout-section-toggle {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 5px 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.07);
  text-align: left;
}

.checkout-section-toggle > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 950;
}

.checkout-section-toggle small {
  grid-column: 1 / 2;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-section-toggle svg:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  transition: transform 160ms ease;
}

.checkout-section-toggle.open svg:last-child {
  transform: rotate(90deg);
}

.checkout-section-toggle.slim {
  padding: 10px 12px;
}

.checkout-section-body {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.05);
}

.checkout-hint {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.save-address-check {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(6, 21, 18, 0.11);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 11px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-login {
  min-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  place-items: center;
  padding: 34px;
  text-align: center;
}

.login-card h1 {
  margin: 0;
  font-size: 2.1rem;
}

.form-error {
  margin: 0;
  color: #b2233e;
  font-weight: 800;
}

.form-error.neutral {
  color: var(--muted);
}

.admin-page {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
}

.admin-nav {
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  position: sticky;
  top: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 244, 0.84)),
    var(--glass);
}

.admin-nav .brand-mark {
  margin-bottom: 18px;
}

.admin-workspace {
  min-width: 0;
}

.panel-head {
  margin-bottom: 18px;
}

.panel-head span {
  color: #52605b;
  font-weight: 850;
}

.panel-head h1 {
  margin-top: 4px;
  font-size: 2.4rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-card {
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.86)),
    var(--glass);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.metric-tile {
  min-height: 132px;
  display: grid;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.94);
}

.metric-tile > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #061512, #0b3935);
  box-shadow: 0 12px 24px rgba(6, 21, 18, 0.18);
}

.metric-tile svg {
  width: 19px;
  height: 19px;
}

.metric-tile small,
.mini-row small {
  color: var(--muted);
  font-weight: 800;
}

.metric-tile strong {
  font-size: 1.8rem;
  color: var(--deep);
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid var(--line);
}

.empty-text {
  color: var(--muted);
}

.products-admin {
  grid-template-columns: 310px minmax(0, 1fr);
}

.product-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

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

.admin-list-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-search-field {
  min-height: 42px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(6, 21, 18, 0.08);
}

.admin-search-field input {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.product-select {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.product-select img {
  width: 48px;
  height: 48px;
  grid-row: 1 / 3;
  object-fit: cover;
  border-radius: 7px;
}

.product-select small {
  opacity: 0.72;
}

.editor-card,
.settings-form,
.data-tools {
  display: grid;
  gap: 12px;
}

.editor-head,
.inline-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.danger-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(178, 35, 62, 0.08);
}

.danger-icon:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

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

label {
  display: grid;
  gap: 6px;
  color: #4f5c58;
  font-size: 0.84rem;
  font-weight: 850;
}

.check-label {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(6, 21, 18, 0.06);
}

.check-label input {
  width: auto;
}

.inline-form,
.category-create-form {
  margin-bottom: 16px;
}

.inline-form input[type="color"],
.category-card input[type="color"],
.category-create-form input[type="color"] {
  width: 54px;
  min-width: 54px;
  padding: 4px;
}

.category-create-form {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(160px, 0.8fr) minmax(220px, 1.4fr) auto auto;
  gap: 10px;
  align-items: center;
}

.category-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(6, 21, 18, 0.06);
}

.category-card-head {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.category-card-head strong,
.category-card-head small {
  display: block;
}

.category-card-head small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 850;
}

.category-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.category-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.7fr);
  gap: 10px;
}

.category-fields label:nth-child(3) {
  grid-column: 1 / -1;
}

.category-fields textarea {
  min-height: 74px;
}

.editor-section {
  display: grid;
  gap: 12px;
}

.media-manager {
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.image-upload-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(6, 21, 18, 0.07);
}

.image-upload-card img,
.upload-placeholder {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(232, 239, 234, 0.9);
}

.upload-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.image-upload-card strong,
.image-upload-card small {
  display: block;
}

.image-upload-card small {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}

.image-upload-card input[type="file"] {
  display: none;
}

.image-upload-card > input {
  grid-column: 1 / -1;
}

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

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

.gallery-thumb {
  display: grid;
  gap: 6px;
  position: relative;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 21, 18, 0.08);
  text-align: left;
}

.gallery-thumb.active {
  border-color: rgba(6, 59, 56, 0.48);
  box-shadow: 0 12px 26px rgba(6, 21, 18, 0.1);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  border-radius: 7px;
}

.gallery-thumb span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.gallery-thumb b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 6px;
  right: 6px;
  border-radius: 50%;
  color: #b2233e;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
}

.compact-upload {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 132px;
  text-align: center;
}

.compact-upload > input {
  display: none;
}

.admin-mini-layer {
  display: grid;
  place-items: center;
  padding: 22px;
}

.admin-mini-modal {
  width: min(960px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 247, 0.94));
  box-shadow: 0 30px 76px rgba(6, 21, 18, 0.28);
}

.admin-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-mini-head span {
  color: var(--muted);
  font-weight: 900;
}

.admin-mini-head h2 {
  margin: 4px 0 0;
  font-size: 2rem;
  line-height: 1;
}

.admin-mini-form {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.compact-admin-form {
  grid-template-columns: 240px minmax(0, 1fr);
}

.admin-mini-preview {
  display: grid;
  gap: 9px;
  align-content: start;
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(6, 21, 18, 0.98), rgba(7, 50, 46, 0.96) 62%, rgba(10, 31, 28, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-mini-preview img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 8px;
}

.admin-mini-preview strong {
  font-size: 1.25rem;
  line-height: 1.08;
}

.admin-mini-preview span,
.admin-mini-preview small,
.admin-mini-preview em {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  line-height: 1.35;
}

.admin-mini-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.category-preview-card,
.coupon-preview-card {
  min-height: 220px;
  place-items: start;
}

.category-dot.large {
  width: 48px;
  height: 48px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.coupon-preview-card > span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, #edff76, var(--lime));
  font-size: 1.45rem;
  font-weight: 950;
}

.home-editor {
  display: grid;
  gap: 10px;
}

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

.home-editor-head > span {
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--date);
  background: rgba(221, 255, 56, 0.5);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: capitalize;
}

.home-editor > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 7px;
}

.order-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.order-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.order-column h3 {
  margin: 0;
  text-transform: capitalize;
}

.order-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.order-card small {
  color: var(--muted);
  line-height: 1.4;
}

.data-tools textarea {
  min-height: 450px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.list-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 243, 0.86)),
    var(--glass);
}

.list-hero h1 {
  margin: 14px 0 8px;
  font-size: 3rem;
  line-height: 1;
}

.list-hero p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.list-hero-stats {
  display: grid;
  gap: 10px;
  min-width: 250px;
}

.list-hero-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #46524e;
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
  font-weight: 850;
}

.active-offer-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: -2px 0 18px;
  padding: 14px 16px;
}

.active-offer-band span,
.active-offer-band small {
  color: var(--muted);
  font-weight: 850;
}

.active-offer-band span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.active-offer-band code {
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(145deg, #061512, #0a3935);
  font-weight: 950;
}

.list-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.list-filters {
  position: sticky;
  top: 24px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.84)),
    var(--glass);
}

.product-list-section {
  display: grid;
  gap: 16px;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 250, 247, 0.82)),
    var(--glass);
}

.list-toolbar div {
  display: grid;
  gap: 3px;
}

.list-toolbar span {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-grid-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grocery-product-card {
  min-height: 394px;
  display: grid;
  grid-template-rows: 152px auto minmax(46px, auto) auto auto auto 50px 36px;
  gap: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 245, 0.9)),
    var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px rgba(34, 51, 43, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.grocery-product-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 154px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(237, 246, 240, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(6, 21, 18, 0.05);
}

.grocery-product-card > img {
  width: 100%;
  height: 152px;
  object-fit: contain;
  border-radius: 8px;
  padding: 8px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 15px 18px rgba(40, 45, 38, 0.16));
}

.grocery-product-card > *:not(img):not(.heart-button) {
  position: relative;
  z-index: 2;
}

.grocery-product-card .heart-button {
  position: absolute;
  z-index: 3;
}

.grocery-product-card h2 {
  min-height: 44px;
  margin: 2px 6px 0;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.16;
}

.grocery-product-card p {
  margin: 0;
  color: #707d77;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.aisle-chip {
  width: fit-content;
  justify-self: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(221, 255, 56, 0.62);
  color: #4c261c;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(76, 38, 28, 0.08);
}

.list-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #ad7d00;
  font-size: 0.8rem;
}

.list-rating span {
  color: var(--muted);
  font-weight: 750;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
}

.card-price-row strong {
  color: var(--deep);
  font-size: 1.82rem;
  line-height: 1;
}

.card-price-row small {
  color: #8b928e;
  text-decoration: line-through;
  font-weight: 800;
}

.quantity-ribbon {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 4px;
  border-radius: 8px;
  background: rgba(247, 250, 246, 0.94);
  border: 1px solid rgba(6, 21, 18, 0.12);
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(6, 21, 18, 0.06);
}

.quantity-ribbon.active {
  grid-template-columns: 46px 1fr 46px;
  background: linear-gradient(135deg, #dfff67, #9fd734);
  border-color: rgba(6, 59, 56, 0.28);
  box-shadow: 0 10px 22px rgba(105, 147, 25, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.quantity-ribbon button {
  height: 100%;
  display: grid;
  place-items: center;
  color: #073b38;
  background: transparent;
  font-weight: 900;
}

.quantity-ribbon.active button {
  margin: 0;
  border-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
}

.quantity-ribbon.active button:first-child {
  border-right: 1px solid rgba(7, 59, 56, 0.26);
}

.quantity-ribbon.active button:last-child {
  border-left: 1px solid rgba(7, 59, 56, 0.26);
}

.quantity-ribbon .add-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quantity-ribbon .add-wide::after {
  content: "Add";
  font-size: 0.86rem;
  font-weight: 950;
}

.quantity-ribbon span {
  text-align: center;
  color: #073b38;
  font-size: 1.5rem;
  font-weight: 900;
}

.buy-now-mini {
  min-height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #061512, #0b302c);
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(6, 21, 18, 0.2);
}

.buy-now-mini:disabled,
.quantity-ribbon button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.list-heart {
  z-index: 3;
  top: 12px;
  right: 12px;
}

.empty-list-state {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.empty-list-state p {
  color: var(--muted);
}

.quick-add-layer {
  display: grid;
  place-items: center;
  padding: 22px;
}

.quick-add-modal {
  width: min(980px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 290px;
  gap: 18px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 247, 0.94));
  box-shadow: 0 30px 76px rgba(6, 21, 18, 0.28);
}

.quick-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
}

.quick-add-media {
  display: grid;
  align-content: start;
  gap: 10px;
}

.quick-add-media > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(34, 45, 39, 0.16);
}

.quick-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 7px;
}

.quick-add-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-right: 12px;
}

.quick-add-copy h2 {
  margin: 0;
  max-width: 520px;
  font-size: 2.35rem;
  line-height: 1;
}

.quick-add-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quick-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quick-proof-grid span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  padding: 8px 10px;
  color: #4d5a56;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(6, 21, 18, 0.06);
  font-size: 0.82rem;
  font-weight: 850;
}

.quick-notes span {
  color: var(--deep);
  background: rgba(221, 255, 56, 0.32);
  border: 1px solid rgba(6, 59, 56, 0.08);
}

.quick-add-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(6, 21, 18, 0.98), rgba(7, 50, 46, 0.96) 62%, rgba(10, 31, 28, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.quick-add-panel label,
.quick-add-panel .buy-row span {
  color: rgba(255, 255, 255, 0.74);
}

.quick-add-panel select {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.quick-add-panel option {
  color: var(--ink);
}

.quick-add-panel .price-stack small {
  color: rgba(255, 255, 255, 0.58);
}

.quick-total-card {
  display: grid;
  gap: 5px;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-total-card span,
.quick-total-card small {
  color: rgba(255, 255, 255, 0.68);
}

.quick-total-card strong {
  font-size: 1.65rem;
}

.filter-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 21, 18, 0.06);
}

.filter-panel > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.filter-panel label {
  color: var(--muted);
}

.category-list button.depth-1 {
  padding-left: 24px;
}

.category-list button.depth-2,
.category-list button.depth-3 {
  padding-left: 40px;
  font-size: 0.9rem;
}

.breadcrumb-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.breadcrumb-row button,
.breadcrumb-row a {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #52605b;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.05);
}

.breadcrumb-row.detail {
  margin: 0 0 14px;
}

.variant-picker {
  color: rgba(255, 255, 255, 0.74);
}

.variant-picker select,
.detail-panel select {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.variant-picker option,
.detail-panel option,
.purchase-card option {
  color: var(--ink);
}

.trust-grid {
  display: grid;
  gap: 8px;
}

.trust-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.buy-row small,
.price-stack small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  font-weight: 800;
}

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

.open-purchase-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, var(--lime));
  font-weight: 900;
}

.coupon-row {
  display: grid;
  gap: 6px;
}

.coupon-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.checkout-totals {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.checkout-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-totals span {
  color: var(--muted);
}

.checkout-totals .grand-total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.summary-line {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.summary-line small {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.checkout-direct {
  background: rgba(247, 252, 245, 0.98);
}

.auth-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 15, 0.4);
  backdrop-filter: blur(8px);
}

.auth-modal {
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  position: relative;
  display: grid;
  gap: 16px;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(239, 248, 242, 0.9)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 80px rgba(6, 21, 18, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(1.15);
}

.auth-modal.wide {
  width: min(760px, 100%);
}

.auth-head,
.auth-account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.auth-head h2 {
  margin: 4px 0 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(6, 21, 18, 0.06);
}

.auth-tabs button {
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.auth-tabs button.active {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 10px 22px rgba(127, 169, 7, 0.18);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.input-with-icon {
  min-height: 46px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(6, 21, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
}

.input-with-icon input {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.auth-link-button {
  justify-self: center;
  color: var(--deep);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 850;
}

.captcha-card {
  display: grid;
  grid-template-columns: 1fr minmax(92px, 0.55fr) 36px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(6, 21, 18, 0.06);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

.captcha-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.captcha-card strong {
  font-size: 1.15rem;
}

.captcha-card input {
  min-width: 0;
}

.verification-ticket {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(221, 255, 56, 0.26);
  box-shadow: inset 0 0 0 1px rgba(127, 169, 7, 0.18);
}

.verification-ticket > span,
.auth-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f8fff4;
  background: var(--ink);
}

.verification-ticket strong,
.verification-ticket p {
  margin: 0;
}

.verification-ticket p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.verification-ticket code {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 950;
}

.auth-account-card {
  align-items: flex-start;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.08);
}

.auth-account-card div {
  flex: 1;
  min-width: 0;
}

.auth-account-card h3,
.auth-account-card p {
  margin: 0;
}

.auth-account-card p,
.auth-account-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.account-settings {
  display: grid;
  gap: 16px;
}

.account-phone-form {
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

.address-book-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.address-book-head h3,
.address-book-head p {
  margin: 0;
}

.address-book-head p {
  color: var(--muted);
  font-size: 0.86rem;
}

.address-book-head > span,
.default-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.address-list {
  display: grid;
  gap: 10px;
}

.address-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

.address-card.default {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(221, 255, 56, 0.2));
}

.address-card strong,
.address-card span,
.address-card p {
  display: block;
}

.address-card span,
.address-card p {
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.4;
}

.address-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.address-form {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

.address-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.product-page {
  padding-bottom: 30px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.35fr) 330px;
  gap: 18px;
  align-items: start;
}

.gallery-card,
.product-info-card,
.purchase-card,
.related-band {
  padding: 22px;
}

.gallery-card,
.product-info-card,
.related-band {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 247, 0.86)),
    var(--glass);
}

.gallery-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 54px rgba(34, 45, 39, 0.18);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb-row img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(34, 45, 39, 0.08);
}

.product-info-card h1 {
  margin: 18px 0 12px;
  font-size: 3.2rem;
  line-height: 1;
  max-width: 720px;
}

.product-info-card > p {
  color: var(--muted);
  line-height: 1.6;
}

.product-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.product-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #4e5c57;
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(6, 21, 18, 0.06);
}

.detail-tabs {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
  margin-top: 22px;
}

.detail-tabs article {
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(6, 21, 18, 0.06);
}

.detail-tabs h3 {
  margin: 0 0 10px;
}

.detail-tabs ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.review-line {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 10px 0 0;
}

.review-line:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.review-line span,
.review-line p {
  margin: 0;
  color: var(--muted);
}

.purchase-card {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(155deg, rgba(6, 21, 18, 0.98), rgba(7, 50, 46, 0.96) 62%, rgba(10, 31, 28, 0.98));
  color: #fff;
  box-shadow: 0 28px 62px rgba(6, 21, 18, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.purchase-card > span {
  color: var(--lime);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.purchase-card label,
.purchase-card .buy-row span {
  color: rgba(255, 255, 255, 0.72);
}

.purchase-card select {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.price-stack strong {
  font-size: 2.4rem;
  letter-spacing: 0;
}

.related-band {
  margin-top: 18px;
}

.related-band h2 {
  margin: 0 0 14px;
}

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

.related-grid a {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(6, 21, 18, 0.06);
}

.related-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
}

.related-grid span {
  color: var(--muted);
  font-weight: 850;
}

.open-purchase-modal {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  position: absolute;
  left: 50%;
  top: 18px;
  translate: -50% 0;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 247, 0.96));
  box-shadow: 0 28px 70px rgba(6, 21, 18, 0.24);
}

.open-purchase-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.open-purchase-modal header span {
  color: var(--muted);
  font-weight: 900;
}

.open-purchase-modal h2 {
  margin: 3px 0 0;
}

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

.custom-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(145deg, #061512, #0a3935);
  color: #fff;
}

.custom-estimate span {
  color: rgba(255, 255, 255, 0.72);
}

.custom-estimate strong {
  font-size: 1.8rem;
}

.marketing-head {
  margin-bottom: 16px;
}

.marketing-head h3,
.marketing-head p {
  margin: 0;
}

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

.coupon-card .soft-button {
  grid-column: 1 / -1;
}

.coupon-card .check-label {
  align-self: end;
}

@media (max-width: 1180px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 310px;
    margin-top: 18px;
  }

  .shop-system {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .product-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .quick-add-modal {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }

  .quick-add-panel {
    grid-column: 1 / -1;
  }

  .admin-mini-form,
  .compact-admin-form {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .purchase-card {
    grid-column: 1 / -1;
    position: static;
  }

  .metric-grid,
  .admin-grid.three,
  .related-grid,
  .home-commerce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .app-shell {
    padding: 14px;
  }

  .glass-nav {
    grid-template-columns: 1fr auto;
  }

  .search-pill {
    grid-column: 1 / -1;
    order: 3;
  }

  .dashboard-grid,
  .bottom-strip,
  .shop-system,
  .list-hero,
  .list-layout,
  .product-detail-grid,
  .admin-page,
  .products-admin,
  .admin-grid,
  .admin-grid.two,
  .category-board,
  .media-manager,
  .category-create-form {
    grid-template-columns: 1fr;
  }

  .quick-add-modal {
    grid-template-columns: 1fr;
  }

  .quick-add-copy {
    padding-right: 0;
  }

  .side-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-card,
  .shop-sidebar,
  .product-stage {
    min-height: auto;
  }

  .admin-nav {
    min-height: auto;
    position: static;
  }

  .list-filters {
    position: static;
  }

  .list-hero-stats {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .admin-nav .brand-mark {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .glass-nav {
    gap: 10px;
  }

  .brand-mark strong,
  .profile-pill span {
    display: none;
  }

  .admin-link {
    width: 38px;
    padding: 0;
    font-size: 0;
  }

  .admin-link::after {
    content: "A";
    font-size: 0.82rem;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-card h1,
  .stage-copy h2,
  .list-hero h1 {
    font-size: 2.35rem;
  }

  .hero-line {
    grid-template-columns: auto 1fr;
  }

  .hero-line .line {
    display: none;
  }

  .social-row {
    position: static;
    margin-top: 18px;
    flex-wrap: wrap;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .story-card img {
    opacity: 0.35;
  }

  .mini-promo {
    grid-template-columns: 1fr;
  }

  .mini-promo img {
    grid-column: 1;
    grid-row: auto;
  }

  .shop-sidebar h1,
  .panel-head h1 {
    font-size: 1.9rem;
  }

  .product-stage {
    padding: 18px;
  }

  .stage-image-shell {
    width: 100%;
  }

  .stage-rings {
    width: 300px;
    height: 300px;
  }

  .carousel-strip {
    grid-auto-columns: 170px;
  }

  .list-hero-stats,
  .product-grid-list {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .form-grid,
  .admin-nav,
  .admin-grid.three,
  .detail-tabs,
  .related-grid,
  .option-row,
  .coupon-card,
  .commerce-actions,
  .category-card,
  .category-fields,
  .home-commerce-grid,
  .active-offer-band {
    grid-template-columns: 1fr;
  }

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

  .home-ad-card {
    grid-template-columns: 1fr;
    min-height: 238px;
  }

  .home-ad-copy {
    max-width: none;
  }

  .home-ad-card img {
    width: 100%;
    height: 150px;
    grid-column: 1;
    grid-row: auto;
  }

  .product-info-card h1 {
    font-size: 2.2rem;
  }

  .quick-add-layer {
    padding: 12px;
  }

  .admin-mini-layer {
    padding: 12px;
  }

  .admin-mini-modal {
    max-height: calc(100vh - 24px);
    padding: 14px;
  }

  .admin-mini-head h2 {
    font-size: 1.7rem;
  }

  .admin-mini-preview img {
    aspect-ratio: 4 / 3;
  }

  .quick-add-modal {
    max-height: calc(100vh - 24px);
    padding: 14px;
  }

  .quick-add-media > img {
    aspect-ratio: 4 / 3;
  }

  .quick-thumb-row img {
    aspect-ratio: 1 / 0.7;
  }

  .quick-add-copy h2 {
    font-size: 2rem;
  }

  .quick-proof-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-drawer.full-view {
    width: 100%;
    height: 100%;
    inset: 0 0 auto auto;
    border-radius: 0;
  }

  .cart-drawer.full-view .cart-main-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(230px, 1fr) auto;
  }

  .cart-drawer.full-view .checkout-form,
  .cart-drawer.full-view .checkout-auth-gate {
    max-height: 42vh;
    position: static;
  }

  .cart-line,
  .cart-drawer.full-view .cart-line {
    grid-template-columns: 96px 1fr;
  }

  .cart-line img,
  .cart-line-media img,
  .cart-drawer.full-view .cart-line img,
  .cart-drawer.full-view .cart-line-media img {
    width: 96px;
    height: 126px;
  }

  .auth-layer {
    padding: 10px;
  }

  .auth-modal {
    max-height: calc(100vh - 20px);
    padding: 16px;
  }

  .auth-head h2 {
    font-size: 1.65rem;
  }

  .auth-account-card,
  .verification-ticket {
    grid-template-columns: 1fr;
  }

  .auth-account-card {
    flex-direction: column;
  }

  .account-phone-form,
  .address-card,
  .captcha-card {
    grid-template-columns: 1fr;
  }

  .address-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.toast-message {
  width: min(520px, calc(100% - 28px));
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 90;
  translate: -50% 0;
  padding: 14px 18px;
  text-align: center;
  font-weight: 850;
}

.category-list a,
.admin-nav a:not(.brand-mark) {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 21, 18, 0.07);
  font-weight: 800;
  text-align: left;
}

.category-list a span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.category-list a.active,
.admin-nav a.active:not(.brand-mark) {
  background: linear-gradient(145deg, #061512, #0a3935);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(6, 21, 18, 0.18);
}

.category-list a.depth-1 {
  padding-left: 24px;
}

.category-list a.depth-2,
.category-list a.depth-3 {
  padding-left: 40px;
  font-size: 0.9rem;
}

.grocery-product-card > a:first-of-type {
  display: contents;
}

.grocery-product-card > a:first-of-type img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 38px rgba(34, 45, 39, 0.14);
}

.quantity-ribbon form,
.stepper form {
  display: contents;
}

.qty-input {
  width: 92px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.checkout-auth-gate > svg,
.checkout-auth-gate > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f8fff3;
  background: var(--ink);
  padding: 10px;
}

.admin-card label,
.product-editor label,
.settings-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-card input,
.admin-card textarea,
.admin-card select,
.product-editor input,
.product-editor textarea,
.product-editor select,
.settings-form input,
.settings-form textarea,
.settings-form select,
.filter-panel input,
.filter-panel select,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.open-purchase-modal input,
.open-purchase-modal textarea,
.open-purchase-modal select {
  width: 100%;
  border: 1px solid rgba(6, 21, 18, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.purchase-card form {
  display: grid;
  gap: 12px;
}

.admin-product-head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-product-head img,
.home-card-editor img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.home-card-editor {
  display: grid;
  gap: 10px;
}

.quick-add-panel form {
  display: grid;
  gap: 12px;
}
