:root {
  --green: #1f8f4a;
  --red: #b9232b;
  --red-dark: #74141b;
  --ink: #171312;
  --muted: #706765;
  --line: #eadeda;
  --paper: #fffaf7;
  --white: #ffffff;
  --gold: #d8a647;
  --shadow: 0 22px 60px rgba(38, 18, 12, 0.12);
  --radius: 8px;
}

/* Account and subscription redesign v32 */
.subscription-page {
  background: #f8f4ef;
}

.subscription-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 56px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.subscription-label,
.subscription-section-head > span,
.subscription-flow-copy > span,
.account-eyebrow,
.order-history-head > div > span,
.account-qr-head > span,
.verification-label {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.subscription-intro h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: 58px;
  line-height: 1;
  text-wrap: balance;
}

.subscription-intro > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.subscription-current {
  width: fit-content;
  min-height: 46px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(19, 133, 75, 0.24);
  border-radius: 8px;
  background: #eef8f2;
  color: var(--green);
  padding: 0 14px;
}

.subscription-current svg,
.subscription-offer li svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.subscription-offer {
  border-radius: 8px;
  background: #1b1614;
  color: #fff;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(38, 18, 12, 0.2);
}

.subscription-offer-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.subscription-offer-meta span {
  color: #d8ceca;
  font-weight: 800;
}

.subscription-offer-meta strong {
  color: #f1c96d;
  font-size: 40px;
  line-height: 1;
}

.subscription-offer h2 {
  margin: 24px 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.subscription-offer ul {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.subscription-offer li {
  display: flex;
  gap: 10px;
  color: #ece4df;
  line-height: 1.4;
}

.subscription-offer li svg {
  color: #f1c96d;
}

.subscription-offer .btn {
  width: 100%;
  min-height: 52px;
}

.subscription-offer-note {
  margin: 14px 0 0;
  color: #bfb4ae;
  font-size: 13px;
  text-align: center;
}

.subscription-value {
  padding-top: 48px;
  padding-bottom: 62px;
  border-top: 1px solid var(--line);
}

.subscription-section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.subscription-section-head h2,
.subscription-flow-copy h2 {
  margin: 10px 0 0;
  font-size: 40px;
  line-height: 1.05;
}

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

.subscription-benefit {
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: 22px 24px 0 0;
  box-shadow: none;
}

.subscription-benefit + .subscription-benefit {
  padding-left: 24px;
}

.subscription-benefit > span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.subscription-benefit h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.subscription-benefit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.subscription-flow {
  background: #1b1614;
  color: #fff;
}

.subscription-flow > .section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.subscription-flow-copy > span {
  color: #f1c96d;
}

.subscription-flow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subscription-flow-list li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.subscription-flow-list strong {
  color: #f1c96d;
  font-size: 13px;
}

.account-page {
  padding-top: 42px;
  padding-bottom: 64px;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.account-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f8f4a, #bd202c);
  color: #fff;
  box-shadow: 0 18px 38px rgba(38, 18, 12, .14);
  font-size: 32px;
  font-weight: 950;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-header h1 {
  margin: 8px 0 6px;
  font-size: 52px;
  line-height: 1;
}

.account-header p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.account-overview,
.account-qr-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(38, 18, 12, 0.07);
}

.account-overview {
  display: grid;
  align-content: start;
  gap: 30px;
}

.account-overview-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.account-overview-head > div {
  display: grid;
  gap: 10px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.account-overview-head > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.account-overview-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-overview-head strong:not(.status) {
  font-size: 20px;
}

.account-overview-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.account-overview-action p {
  margin: 0;
  color: var(--muted);
}

.account-qr-panel {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.account-qr-head {
  width: 100%;
  text-align: left;
}

.account-qr-head h2 {
  margin: 8px 0 18px;
  font-size: 24px;
}

.account-qr-panel .qr {
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.account-qr-panel > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.account-qr-empty {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.account-qr-empty svg,
.order-empty-icon svg,
.verification-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order-history {
  margin-top: 48px;
}

.order-history-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.order-history-head h2 {
  margin: 8px 0 0;
  font-size: 38px;
}

.order-history-head > strong {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.order-empty {
  min-height: 150px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.order-empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff2f0;
  color: var(--red);
}

.order-empty-icon svg {
  width: 26px;
  height: 26px;
}

.order-empty h3,
.order-empty p {
  margin: 0;
}

.order-empty p {
  margin-top: 6px;
  color: var(--muted);
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-record {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.order-record-head,
.order-record-body {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.order-record-head > div {
  display: grid;
  gap: 4px;
}

.order-record-head span {
  font-weight: 900;
}

.order-record-head time,
.order-record-body p {
  color: var(--muted);
}

.order-record-head > strong {
  font-size: 22px;
}

.order-record-body {
  align-items: end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.order-record-body p {
  max-width: 760px;
  margin: 0;
  line-height: 1.45;
}

.order-status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef8f2;
  color: var(--green);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
}

.verification-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
}

.verification-card {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 36px;
  box-shadow: 0 20px 54px rgba(38, 18, 12, 0.1);
  text-align: center;
}

.verification-card h1 {
  margin: 12px 0 8px;
  font-size: 38px;
}

.verification-card > p {
  margin: 0;
  color: var(--muted);
}

.verification-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.verification-icon.active {
  background: #e8f7ee;
  color: var(--green);
}

.verification-icon.inactive {
  background: #fff0f0;
  color: var(--red);
}

.verification-card dl {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  text-align: left;
}

.verification-card dl > div {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.verification-card dt {
  color: var(--muted);
}

.verification-card dd {
  margin: 0;
  font-weight: 900;
}

.verification-loading {
  width: 72px;
  height: 12px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eadfd9 25%, #bd202c 50%, #eadfd9 75%);
  background-size: 200% 100%;
  animation: verification-loading 1.1s linear infinite;
}

@keyframes verification-loading {
  to { background-position: -200% 0; }
}

@media (max-width: 980px) {
  .account-loyalty-grid {
    grid-template-columns: 1fr;
  }

  .subscription-shell,
  .subscription-flow > .section,
  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .subscription-shell {
    gap: 30px;
  }

  .subscription-intro h1 {
    font-size: 48px;
  }

  .account-qr-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .account-qr-head,
  .account-qr-panel > p {
    grid-column: 1;
  }

  .account-qr-panel .qr,
  .account-qr-empty {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .subscription-shell {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .subscription-intro h1 {
    font-size: 38px;
  }

  .subscription-intro > p {
    font-size: 17px;
  }

  .subscription-offer {
    padding: 22px;
  }

  .subscription-benefits {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .subscription-benefit,
  .subscription-benefit + .subscription-benefit {
    padding: 18px 0 0;
  }

  .subscription-section-head h2,
  .subscription-flow-copy h2 {
    font-size: 32px;
  }

  .account-header {
    align-items: start;
  }

  .account-identity {
    align-items: flex-start;
  }

  .account-avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 18px;
    font-size: 26px;
  }

  .account-header h1 {
    font-size: 36px;
  }

  .account-overview-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-overview-head > div,
  .account-overview-head > div:first-child {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 0 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .account-overview-action,
  .account-qr-panel,
  .order-empty,
  .order-record-head,
  .order-record-body {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-qr-panel {
    justify-items: center;
    text-align: center;
  }

  .account-qr-head,
  .account-qr-panel > p,
  .account-qr-panel .qr,
  .account-qr-empty {
    grid-column: 1;
    grid-row: auto;
  }

  .account-qr-head {
    text-align: left;
  }

  .club-progress-head,
  .club-progress-meta {
    display: grid;
    gap: 10px;
  }

  .club-progress-head strong {
    text-align: left;
  }

  .order-history {
    margin-top: 38px;
  }

  .order-empty {
    justify-items: start;
  }

  .order-record-body {
    align-items: start;
  }

  .verification-card {
    padding: 28px 20px;
  }

  .verification-card h1 {
    font-size: 30px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

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

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

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(234, 222, 218, 0.8);
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 178px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a,
.nav button,
.icon-button,
.btn {
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nav a:hover,
.nav button:hover,
.icon-button:hover {
  background: #f4ebe7;
  transform: translateY(-1px);
}

.nav a.nav-subscription {
  background: #fff2cf;
  color: #7a4a00;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(216, 166, 71, 0.35);
}

.nav a.nav-subscription:hover {
  background: var(--gold);
  color: #27170b;
}

.nav svg,
.toast-icon svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(185, 35, 43, 0.22);
}

.btn:hover {
  transform: translateY(-1px);
  background: #9e1d24;
}

.btn.secondary {
  background: var(--ink);
  box-shadow: none;
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.gold {
  background: var(--gold);
  color: #27170b;
  box-shadow: 0 12px 28px rgba(216, 166, 71, 0.24);
}

.menu-toggle {
  display: none;
  margin-left: auto;
}

.cart-badge {
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

main {
  flex: 1;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

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

.hero {
  width: min(1240px, calc(100% - 32px));
  min-height: 540px;
  margin: 0 auto;
  padding: 60px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
  position: relative;
}

.hero-showcase {
  width: min(1320px, calc(100% - 32px));
  min-height: 690px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  padding: 52px 0 42px;
  align-items: start;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  left: -2vw;
  right: -2vw;
  bottom: 0;
  height: 152px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(31, 143, 74, 0.1), rgba(185, 35, 43, 0.08)),
    #fffaf7;
  z-index: -2;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 14%;
  width: min(430px, 34vw);
  height: min(430px, 34vw);
  border: 1px solid rgba(185, 35, 43, 0.12);
  border-radius: 50%;
  z-index: -1;
}

.hero-copy p {
  max-width: 620px;
  font-size: 25px;
  line-height: 1.42;
  color: #564b48;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(64px, 6.4vw, 110px);
  line-height: 0.98;
}

.hero-showcase h1 {
  max-width: 840px;
  font-size: 78px;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-showcase .hero-copy {
  position: relative;
  min-height: 500px;
  padding-bottom: 118px;
}

.hero-minimal h1 {
  max-width: 820px;
  font-size: clamp(68px, 7vw, 118px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-minimal .brand-word {
  margin-top: 6px;
  text-shadow: 0 14px 30px rgba(185, 35, 43, 0.12);
}

.hero-minimal .hero-copy {
  position: relative;
}

.hero-minimal .hero-copy::after {
  content: "";
  display: block;
  width: 148px;
  height: 8px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

.hero-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #fff2f0;
  color: var(--red);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
}

.hero-showcase .hero-kicker {
  margin-bottom: 20px;
  background: #171312;
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 19, 18, 0.12);
}

.brand-word {
  display: inline-block;
  white-space: nowrap;
}

.brand-inline-logo {
  display: inline-block;
  width: auto;
  height: 0.82em;
  max-width: min(5.7em, 360px);
  margin-left: 0.08em;
  object-fit: contain;
  vertical-align: -0.06em;
}

.brand-word span:first-child {
  color: var(--green);
}

.brand-word span:last-child {
  color: #d0131b;
}

.hero-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-showcase .hero-actions {
  position: absolute;
  left: 24px;
  bottom: 22px;
  margin-top: 0;
  gap: 12px;
  padding: 8px;
  width: fit-content;
  border: 1px solid rgba(234, 222, 218, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(38, 18, 12, 0.1);
  backdrop-filter: blur(14px);
}

.hero-primary {
  min-height: 54px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 17px;
  box-shadow: 0 16px 34px rgba(185, 35, 43, 0.24);
}

.hero-accent {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(216, 166, 71, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
  color: #5a3300;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.hero-media {
  position: relative;
  min-height: 330px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  isolation: isolate;
}

.hero-showcase .hero-media {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 7% 0 0 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 35, 43, 0.12), rgba(255, 255, 255, 0) 60%);
  z-index: -1;
}

.hero-showcase[data-hero-tone="gold"] .hero-kicker {
  background: #7a4a00;
}

.hero-showcase[data-hero-tone="green"] .hero-kicker {
  background: var(--green);
}

.hero-showcase[data-hero-tone="gold"] .hero-media::before {
  background: radial-gradient(circle, rgba(216, 166, 71, 0.22), rgba(255, 255, 255, 0) 62%);
}

.hero-showcase[data-hero-tone="green"] .hero-media::before {
  background: radial-gradient(circle, rgba(31, 143, 74, 0.17), rgba(255, 255, 255, 0) 62%);
}

.hero-media::after {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(58, 24, 16, 0.14));
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-showcase .hero-media img {
  max-height: 440px;
  object-fit: contain;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(300px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.88);
  backdrop-filter: blur(14px);
  padding: 16px;
}

.hero-slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(38, 18, 12, 0.08);
}

.hero-showcase .hero-slider-controls {
  position: absolute;
  right: 300px;
  left: auto;
  bottom: 52px;
  z-index: 4;
  margin-top: 0;
  transform: none;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(38, 18, 12, 0.14);
}

.hero-slider-controls > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff7f3;
  color: var(--red);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hero-slider-controls > button:hover {
  transform: translateY(-1px);
  background: var(--red);
  color: #fff;
}

.hero-slider-controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-dots {
  display: inline-flex;
  gap: 7px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #dfd2ce;
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--red);
}

.hero-showcase[data-hero-tone="gold"] .hero-dots button.active {
  background: var(--gold);
}

.hero-showcase[data-hero-tone="green"] .hero-dots button.active {
  background: var(--green);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(38, 18, 12, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 35, 43, 0.24);
  box-shadow: 0 20px 44px rgba(38, 18, 12, 0.11);
}

.card-body {
  padding: 18px;
}

.card-tags,
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tags {
  min-height: 28px;
  margin-bottom: 10px;
}

.card-tags span,
.product-badges span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  background: #fff2f0;
  color: var(--red);
}

.product-badges {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  justify-content: space-between;
  z-index: 2;
}

.product-badges span {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(38, 18, 12, 0.1);
  backdrop-filter: blur(10px);
}

.category-card .card-body,
.product-card .card-body {
  display: grid;
}

.category-card .card-body {
  min-height: 190px;
}

.category-cta {
  min-height: 42px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(185, 35, 43, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card:hover .category-cta,
.category-cta:hover {
  transform: translateY(-2px);
  background: var(--ink);
  box-shadow: 0 16px 28px rgba(23, 19, 18, 0.22);
}

.category-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-tile {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #f4ebe7;
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .image-tile img {
  transform: scale(1.04);
}

.category-showcase-head {
  width: min(860px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.category-showcase-head span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  background: #fff2cf;
  color: #7a4a00;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
}

.category-showcase-head h2 {
  margin: 14px 0 10px;
  font-size: 48px;
  line-height: 1;
  text-wrap: balance;
}

.category-showcase-head p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.category-all-btn {
  margin: 22px auto 0;
  min-height: 54px;
  width: fit-content;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 19, 18, 0.18);
}

.category-all-btn:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.category-all-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantages-panel {
  padding: 44px 36px 38px;
  border-radius: 22px;
  background: #f3f3f3;
}

.advantages-panel .section-title {
  align-items: start;
  margin-bottom: 38px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 26px;
}

.advantage {
  display: grid;
  grid-template-rows: 78px 1fr;
  align-content: start;
  min-height: 205px;
  padding: 30px;
  border: 1px solid #ece6e3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(23, 19, 18, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.advantage:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 35, 43, 0.24);
  box-shadow: 0 18px 34px rgba(23, 19, 18, 0.12);
}

.advantage:hover .advantage-icon {
  animation: icon-bounce 0.7s ease both;
}

.advantage-icon {
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.advantage-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
}

.advantage h3 {
  margin: 0;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.08;
  white-space: nowrap;
}

.advantage p {
  font-size: 20px;
  line-height: 1.45;
}

.halal-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 3px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
  margin: 0 20px 0 0;
  text-align: center;
  line-height: 1.05;
}

.halal-mark span {
  font-size: 11px;
}

.halal-image {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.halal-guide {
  margin: -12px 0 30px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(23, 19, 18, 0.08);
}

.halal-guide img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

@keyframes icon-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-5px) scale(1.08);
  }
  70% {
    transform: translateY(2px) scale(0.98);
  }
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

.input,
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(185, 35, 43, 0.65);
  box-shadow: 0 0 0 4px rgba(185, 35, 43, 0.1);
}

.category-header {
  padding: 46px 0 26px;
  background: linear-gradient(120deg, #fffaf7 0%, #fff 45%, #f7e8df 100%);
  border-bottom: 1px solid var(--line);
}

.category-control-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(234, 222, 218, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 247, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 18px 45px rgba(38, 18, 12, 0.08);
}

.category-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  color: var(--muted);
}

.category-search:focus-within {
  border-color: rgba(185, 35, 43, 0.5);
  box-shadow: 0 0 0 5px rgba(185, 35, 43, 0.08);
}

.category-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-search input {
  min-height: 50px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.category-search input:focus {
  box-shadow: none;
}

.filter-meta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
}

.filter-meta strong {
  color: #fff;
  font-size: 20px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}

.chip {
  min-height: 44px;
  border: 1px solid rgba(234, 222, 218, 0.92);
  border-radius: 99px;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  padding: 0 14px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(38, 18, 12, 0.05);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 35, 43, 0.28);
  box-shadow: 0 14px 28px rgba(38, 18, 12, 0.09);
}

.chip.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(185, 35, 43, 0.22);
}

.reset-chip {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  padding: 0 16px;
}

.reset-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 42px;
  border: 1px solid rgba(185, 35, 43, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  padding: 0 15px 0 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(38, 18, 12, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.back-link:hover {
  transform: translateX(-3px);
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 28px rgba(185, 35, 43, 0.18);
}

.back-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.product-card h3 {
  min-height: 58px;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.12;
  transition: color 0.2s ease;
}

.product-card:hover h3 {
  color: var(--red);
}

.product-card .btn {
  width: 100%;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover .btn {
  transform: translateY(-2px);
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(23, 19, 18, 0.18);
}

.product-meta {
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
}

.product-foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.stepper {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stepper button {
  height: 42px;
  border: 0;
  background: #fff6f2;
  color: var(--red);
  font-size: 22px;
  cursor: pointer;
}

.stepper output {
  text-align: center;
  font-weight: 800;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.price {
  font-size: 22px;
  font-weight: 900;
}

.sub-price {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.sub-price a {
  color: var(--green);
  text-decoration: underline;
}

.subscription-page {
  background:
    linear-gradient(180deg, #fff 0%, #fffaf7 48%, #fff 100%);
}

.subscription-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: center;
  padding-top: 70px;
}

.subscription-copy h1 {
  max-width: 760px;
  font-size: 86px;
  line-height: 0.95;
  margin-bottom: 22px;
}

.subscription-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.subscription-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 166, 71, 0.36);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 4%, rgba(216, 166, 71, 0.24), transparent 38%),
    linear-gradient(180deg, #201816 0%, #14100f 100%);
  color: #fff;
  padding: 30px;
  box-shadow: 0 28px 70px rgba(38, 18, 12, 0.22);
}

.subscription-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.subscription-card-top span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0 13px;
  font-weight: 900;
}

.subscription-card-top strong {
  min-width: 132px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--gold);
  color: #27170b;
  display: grid;
  place-items: center;
  font-size: 16px;
  text-align: center;
}

.subscription-price {
  margin: 32px 0 14px;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.subscription-card p {
  color: #e7ded9;
  font-size: 18px;
}

.subscription-card .btn {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
}

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

.subscription-benefit {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(38, 18, 12, 0.07);
}

.subscription-benefit span {
  color: var(--red);
  font-weight: 900;
}

.subscription-benefit h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.subscription-benefit p {
  color: var(--muted);
}

.faq-section {
  background:
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-section .section-title {
  align-items: start;
  margin-bottom: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
  padding-top: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(38, 18, 12, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(185, 35, 43, 0.22);
  box-shadow: 0 18px 38px rgba(38, 18, 12, 0.09);
}

.faq-question {
  width: 100%;
  min-height: 72px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 16px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
  font-size: 21px;
  padding: 0 18px 0 24px;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--muted);
  transition: grid-template-rows 0.32s ease, padding 0.32s ease;
  font-size: 18px;
  line-height: 1.55;
}

.faq-answer > div {
  overflow: hidden;
  padding: 0 24px;
}

.faq-plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff2f0;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  padding: 0 0 22px;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
}

.footer {
  margin-top: auto;
  background: #171312;
  color: #fff;
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 240px minmax(170px, 0.7fr) minmax(280px, 1.3fr);
  align-items: start;
  column-gap: 36px;
  row-gap: 24px;
}

.footer a,
.footer button {
  color: #fff;
}

.footer .phone-link {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-list {
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

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

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

.footer-links a,
.footer-legal > a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  font-weight: 800;
  line-height: 1.25;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover,
.footer-legal > a:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.spoiler {
  grid-column: 1 / -1;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 10px;
  min-width: 0;
}

.spoiler summary {
  cursor: pointer;
  font-weight: 800;
  list-style-position: outside;
}

.spoiler p {
  margin: 10px 0 0;
  color: #d8ceca;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.cart-layout,
.account-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}

.cart-heading {
  margin-bottom: 34px;
}

.cart-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(50px, 8vw, 92px);
}

.cart-heading p {
  color: var(--muted);
  font-size: 20px;
}

.shop-cart {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  min-height: 260px;
}

.single-cart-list {
  min-height: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(190px, auto) 44px;
  gap: 28px;
  align-items: center;
  padding: 18px 22px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(38, 18, 12, 0.08);
}

.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff2ec;
}

.cart-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.cart-item-meta {
  color: var(--muted);
  font-size: 18px;
}

.cart-stepper {
  width: max-content;
  min-width: 190px;
  margin-top: 0;
  grid-template-columns: 50px 90px 50px;
  border-radius: 99px;
  background: #fff;
}

.cart-stepper button {
  height: 48px;
  font-size: 22px;
}

.cart-stepper output {
  padding: 0 16px;
  font-size: 18px;
  white-space: nowrap;
}

.cart-recommendations {
  margin-top: 34px;
}

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

.recommendation-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(38, 18, 12, 0.06);
}

.recommendation-card img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 14px;
}

.recommendation-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.recommendation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.recommendation-card .btn {
  grid-column: 1 / -1;
  min-height: 42px;
}

.cart-remove {
  width: 42px;
  height: 42px;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  color: var(--muted);
  display: inline-grid;
  place-items: center;
}

.cart-remove:hover {
  background: #fff2ec;
  color: var(--red);
}

.cart-remove svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-summary {
  padding: 24px;
}

.cart-summary h3 {
  font-size: 28px;
}

.cart-summary .btn {
  width: 100%;
  min-height: 56px;
  padding-left: 0;
  padding-right: 0;
}

.summary-rows {
  display: grid;
  gap: 13px;
  margin-top: 20px;
  font-size: 15px;
}

.summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.summary-rows strong {
  color: var(--ink);
}

.summary-divider {
  display: block !important;
  border-top: 1px dashed #d8d1ca;
  min-height: 1px;
}

.summary-total {
  align-items: baseline;
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 900;
}

.summary-total strong {
  font-size: 28px;
}

.promo-box {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.promo-box input {
  min-height: 48px;
  border: 0;
  border-radius: 0;
}

.promo-box button {
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  padding: 0 16px;
  cursor: pointer;
}

.empty-cart {
  padding: 34px;
}

.summary {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.blog-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(38, 18, 12, 0.07);
}

.blog-date {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.blog-hero {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 26px;
}

.blog-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
}

.blog-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.blog-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.video-box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #171312;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-content {
  max-width: 860px;
  font-size: 20px;
  line-height: 1.75;
}

.editor-large {
  min-height: 320px;
}

.auth-box {
  width: min(480px, calc(100% - 32px));
  margin: 54px auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 19, 18, .1);
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff3f1;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.auth-copy {
  margin: 10px 0 4px;
  color: #6f6360;
  font-size: 16px;
  line-height: 1.55;
}

.auth-note {
  display: block;
  margin-top: 2px;
  color: #827572;
  font-size: 13px;
  line-height: 1.45;
}

.auth-alert {
  margin-bottom: 18px;
  border: 1px solid rgba(185, 35, 43, 0.22);
  border-radius: 8px;
  background: #fff2f0;
  color: var(--red);
  padding: 12px 14px;
  font-weight: 900;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 50px;
}

.password-wrap button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 38px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.password-wrap button:hover {
  color: var(--red);
}

.password-wrap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qr {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 99px;
  padding: 0 10px;
  font-weight: 800;
  font-size: 13px;
  background: #f4ebe7;
}

.status.ok {
  color: #136d39;
  background: #eaf8ef;
}

.status.warn {
  color: #9e1d24;
  background: #fff2f0;
}

.admin-tabs {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.admin-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  padding: 0 12px;
}

.admin-tabs button.active {
  border-color: var(--red);
  color: var(--red);
  font-weight: 900;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-form .wide,
.wide {
  grid-column: 1 / -1;
}

.table-like {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-row img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0 10px;
}

.hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #171312;
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}

.toast.with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf8ef;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-cart {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  min-height: 56px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(185, 35, 43, 0.28);
  transition: transform 0.22s ease, background 0.22s ease;
}

.floating-cart:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--ink);
}

.floating-cart.cart-bump {
  animation: cart-bump 0.52s ease;
}

.floating-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.floating-cart svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-cart-count {
  position: absolute;
  right: -10px;
  top: -10px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0 5px;
  font-size: 11px;
}

@keyframes cart-bump {
  0% {
    transform: scale(1) rotate(0);
  }
  28% {
    transform: scale(1.14) rotate(-5deg);
  }
  58% {
    transform: scale(1.04) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .cart-layout,
  .account-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-showcase {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 96px;
  }

  .hero-showcase h1 {
    font-size: 58px;
  }

  .hero-showcase .hero-copy {
    min-height: 480px;
  }

  .hero-showcase .hero-actions {
    left: 50%;
    bottom: 92px;
    width: min(560px, 100%);
    transform: translateX(-50%);
  }

  .hero-showcase .hero-slider-controls {
    left: 50%;
    right: auto;
    bottom: 34px;
    transform: translateX(-50%);
  }

  .hero-media,
  .hero-media img {
    min-height: 320px;
  }

  .hero-showcase .hero-media {
    min-height: 320px;
  }

  .hero-showcase .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .summary,
  .admin-tabs {
    position: static;
  }

  .subscription-hero,
  .subscription-benefits,
  .shop-cart,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav button {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 34px;
    gap: 22px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.03;
  }

  .hero-showcase h1 {
    font-size: 40px;
  }

  .hero-showcase {
    padding-bottom: 54px;
  }

  .hero-showcase .hero-copy {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-minimal h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-slider-controls {
    margin-top: 20px;
  }

  .hero-showcase .hero-actions {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    justify-content: center;
    border-radius: 24px;
  }

  .hero-showcase .hero-slider-controls {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    margin: 8px auto 0;
  }

  .hero-primary,
  .hero-accent {
    flex: 1 1 180px;
  }

  .category-control-panel {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .subscription-copy h1 {
    font-size: 44px;
  }

  .subscription-copy p {
    font-size: 18px;
  }

  .subscription-card {
    padding: 24px;
    border-radius: 22px;
  }

  .subscription-price {
    font-size: 42px;
  }

  .subscription-benefits {
    grid-template-columns: 1fr;
  }

  .filter-meta {
    justify-content: center;
  }

  .hero-accent {
    min-height: 46px;
  }

  .category-showcase-head h2 {
    font-size: 34px;
  }

  .category-showcase-head p {
    font-size: 16px;
  }

  .advantages-panel {
    padding: 28px 16px;
    border-radius: 18px;
  }

  .advantages-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .advantage {
    min-height: auto;
    padding: 22px;
    grid-template-rows: auto 1fr;
  }

  .advantage-head {
    min-height: auto;
    margin-bottom: 18px;
  }

  .advantage h3 {
    font-size: 20px;
  }

  .advantage p {
    font-size: 16px;
  }

  .faq-list {
    padding-top: 20px;
  }

  .faq-question {
    min-height: 68px;
    font-size: 18px;
  }

  .faq-answer {
    font-size: 16px;
  }

  .search-panel,
  .footer-inner,
  .cart-item,
  .admin-form,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 28px;
  }

  .grid.cols-4,
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

  .cart-item img,
  .admin-row img {
    width: 100%;
    height: 180px;
  }

  .cart-heading h1 {
    font-size: 48px;
  }

  .cart-item {
    padding: 18px;
    gap: 16px;
  }

  .cart-remove {
    width: 44px;
    height: 44px;
    justify-self: end;
  }

  .cart-summary {
    padding: 22px;
  }

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

  .promo-box button {
    min-height: 44px;
  }

  .floating-cart {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 15px;
  }
}

/* Redesign layer v19 */
:root {
  --green: #13854b;
  --red: #bd202c;
  --red-dark: #7e151d;
  --ink: #161211;
  --muted: #756c68;
  --line: #eadfd9;
  --paper: #f8f4ef;
  --gold: #d9aa42;
  --shadow: 0 20px 55px rgba(38, 18, 12, 0.12);
  --radius: 14px;
}

body {
  background: var(--paper);
}

.site-header {
  border-bottom: 1px solid rgba(234, 223, 217, 0.74);
  background: rgba(255, 252, 249, 0.9);
  box-shadow: 0 10px 28px rgba(38, 18, 12, 0.05);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 70px;
}

.nav {
  gap: 4px;
}

.nav a,
.nav button,
.icon-button,
.btn {
  min-height: 40px;
  border-radius: 999px;
  gap: 7px;
  padding: 0 12px;
}

.nav svg {
  width: 16px;
  height: 16px;
}

.nav a.nav-subscription {
  background: #fff4d8;
  color: #4c2d05;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(217, 170, 66, 0.52), 0 10px 24px rgba(217, 170, 66, 0.2);
}

.nav a.nav-max {
  background: #eef6ff;
  color: #075db8;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(7, 93, 184, 0.18);
}

.section {
  width: min(1240px, calc(100% - 32px));
}

.hero-showcase {
  width: min(1240px, calc(100% - 32px));
  min-height: 640px;
  margin-top: 24px;
  padding: 44px 42px 170px;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 42px;
  border: 1px solid rgba(234, 223, 217, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 247, 0.9) 48%, rgba(245, 247, 241, 0.95) 100%);
  box-shadow: 0 24px 70px rgba(38, 18, 12, 0.08);
  overflow: hidden;
}

.hero-showcase::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 132px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(19, 133, 75, 0.13), rgba(255, 255, 255, 0.48) 45%, rgba(189, 32, 44, 0.1)),
    #f4f1ec;
}

.hero-showcase::after {
  right: 6%;
  top: 17%;
  width: 360px;
  height: 360px;
  border-color: rgba(189, 32, 44, 0.1);
}

.hero-showcase .hero-copy {
  min-height: 390px;
  padding-bottom: 0;
}

.hero-showcase .hero-kicker {
  min-height: 34px;
  margin-bottom: 20px;
  padding: 0 14px;
  border-radius: 999px;
  background: #211918;
  color: #fff;
  font-size: 13px;
}

.hero-showcase h1 {
  max-width: 600px;
  font-size: 70px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 600px;
  font-size: 22px;
  line-height: 1.42;
}

.hero-showcase .hero-media {
  min-height: 400px;
  align-self: center;
}

.hero-showcase .hero-media img {
  max-height: 410px;
}

.hero-showcase .hero-rail {
  position: absolute;
  left: 42px;
  bottom: 82px;
  z-index: 4;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(234, 223, 217, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(38, 18, 12, 0.14);
  backdrop-filter: blur(16px);
}

.hero-primary,
.hero-accent {
  min-height: 56px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.hero-primary {
  padding: 0 28px;
}

.hero-accent {
  padding: 0 24px;
  border-color: rgba(217, 170, 66, 0.46);
  background: #fffdf7;
  color: #4c2d05;
}

.hero-showcase .hero-slider-controls {
  right: 214px;
  bottom: 74px;
  padding: 8px;
  border-color: rgba(234, 223, 217, 0.95);
  background: rgba(255, 255, 255, 0.84);
}

.hero-slider-controls > button {
  width: 46px;
  height: 46px;
  background: #fff7f4;
}

.hero-dots {
  gap: 9px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
}

.hero-dots button.active {
  width: 30px;
}

.advantages-panel {
  border: 1px solid rgba(234, 223, 217, 0.9);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(38, 18, 12, 0.07);
}

.advantage {
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

.card {
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(38, 18, 12, 0.08);
}

.card:hover {
  transform: translateY(-5px);
}

.image-tile {
  background: #efe5de;
}

.category-card .card-body,
.product-card .card-body {
  padding: 20px;
}

.card-tags span,
.product-badges span {
  background: #fff4f1;
  color: var(--red);
}

.category-cta {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
}

.product-card h3 {
  font-size: 22px;
}

.stepper {
  border-radius: 999px;
}

.stepper button {
  height: 46px;
}

.price-row {
  align-items: end;
}

.category-control-panel {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.chip {
  min-height: 46px;
  padding: 0 18px;
}

/* Catalog and admin polish v22 */
.products-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

.grid.cols-3.products-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.products-grid .product-card,
.search-panel + .section-title + .grid .product-card {
  min-height: 0;
  align-self: start;
  border-radius: 26px;
  border-color: rgba(234, 223, 217, 0.92);
  background:
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  box-shadow: 0 14px 34px rgba(38, 18, 12, 0.08);
}

.products-grid .product-card:hover,
.search-panel + .section-title + .grid .product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 54px rgba(38, 18, 12, 0.13);
}

.products-grid .product-card .image-tile,
.search-panel + .section-title + .grid .product-card .image-tile {
  aspect-ratio: 4 / 3;
  margin: 12px 12px 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92), rgba(244, 235, 229, 0.84) 62%, rgba(238, 226, 217, 0.95));
}

.products-grid .product-card .image-tile img,
.search-panel + .section-title + .grid .product-card .image-tile img,
.category-card .image-tile img {
  object-fit: contain;
  padding: 12px;
}

.products-grid .product-card .card-body,
.search-panel + .section-title + .grid .product-card .card-body {
  padding: 16px 18px 18px;
}

.products-grid .product-card h3,
.search-panel + .section-title + .grid .product-card h3 {
  min-height: 44px;
  font-size: 19px;
  line-height: 1.14;
  text-wrap: balance;
}

.products-grid .product-meta,
.search-panel + .section-title + .grid .product-meta {
  min-height: 22px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.products-grid .product-meta:empty,
.search-panel + .section-title + .grid .product-meta:empty {
  display: none;
}

.products-grid .product-foot,
.search-panel + .section-title + .grid .product-foot {
  margin-top: 10px;
  padding-top: 0;
}

.products-grid .price-row,
.search-panel + .section-title + .grid .price-row {
  display: grid;
  gap: 4px;
}

.products-grid .price,
.search-panel + .section-title + .grid .price {
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}

.products-grid .sub-price,
.search-panel + .section-title + .grid .sub-price {
  font-size: 13px;
}

.products-grid .stepper,
.search-panel + .section-title + .grid .stepper {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  background: #fff;
}

.products-grid .stepper output,
.search-panel + .section-title + .grid .stepper output {
  min-width: 0;
  padding: 0 8px;
  font-size: 16px;
  white-space: nowrap;
}

.products-grid .product-badges,
.search-panel + .section-title + .grid .product-badges {
  left: 12px;
  right: 12px;
  top: 12px;
}

.grid.cols-4 {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.category-card {
  border-radius: 26px;
}

.category-card .image-tile {
  aspect-ratio: 1 / 0.82;
  margin: 14px 14px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff8f3, #efe2da);
}

.category-card .card-body {
  min-height: 172px;
}

.address-section {
  padding-top: 24px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.address-link {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  border: 1px solid rgba(234, 223, 217, 0.9);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  padding: 20px;
  box-shadow: 0 14px 34px rgba(38, 18, 12, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.address-link:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 32, 44, 0.24);
  box-shadow: 0 22px 46px rgba(38, 18, 12, 0.11);
}

.address-link strong {
  font-size: 20px;
}

.address-link span {
  color: var(--muted);
  line-height: 1.45;
}

.address-link.dark {
  min-height: auto;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: none;
}

.address-link.dark span {
  color: #d8ceca;
}

.footer-addresses {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.footer .logo img {
  width: 214px;
  max-height: 62px;
}

.admin-login-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 58px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 26px;
  align-items: stretch;
}

.admin-login-copy {
  min-height: 420px;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 78% 18%, rgba(189, 32, 44, 0.2), transparent 32%),
    linear-gradient(135deg, #1a1513 0%, #241816 100%);
  color: #fff;
  display: grid;
  align-content: center;
  box-shadow: 0 26px 70px rgba(38, 18, 12, 0.2);
}

.admin-login-copy span {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 13px;
  color: #f4d48b;
  font-size: 13px;
  font-weight: 900;
}

.admin-login-copy h1 {
  max-width: 560px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  margin-bottom: 18px;
}

.admin-login-copy p {
  max-width: 580px;
  color: #e6dcd7;
  font-size: 19px;
}

.admin-auth-box {
  width: 100%;
  margin: 0;
  border-radius: 30px;
  padding: 28px;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
}

.captcha-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
}

.captcha-box img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff7f1;
}

.captcha-refresh {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.captcha-refresh:hover {
  transform: rotate(24deg);
  background: #fff2f0;
}

.captcha-refresh svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-seo-grid {
  display: grid;
  gap: 18px;
}

.seo-form {
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(38, 18, 12, 0.07);
}

.seo-form-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 6px;
}

.seo-form-head span {
  font-size: 21px;
  font-weight: 900;
}

.seo-form-head strong {
  border-radius: 999px;
  background: #fff2f0;
  color: var(--red);
  padding: 7px 11px;
  font-size: 13px;
}

.seo-note {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  border: 1px dashed rgba(189, 32, 44, 0.28);
  border-radius: 18px;
  background: #fffaf7;
  padding: 18px;
}

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

.admin-tabs {
  padding: 10px;
  border: 1px solid rgba(234, 223, 217, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(38, 18, 12, 0.06);
}

.admin-tabs button {
  border-radius: 15px;
  border-color: transparent;
  background: transparent;
}

.admin-tabs button.active {
  background: #fff2f0;
  box-shadow: inset 0 0 0 1px rgba(189, 32, 44, 0.18);
}

.admin-form {
  border-radius: 20px;
  padding: 20px;
}

.admin-row {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(38, 18, 12, 0.055);
}

.admin-row img {
  object-fit: contain;
  background: #fff7f1;
}

.filter-checks {
  gap: 10px;
}

.filter-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.filter-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf7;
  padding: 12px;
  cursor: pointer;
}

.filter-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.filter-check span {
  color: var(--ink);
  font-weight: 900;
}

.filter-check small {
  grid-column: 2;
  color: var(--muted);
}

@media (max-width: 980px) {
  .admin-login-shell,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 14px;
  }

  .products-grid .product-card .image-tile {
    margin: 10px 10px 0;
    border-radius: 18px;
  }

  .products-grid .product-card .card-body {
    padding: 14px;
  }

  .products-grid .product-card h3 {
    min-height: auto;
    font-size: 18px;
  }

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

  .products-grid .stepper output {
    font-size: 14px;
  }

  .admin-login-copy {
    min-height: 300px;
    border-radius: 24px;
  }

  .admin-auth-box {
    border-radius: 24px;
  }

  .seo-form-head {
    display: grid;
  }

  .admin-tabs,
  .admin-form,
  .admin-row {
    grid-template-columns: 1fr;
  }
}

.subscription-page {
  background:
    radial-gradient(circle at 82% 10%, rgba(217, 170, 66, 0.16), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8f4ef 100%);
}

.subscription-hero {
  width: min(1240px, calc(100% - 32px));
  padding-top: 76px;
}

.subscription-copy h1 {
  font-size: 72px;
}

.subscription-card {
  border-radius: 30px;
}

.subscription-benefit {
  border-radius: 24px;
}

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

.cart-item {
  grid-template-columns: 112px minmax(0, 1fr) minmax(190px, auto) 44px;
  min-height: 154px;
  border-radius: 24px;
}

.cart-item img {
  width: 112px;
  height: 112px;
  border-radius: 18px;
}

.cart-stepper {
  min-width: 198px;
  grid-template-columns: 52px 94px 52px;
}

.cart-stepper output {
  padding: 0 18px;
}

.summary,
.cart-summary {
  border-radius: 24px;
}

.recommendation-card {
  border-radius: 22px;
}

.faq-section {
  background: #fff;
}

.faq-list {
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
}

.footer {
  background: #181211;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1.3fr);
    column-gap: 28px;
  }

  .footer-addresses {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav button {
    justify-content: flex-start;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 24px 150px;
  }

  .hero-showcase h1 {
    font-size: 54px;
  }

  .hero-showcase .hero-copy {
    min-height: auto;
  }

  .hero-showcase .hero-rail {
    left: 50%;
    bottom: 82px;
    width: min(560px, calc(100% - 32px));
    transform: translateX(-50%);
    justify-content: center;
  }

  .hero-showcase .hero-slider-controls {
    left: 50%;
    right: auto;
    bottom: 24px;
    transform: translateX(-50%);
  }

  .subscription-hero,
  .subscription-benefits,
  .shop-cart,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
  }

  .footer-addresses {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
  }

  .footer-legal .spoiler {
    grid-column: auto;
  }

  .logo img {
    width: 150px;
    max-height: 44px;
  }

  .footer .logo img {
    width: 190px;
    max-height: 54px;
  }

  .hero-showcase {
    width: min(100% - 24px, 1240px);
    gap: 12px;
    padding: 24px 18px 26px;
    border-radius: 22px;
  }

  .hero-showcase h1 {
    font-size: 36px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-showcase .hero-kicker {
    min-height: 30px;
    margin-bottom: 14px;
  }

  .hero-showcase .hero-media,
  .hero-showcase .hero-media img {
    min-height: 0;
    height: 190px;
    max-height: 190px;
  }

  .hero-showcase .hero-rail,
  .hero-showcase .hero-slider-controls {
    position: static;
    transform: none;
    margin: 10px auto 0;
  }

  .hero-showcase .hero-rail {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-showcase .hero-slider-controls {
    width: fit-content;
  }

  .hero-primary,
  .hero-accent {
    min-height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }

  .cart-item {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: auto;
  }

  .cart-item img {
    width: 92px;
    height: 92px;
  }

  .cart-stepper {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cart-remove {
    position: absolute;
    right: 16px;
    top: 16px;
  }

  .subscription-copy h1 {
    font-size: 40px;
  }
}

/* Keep the v32 subscription layout above legacy page rules. */
.subscription-page {
  background: #f8f4ef;
}

.subscription-benefits {
  gap: 0;
}

.subscription-benefit {
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: 22px 24px 0 0;
  box-shadow: none;
}

.subscription-benefit + .subscription-benefit {
  padding-left: 24px;
}

.subscription-benefit h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.subscription-benefit p {
  margin: 0;
}

@media (max-width: 980px) and (min-width: 761px) {
  .subscription-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .subscription-benefits {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .subscription-benefit,
  .subscription-benefit + .subscription-benefit {
    padding: 18px 0 0;
  }
}

/* Admin content workspace v34 */
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.admin-panel-head span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-panel-head h2 {
  margin: 5px 0 0;
  font-size: 30px;
  line-height: 1.1;
}

.admin-panel-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-form-section {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin: 8px -4px 0;
  border-top: 1px solid var(--line);
  padding: 22px 4px 2px;
}

.admin-form-section strong {
  font-size: 20px;
}

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

.admin-file-field {
  align-content: start;
}

.admin-file-hint {
  display: block;
  min-height: 18px;
  margin-top: -3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.admin-file-field img,
.admin-file-placeholder {
  width: 100%;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
  object-fit: contain;
  padding: 10px;
}

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

.admin-file-placeholder svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.admin-file-field input[type="file"] {
  min-height: 48px;
  padding: 9px;
  background: #fff;
}

.admin-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.68;
}

@media (max-width: 760px) {
  .admin-panel-head,
  .admin-form-section {
    display: grid;
    gap: 8px;
  }

  .admin-panel-head h2 {
    font-size: 26px;
  }
}

/* Slider editor, guest checkout and staff workspace v38 */
.admin-slider-editor {
  display: grid;
  gap: 22px;
}

.admin-slide-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.admin-slide-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.admin-slide-head strong {
  color: var(--red);
}

.admin-slide-head span,
.admin-form-note {
  color: var(--muted);
}

.admin-slide-editor .wide {
  grid-column: 1 / -1;
}

.checkout-choice {
  display: grid;
  gap: 10px;
}

.checkout-choice .btn {
  width: 100%;
}

.checkout-choice p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.guest-checkout-page {
  padding-top: 42px;
  padding-bottom: 64px;
}

.guest-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.guest-checkout-grid h1 {
  margin: 8px 0 10px;
  font-size: 48px;
  line-height: 1.05;
}

.guest-checkout-form {
  margin-top: 24px;
}

.guest-order-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  border-top: 3px solid var(--red);
  background: #1b1614;
  color: #fff;
  padding: 24px;
}

.guest-order-summary span,
.guest-order-summary p {
  color: #d8ceca;
}

.guest-order-summary strong {
  color: #f1c96d;
  font-size: 36px;
}

.guest-order-summary p {
  margin: 0;
}

.order-success {
  min-height: 58vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.order-success h1 {
  margin: 10px 0;
  font-size: 48px;
}

.staff-login-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: stretch;
  padding-top: 58px;
  padding-bottom: 58px;
}

.staff-login-copy {
  display: grid;
  align-content: center;
  min-height: 380px;
  background: #1b1614;
  color: #fff;
  padding: 48px;
}

.staff-login-copy > span {
  color: #f1c96d;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-login-copy h1 {
  margin: 14px 0;
  font-size: 56px;
  line-height: 1;
}

.staff-login-copy p {
  color: #d8ceca;
  font-size: 18px;
}

.staff-login-form {
  width: 100%;
  margin: 0;
  align-content: center;
}

.staff-page {
  padding-top: 42px;
  padding-bottom: 70px;
}

.staff-page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.staff-page-head h1 {
  margin: 8px 0 4px;
  font-size: 46px;
}

.staff-page-head p {
  margin: 0;
  color: var(--muted);
}

.staff-head-actions {
  display: flex;
  gap: 10px;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.staff-stats > div {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-left: 1px solid var(--line);
}

.staff-stats > div:first-child {
  border-left: 0;
}

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

.staff-stats strong {
  font-size: 24px;
}

.staff-orders {
  display: grid;
  gap: 14px;
}

.staff-order {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.staff-order.is-new {
  border-left: 4px solid var(--red);
}

.staff-order > header,
.staff-order > footer,
.staff-order-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.staff-order header span,
.staff-order-contact span {
  color: var(--muted);
  font-size: 13px;
}

.staff-order h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.staff-order header > strong {
  font-size: 25px;
}

.staff-order-contact,
.staff-order-items,
.staff-order > p {
  margin: 16px 0 0;
}

.staff-order-contact a {
  color: var(--red);
  font-weight: 900;
}

.staff-order-items {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
}

.staff-order > footer {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.staff-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-order-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  cursor: pointer;
}

.staff-empty {
  min-height: 240px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.staff-empty svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
}

/* Store split, loyalty and club update */
.store-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 900;
}

.store-pill svg,
.cart-store-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.store-pill span {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 19, 18, 0.38);
  backdrop-filter: blur(10px);
}

.store-modal-card {
  width: min(780px, 100%);
  border-radius: 28px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 28px 90px rgba(23, 19, 18, 0.25);
}

.store-modal-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 5vw, 50px);
}

.store-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.store-choice {
  display: grid;
  gap: 8px;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fff8f5);
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.store-choice:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 35, 43, 0.35);
  box-shadow: 0 20px 46px rgba(38, 18, 12, 0.13);
}

.store-choice svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
}

.store-choice strong {
  font-size: 20px;
}

.store-choice span,
.store-choice small {
  color: var(--muted);
}

.cart-store-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  border: 1px solid rgba(31, 143, 74, 0.2);
  border-radius: 16px;
  background: #f2faf5;
  padding: 14px 16px;
  color: var(--green);
}

.cart-store-note button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.bonus-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border: 1px solid rgba(216, 166, 71, 0.45);
  border-radius: 16px;
  background: #fff8e8;
  padding: 14px;
  color: #694407;
  font-weight: 900;
}

.bonus-box small {
  color: rgba(105, 68, 7, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.bonus-box input {
  min-height: 44px;
  border-color: rgba(216, 166, 71, 0.5);
  background: #fff;
}

.delivery-box {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(31, 143, 74, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, #f4fbf6, #fff8f5);
}

.delivery-box-text {
  display: grid;
  gap: 4px;
}

.delivery-box-text span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.delivery-box-text strong {
  color: var(--green);
  font-size: 15px;
  line-height: 1.25;
}

.delivery-progress,
.club-progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(38, 18, 12, 0.08);
}

.delivery-progress i,
.club-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #d8a647, var(--red));
  transition: width .28s ease;
}

.account-loyalty-grid {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(320px, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.bonus-account-card,
.club-progress-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(38, 18, 12, 0.07);
}

.bonus-account-card::after,
.club-progress-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 166, 71, 0.22), rgba(216, 166, 71, 0));
  pointer-events: none;
}

.bonus-account-card {
  display: grid;
  gap: 8px;
  background: linear-gradient(135deg, #fff, #fff8ee);
}

.bonus-account-card > span,
.club-progress-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bonus-account-card > strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.bonus-account-card p {
  margin: 0;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.bonus-account-card small {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.club-progress-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.club-progress-card {
  display: grid;
  gap: 18px;
  background: linear-gradient(135deg, #171312, #2b1915);
  color: #fff;
}

.club-progress-card.is-active {
  background: linear-gradient(135deg, #171312, #3a2118 52%, #1f432c);
}

.club-progress-card .club-progress-bar {
  background: rgba(255, 255, 255, 0.14);
}

.club-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.club-progress-head span {
  color: rgba(255, 255, 255, 0.62);
}

.club-progress-head strong {
  max-width: 360px;
  text-align: right;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.club-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.club-progress-meta strong {
  color: #f5dcae;
}

.inventory-table {
  display: grid;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.inventory-row {
  min-width: 760px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(190px, .45fr));
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

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

.inventory-head {
  background: #1b1614;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.inventory-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.staff-inventory {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(38, 18, 12, 0.07);
}

.staff-stock-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.staff-stock-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}

.staff-stock-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff4ef;
}

.staff-stock-item strong,
.staff-stock-item span {
  display: block;
}

.staff-stock-item span {
  color: var(--muted);
  font-size: 13px;
}

.staff-stock-item button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 900;
}

.staff-stock-item button.active {
  border-color: rgba(31, 143, 74, 0.25);
  background: #edf8f2;
  color: var(--green);
}

.club-extras {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
}

.club-extra-card {
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 16px 44px rgba(38, 18, 12, 0.08);
}

.club-extra-card > span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.club-extra-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.club-set-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.club-set-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fffaf7;
}

.club-set-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Header repair, club statuses and VK ID auth */
.site-header {
  overflow: visible;
}

.header-inner {
  width: min(1480px, calc(100% - 28px));
  min-height: 78px;
  gap: 12px;
}

.header-inner .logo img {
  width: clamp(118px, 12vw, 168px);
}

.store-pill {
  flex: 0 1 300px;
  max-width: 300px;
  min-width: 210px;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  justify-content: flex-start;
  white-space: nowrap;
}

.nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.nav button {
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1;
  white-space: nowrap;
}

.nav a span {
  display: inline-flex;
  align-items: center;
}

.nav a.nav-subscription {
  min-width: 172px;
  justify-content: center;
  letter-spacing: 0;
}

.nav a.nav-subscription span {
  max-width: 118px;
  text-align: center;
  line-height: 1.06;
}

.nav a.nav-max {
  min-width: 122px;
  justify-content: center;
}

.nav a.nav-login {
  border-color: rgba(196, 31, 45, 0.28);
  background: rgba(196, 31, 45, 0.08);
  color: var(--red);
  font-weight: 950;
}

.nav a.nav-login:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.cart-badge {
  flex: 0 0 auto;
}

.subscription-value {
  border-top: 0;
  padding-top: 66px;
  padding-bottom: 70px;
}

.subscription-section-head {
  max-width: 880px;
  margin-bottom: 28px;
  padding-left: clamp(0px, 1vw, 8px);
}

.subscription-section-head > span {
  border-radius: 999px;
  background: #fff3dc;
  padding: 8px 13px;
  color: #8a570d;
}

.subscription-section-head h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  text-wrap: balance;
}

.subscription-benefits {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.subscription-benefits::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
  opacity: .34;
}

.subscription-benefit,
.subscription-benefit + .subscription-benefit {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(234, 223, 217, .92);
  border-radius: 24px;
  background:
    radial-gradient(circle at 22px 22px, rgba(216, 166, 71, .18), transparent 34px),
    linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  padding: 22px;
  box-shadow: 0 16px 38px rgba(38, 18, 12, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.subscription-benefit:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 35, 43, .24);
  box-shadow: 0 26px 58px rgba(38, 18, 12, .13);
}

.subscription-benefit > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #1b1614;
  color: #f7d98b;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}

.subscription-benefit h3 {
  margin: 8px 0 2px;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1;
}

.subscription-benefit p {
  color: #6f6360;
  font-size: 15px;
  line-height: 1.48;
}

.subscription-benefit:nth-child(1) > span { background: #1f8f4a; color: #fff; }
.subscription-benefit:nth-child(2) > span { background: #b9bbc2; color: #171312; }
.subscription-benefit:nth-child(3) > span { background: #d8a647; color: #2d1c04; }
.subscription-benefit:nth-child(4) > span { background: #171312; color: #fff; }

.vk-id-button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 16px;
  border: 0;
  border-radius: 16px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(22, 119, 255, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.vk-id-button:hover {
  transform: translateY(-2px);
  background: #0f68e8;
  box-shadow: 0 22px 46px rgba(22, 119, 255, .28);
}

.vk-id-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  font-weight: 950;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

@media (max-width: 1320px) and (min-width: 981px) {
  .header-inner {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .store-pill {
    flex-basis: 250px;
    min-width: 220px;
    padding: 0 12px;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 8px 0;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav button {
    padding: 0 12px;
    font-size: 14px;
  }

  .nav a.nav-subscription {
    min-width: 150px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .store-pill {
    order: 2;
    flex: 1 1 calc(100% - 62px);
    max-width: none;
    min-width: 0;
  }

  .menu-toggle {
    order: 3;
    margin-left: 0;
  }

  .nav {
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    z-index: 70;
    gap: 8px;
  }

  .nav a,
  .nav button,
  .nav a.nav-subscription,
  .nav a.nav-max {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .nav a.nav-subscription span {
    max-width: none;
    text-align: left;
  }

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

  .subscription-benefits::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .subscription-benefits {
    grid-template-columns: 1fr;
  }

  .subscription-benefit,
  .subscription-benefit + .subscription-benefit {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .admin-slide-editor,
  .guest-checkout-grid,
  .staff-login-page {
    grid-template-columns: 1fr;
  }

  .admin-slide-editor .field,
  .admin-slide-editor .wide {
    grid-column: 1;
  }

  .guest-checkout-grid h1,
  .staff-login-copy h1,
  .staff-page-head h1,
  .order-success h1 {
    font-size: 36px;
  }

  .guest-order-summary {
    position: static;
  }

  .staff-login-copy {
    min-height: 260px;
    padding: 28px;
  }

  .staff-page-head,
  .staff-order > header,
  .staff-order > footer,
  .staff-order-contact {
    align-items: start;
    display: grid;
  }

  .staff-head-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .staff-stats > div,
  .staff-stats > div:first-child {
    grid-template-columns: 1fr auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .store-pill {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .store-choice-grid,
  .club-extras,
  .club-set-grid {
    grid-template-columns: 1fr;
  }

  .cart-store-note {
    align-items: flex-start;
    display: grid;
  }

  .cart-store-note button {
    margin-left: 0;
  }
}

/* Final header guard */
.header-inner .store-pill {
  flex: 0 0 auto;
  width: auto;
  max-width: 218px;
  min-width: 0;
  padding: 0 13px;
}

.header-inner .store-pill span {
  max-width: 156px;
}

.nav a span,
.nav a.nav-subscription span {
  max-width: none;
  white-space: nowrap;
  text-align: inherit;
}

.nav a.nav-subscription {
  min-width: max-content;
}

@media (max-width: 760px) {
  .store-pill {
    order: 2;
    flex: 1 1 calc(100% - 62px);
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }

  .header-inner .store-pill span {
    max-width: calc(100vw - 118px);
  }
}

/* Online invoices */
.invoice-admin-note,
.invoice-client-card {
  border: 1px solid rgba(196, 31, 45, 0.18);
  background: linear-gradient(135deg, rgba(196, 31, 45, 0.06), rgba(218, 166, 71, 0.08));
  border-radius: 22px;
  padding: 18px 20px;
}

.invoice-admin-note {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.invoice-admin-note div,
.invoice-client-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.invoice-admin-note span,
.invoice-client-card span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.invoice-admin-note strong,
.invoice-client-card strong {
  color: var(--black);
  font-size: 28px;
  font-weight: 950;
}

.invoice-admin-note small,
.invoice-client-card small {
  color: var(--muted);
  font-weight: 800;
}

.invoice-admin-note p,
.invoice-error {
  color: var(--red);
}

.invoice-admin-note.paid,
.invoice-client-card.paid {
  border-color: rgba(31, 143, 74, 0.24);
  background: linear-gradient(135deg, rgba(31, 143, 74, 0.08), rgba(218, 166, 71, 0.08));
}

.invoice-client-card {
  margin-top: 18px;
}

.invoice-client-card > div:first-child {
  display: grid;
  gap: 5px;
}

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

.invoice-client-actions .btn {
  min-height: 48px;
}

.invoice-paid-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #1f8f4a;
}

.invoice-paid-icon svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 760px) {
  .invoice-admin-note div,
  .invoice-client-card {
    align-items: stretch;
    display: grid;
  }

  .invoice-client-actions {
    display: grid;
    justify-content: stretch;
  }
}
