/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/*
  ТакТам — покупательский UI (прототип 2026)
  Тёплый жёлтый акцент, светлый фон, приглушённые тени, скругления 8–16px.
*/

:root {
  --font-inter: Inter;
  --bg: #fafafa;
  --bg-strong: #f3f4f6;
  --surface-cream: #fff4e5;
  --card: #ffffff;
  --card-solid: #ffffff;

  --ink: #111827;
  --muted: #6b7280;
  --muted-faint: #9ca3af;

  --line: #e5e7eb;
  --line-strong: #d1d5db;

  --brand: #ffd76a;
  --brand-hover: #f0c94a;
  --brand-soft: rgba(255, 215, 106, 0.38);
  --brand-faint: rgba(255, 215, 106, 0.18);

  --accent: #ea580c;

  --success: #059669;
  --success-soft: #e6f6ec;
  --success-ink: #047857;

  --warning-bg: #fff7e6;
  --error-bg: #fdecea;
  --info-bg: #eef3ff;
  --error: #dc2626;

  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.07);
  --shadow-md: 0 12px 36px rgba(17, 24, 39, 0.1);
  --shadow: var(--shadow-sm);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;

  --font-sans: var(--font-inter), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font-sans);

  --text-xs: 0.875rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
}

/* ---------- Current cart/account fixes ---------- */

.cart-layout--single {
  display: block !important;
}

.cart-layout--single .cart-groups {
  max-width: 980px !important;
  margin: 0 auto !important;
}

.cart-shop-card__summary {
  display: grid !important;
  justify-items: end !important;
  grid-gap: 6px !important;
  gap: 6px !important;
}

.cart-shop-card__remove {
  border: 0 !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
}

.cart-shop-card__foot span {
  color: var(--muted) !important;
  font-size: 13px !important;
}

.cart-shop-card__foot b {
  color: var(--ink) !important;
  font-weight: 500 !important;
}

.cart-shop-form {
  display: grid !important;
  grid-gap: 12px !important;
  gap: 12px !important;
  padding: 16px 18px 18px !important;
  border-top: 0.5px solid var(--line) !important;
  background: #fff !important;
}

.cart-shop-form__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-gap: 12px !important;
  gap: 12px !important;
}

.cart-shop-form label {
  display: grid !important;
  grid-gap: 6px !important;
  gap: 6px !important;
}

.cart-shop-form label span {
  color: var(--muted) !important;
  font-size: 11px !important;
}

.cart-shop-form input,
.cart-shop-form select,
.cart-shop-form textarea {
  width: 100% !important;
  border: 0.5px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  outline: none !important;
}

.cart-shop-form input,
.cart-shop-form select {
  min-height: 38px !important;
  padding: 0 10px !important;
}

.cart-shop-form textarea {
  min-height: 74px !important;
  resize: vertical !important;
  padding: 10px !important;
}

.cart-shop-form .button {
  justify-self: start !important;
}

.account-page {
  display: grid !important;
  grid-gap: 16px !important;
  gap: 16px !important;
  padding-top: 24px !important;
  padding-bottom: 40px !important;
}

.account-login,
.account-summary,
.account-metrics,
.account-panel {
  border: 0.5px solid var(--line) !important;
  background: #fff !important;
}

.account-login,
.account-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px !important;
}

.account-summary__identity,
.account-summary__actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.account-summary__actions {
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}

.account-page .account-avatar {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  background: #4a6b8a !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.account-metrics {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.account-metrics article {
  display: grid !important;
  grid-gap: 2px !important;
  gap: 2px !important;
  padding: 14px 16px !important;
  border-right: 0.5px solid var(--line) !important;
}

.account-metrics article:last-child {
  border-right: 0 !important;
}

.tts-widget {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 12px;
}

.tts-widget__button {
  justify-self: start;
  min-height: 34px;
  border: 0.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.tts-widget__button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.tts-widget__status {
  color: var(--muted);
  font-size: 11px;
}

.tts-widget__status--ready {
  color: var(--success);
}

.tts-widget__status--error {
  color: var(--error);
}

.tts-widget__audio {
  width: min(100%, 360px);
  height: 34px;
}

.account-dashboard {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr) !important;
  grid-gap: 16px !important;
  gap: 16px !important;
  align-items: start !important;
}

.account-panel {
  display: grid !important;
  grid-gap: 14px !important;
  gap: 14px !important;
  padding: 16px !important;
}

.account-panel__head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.account-empty {
  display: grid !important;
  grid-gap: 8px !important;
  gap: 8px !important;
  padding: 18px !important;
  border: 0.5px solid var(--line) !important;
  background: var(--bg-strong) !important;
}

.account-empty .button {
  justify-self: start !important;
  margin-top: 4px !important;
}

.account-link-list,
.account-subscriptions,
.account-feed {
  display: grid !important;
  grid-gap: 8px !important;
  gap: 8px !important;
}

.account-link-list a,
.account-subscription,
.account-feed-item {
  display: grid !important;
  grid-gap: 2px !important;
  gap: 2px !important;
  padding: 12px !important;
  border: 0.5px solid var(--line) !important;
  background: #fff !important;
  color: inherit !important;
  text-decoration: none !important;
}

.account-subscription {
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  gap: 10px !important;
}

.account-subscription > span {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #888780 !important;
}

.account-empty--compact {
  align-items: start !important;
  min-height: auto !important;
  padding: 12px !important;
  text-align: left !important;
}

.account-order-card {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 12px;
  border: 0.5px solid var(--line);
  background: #fff;
}

.account-order-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-order-card__head > div,
.account-order-item > div {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.account-order-card small,
.account-order-item small {
  color: var(--muted);
  font-size: 12px;
}

.account-order-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  padding-top: 10px;
  border-top: 0.5px solid var(--line);
}

.account-order-item > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
}

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

.purchase-share {
  grid-column: 1 / -1;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 4px;
}

.purchase-share > div {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.purchase-share label {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.purchase-share label span {
  color: var(--muted);
  font-size: 11px;
}

.purchase-share textarea {
  min-height: 72px;
  resize: vertical;
  border: 0.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 8px;
}

.purchase-share select {
  width: -moz-fit-content;
  width: fit-content;
  border: 0.5px solid var(--line);
  background: #fff;
  padding: 6px 8px;
}

.purchase-share p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.account-subscription--amber > span {
  background: #ef9f27 !important;
}

.account-subscription--green > span {
  background: #639922 !important;
}

.account-subscription--coral > span {
  background: #d85a30 !important;
}

@media (max-width: 900px) {
  .account-dashboard,
  .cart-shop-form__grid {
    grid-template-columns: 1fr !important;
  }

  .account-summary,
  .account-login {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .account-summary__actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 640px) {
  .account-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .account-metrics article:nth-child(2n) {
    border-right: 0 !important;
  }

  .cart-shop-card__head,
  .cart-item {
    grid-template-columns: 44px 1fr !important;
  }

  .cart-shop-card__summary,
  .cart-item b,
  .cart-item__remove {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .cart-shop-form .button {
    width: 100% !important;
  }
}

/* ---------- Cart per-shop checkout ---------- */

.cart-layout--single {
  display: block !important;
}

.cart-layout--single .cart-groups {
  max-width: 980px;
  margin: 0 auto;
}

.cart-shop-card__summary {
  display: grid;
  justify-items: end;
  grid-gap: 6px;
  gap: 6px;
}

.cart-shop-card__remove,
.cart-shop-form button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

.cart-shop-card__remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.cart-shop-card__remove:hover {
  color: var(--ink);
}

.cart-shop-card__foot span {
  color: var(--muted);
  font-size: 13px;
}

.cart-shop-card__foot b {
  color: var(--ink);
  font-weight: 500;
}

.cart-shop-form {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 0.5px solid var(--line);
  background: #fff;
}

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

.cart-shop-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.cart-shop-form label span {
  color: var(--muted);
  font-size: 11px;
}

.cart-shop-form input,
.cart-shop-form select,
.cart-shop-form textarea {
  width: 100%;
  border: 0.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}

.cart-shop-form input,
.cart-shop-form select {
  min-height: 38px;
  padding: 0 10px;
}

.cart-shop-form textarea {
  min-height: 74px;
  resize: vertical;
  padding: 10px;
}

.cart-shop-form .button {
  justify-self: start;
}

/* ---------- Account page layout ---------- */

.account-page {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 40px;
}

.account-login,
.account-summary,
.account-metrics,
.account-panel {
  border: 0.5px solid var(--line);
  background: #fff;
}

.account-login,
.account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.account-login__copy {
  flex: 1 1;
  min-width: 0;
}

.account-login h1,
.account-summary h1,
.account-panel h2,
.account-feed-item h3 {
  margin: 0;
  font-weight: 500;
}

.account-login p,
.account-summary p,
.account-panel p,
.account-feed-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.account-summary__identity,
.account-summary__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-summary__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-page .account-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4a6b8a;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

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

.account-metrics article {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 14px 16px;
  border-right: 0.5px solid var(--line);
}

.account-metrics article:last-child {
  border-right: 0;
}

.account-metrics strong {
  font-size: 18px;
  font-weight: 500;
}

.account-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.account-panel {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 16px;
}

.account-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-panel__head a {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.account-empty {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 18px;
  border: 0.5px solid var(--line);
  background: var(--bg-strong);
}

.account-empty strong {
  font-size: 14px;
  font-weight: 500;
}

.account-empty span,
.account-link-list small,
.account-subscription small,
.account-feed-item small {
  color: var(--muted);
  font-size: 11px;
}

.account-empty .button {
  justify-self: start;
  margin-top: 4px;
}

.account-link-list,
.account-subscriptions,
.account-feed {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.account-link-list a,
.account-subscription,
.account-feed-item {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 12px;
  border: 0.5px solid var(--line);
  background: #fff;
}

.account-link-list span,
.account-subscription strong {
  font-size: 13px;
  font-weight: 500;
}

.account-subscription {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.account-subscription > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888780;
}

.account-subscription--amber > span {
  background: #ef9f27;
}

.account-subscription--green > span {
  background: #639922;
}

.account-subscription--coral > span {
  background: #d85a30;
}

@media (max-width: 900px) {
  .account-dashboard,
  .cart-shop-form__grid {
    grid-template-columns: 1fr;
  }

  .account-summary,
  .account-login {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-summary__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .account-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-metrics article:nth-child(2n) {
    border-right: 0;
  }

  .cart-shop-card__head,
  .cart-item {
    grid-template-columns: 44px 1fr;
  }

  .cart-shop-card__summary,
  .cart-item b,
  .cart-item__remove {
    grid-column: 2;
    justify-self: start;
  }

  .cart-shop-form .button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.5;
}

main {
  flex: 1 1;
}

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

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

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

/* ---------- Шапка ---------- */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 14px;
}

.topbar__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.topbar__row--main {
  width: 100%;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: var(--ink);
}

.brandmark__sign {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.header-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.header-loc:hover {
  border-color: var(--line-strong);
  background: var(--surface-cream);
}

.header-search {
  flex: 1 1 260px;
  display: flex;
  align-items: stretch;
  min-width: min(100%, 220px);
  margin-left: auto;
  position: relative;
}

.header-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 46px 0 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-size: var(--text-sm);
}

.header-search input::placeholder {
  color: var(--muted-faint);
}

.header-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-faint);
}

.header-search__submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.header-search__submit:hover {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  background: var(--surface-cream);
  color: var(--ink);
}

.nav a.is-active {
  color: var(--ink);
  background: var(--brand-faint);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.header-cart:hover {
  border-color: var(--brand);
  background: var(--surface-cream);
}

.header-cart__icon {
  position: relative;
  font-size: 1.125rem;
}

.header-cart__badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

.header-login:hover {
  color: var(--ink);
  background: var(--bg-strong);
}

/* ---------- Layout ---------- */

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  position: relative;
}

/* ---------- Кнопки ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.button:hover {
  border-color: var(--muted-faint);
  background: var(--surface-cream);
}

.button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.button--primary {
  background: var(--brand);
  border-color: rgba(17, 24, 39, 0.08);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.button--primary:hover {
  background: var(--brand-hover);
  border-color: rgba(17, 24, 39, 0.12);
  color: var(--ink);
}

/* Тёмная вторичная — редкие акценты */
.button--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button--accent:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: #fff;
}

.button--ghost {
  background: transparent;
  border-color: var(--line);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--bg-strong);
  color: var(--muted-faint);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-gap: 24px;
  gap: 24px;
  align-items: stretch;
  padding: 28px 0 40px;
}

.hero__copy,
.hero__panel,
.card,
.product-card,
.shop-card,
.section-panel {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.hero__copy {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__panel {
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.metric {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--surface-cream);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 0;
  box-shadow: none;
}

.metric strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.45;
}

.stacked-note {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--brand-faint);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: var(--ink);
}

.stacked-note strong {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 6px;
}

.stacked-note p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Секции ---------- */

.section {
  padding: 36px 0;
}

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

.section h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.5;
}

.category-grid,
.shop-grid,
.product-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

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

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

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

.card,
.shop-card,
.product-card,
.section-panel {
  border-radius: var(--radius-md);
  padding: 16px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.18s ease;
}

.category-card:hover,
.shop-card:hover,
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.category-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.category-card__icon {
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.9;
}

.category-card strong,
.shop-card h3,
.product-card h3 {
  display: block;
  margin: 0;
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}

.muted {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.4;
}

/* ---------- Магазин карточка ---------- */

.shop-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.shop-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.shop-card .eyebrow {
  margin-bottom: 6px;
  font-size: 0.625rem;
}

/* ---------- Аватар ---------- */

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 500;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.avatar img,
.product-media img,
.shop-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Чипы / бейджи ---------- */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.pill--live {
  background: var(--success-soft);
  border-color: rgba(5, 150, 105, 0.28);
  color: var(--success-ink);
}

/* ---------- Товар карточка ---------- */

.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-media {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-strong);
  color: var(--muted-faint);
  font-size: var(--text-sm);
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  position: relative;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card__add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.product-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1;
  gap: 4px;
}

.product-card__body .muted {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

.product-card h3 {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price .price-current {
  color: var(--ink);
}

.price.price--sale .price-current {
  color: var(--accent);
}

.price del {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 400;
  text-decoration: line-through;
}

/* ---------- Страница магазина ---------- */

.shop-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  grid-gap: 16px;
  gap: 16px;
  padding: 24px 0;
}

.shop-hero__copy {
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
}

.shop-hero__copy h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.shop-hero__copy p {
  margin: 12px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.55;
}

.shop-hero__copy .eyebrow {
  color: var(--muted);
}

.shop-hero__media {
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}

.shop-hero__media:empty {
  min-height: 200px;
}

/* ---------- Прочие блоки ---------- */

.empty-state {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: var(--text-sm);
  text-align: center;
}

.page-title {
  max-width: 640px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.55;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}

.feature-list,
.card-list,
.dashboard-grid {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.feature-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
}

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

.feature-item strong {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--ink);
}

.feature-item span {
  margin-top: 4px;
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 400;
}

.dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.dashboard-grid .metric {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Карта: форма поиска */

.geo-search {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.75fr auto;
  grid-gap: 8px;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  align-items: stretch;
}

.geo-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 400;
}

.geo-search input::placeholder {
  color: var(--muted-faint);
}

.geo-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.geo-map {
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.geo-map__canvas {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  border-radius: var(--radius-md);
}

.geo-map--yandex {
  padding: 0;
  overflow: hidden;
}

.geo-map__yandex {
  width: 100%;
  min-height: 520px;
  background: var(--surface-cream);
}

.geo-map__fallback,
.geo-map--empty {
  padding: 18px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.geo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 16px;
}

.geo-card {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.geo-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.geo-card strong,
.geo-card .muted {
  display: block;
}

.geo-card strong {
  font-weight: 500;
  font-size: var(--text-sm);
}

/* ---------- Главная: категории и блоки ---------- */

.home-strip-wrap {
  padding-bottom: 8px;
}

.category-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.category-chip:hover {
  border-color: var(--brand);
  background: var(--surface-cream);
}

.category-chip--active {
  background: var(--brand-faint);
  border-color: rgba(234, 179, 8, 0.45);
  font-weight: 600;
}

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

.how-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.how-card strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.delivery-blurb {
  max-width: 720px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-cream);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ---------- Подвал ---------- */

.site-footer {
  margin-top: auto;
  padding: 48px 0 24px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)) minmax(200px, 0.9fr);
  grid-gap: 28px 20px;
  gap: 28px 20px;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 280px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.footer-social a:hover {
  border-color: var(--brand);
  color: var(--ink);
  background: var(--surface-cream);
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: var(--text-sm);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-help strong {
  display: block;
  color: var(--ink);
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.footer-help {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* Аккаунт: заголовок блока */
.section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .shop-hero,
  .split-panel {
    grid-template-columns: 1fr;
  }

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

  .geo-search {
    grid-template-columns: 1fr 1fr;
  }

  .geo-search .button--primary {
    grid-column: 1 / -1;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid,
  .shop-grid,
  .product-grid,
  .dashboard-grid,
  .geo-list,
  .geo-search {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 12px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Prototype screens ---------- */

.header-cart small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 18px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.breadcrumbs a:hover,
.section-link:hover {
  color: var(--ink);
}

.page-head h1,
.checkout-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.proto-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1fr);
  grid-gap: 48px;
  gap: 48px;
  align-items: center;
  padding: 32px 0 28px;
}

.proto-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.proto-hero__copy p {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 42px;
}

.hero-benefits span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 2px 10px;
  gap: 2px 10px;
  align-items: start;
}

.hero-benefits b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--surface-cream);
  font-size: 1.1rem;
}

.hero-benefits strong {
  font-size: var(--text-sm);
}

.hero-benefits small {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.hero-map {
  position: relative;
  min-height: 456px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(32deg, transparent 46%, rgba(255, 215, 106, 0.2) 47%, rgba(255, 215, 106, 0.2) 49%, transparent 50%),
    linear-gradient(130deg, transparent 41%, rgba(5, 150, 105, 0.12) 42%, rgba(5, 150, 105, 0.12) 45%, transparent 46%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #f8f4ed;
  background-size: auto, auto, 54px 54px, 54px 54px, auto;
  box-shadow: var(--shadow-sm);
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  border-radius: 50% 50% 50% 10px;
  transform: rotate(-45deg);
  background: #fff;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 1.15rem;
}

.map-pin::first-letter {
  transform: rotate(45deg);
}

.map-pin--primary {
  background: var(--brand);
}

.map-pin--dark {
  background: #30333a;
  color: #fff;
}

.map-pin--one { left: 13%; top: 11%; }
.map-pin--two { left: 23%; top: 34%; }
.map-pin--three { left: 66%; top: 14%; }
.map-pin--four { left: 50%; top: 31%; }
.map-pin--five { left: 26%; bottom: 18%; }

.map-shop-popover {
  position: absolute;
  right: 40px;
  top: 70px;
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-gap: 14px;
  gap: 14px;
  width: min(360px, calc(100% - 80px));
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.map-shop-popover__image {
  display: block;
  height: 84px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
}

.map-shop-popover__image img,
.shop-card__media img,
.cart-shop-card__logo img,
.cart-item__image img,
.shop-profile-logo img,
.shop-profile-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-shop-popover strong,
.map-shop-popover p,
.map-shop-popover small,
.map-shop-popover span {
  display: block;
}

.map-shop-popover p {
  margin: 6px 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.map-shop-popover small {
  color: var(--success-ink);
  font-size: var(--text-sm);
}

.map-shop-popover span {
  margin-top: 16px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.map-zoom {
  position: absolute;
  right: 28px;
  bottom: 26px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-zoom button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--card);
  font-size: 1.25rem;
}

.map-zoom button + button {
  border-top: 1px solid var(--line);
}

.category-strip--boxed {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.shop-grid--horizontal {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
}

.section-link {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.shop-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  gap: 0;
  border-radius: var(--radius-lg);
}

.shop-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.72;
  overflow: hidden;
  background: var(--surface-cream);
  color: var(--muted);
}

.shop-card__media > span:not(.shop-card__status):not(.shop-card__heart) {
  font-size: 2rem;
}

.shop-card__status,
.shop-card__heart {
  position: absolute;
  top: 12px;
  z-index: 1;
}

.shop-card__status {
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 600;
}

.shop-card__heart {
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
}

.shop-card__top,
.shop-card > span:last-child {
  padding: 14px 14px 0;
}

.shop-card > span:last-child {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding-bottom: 14px;
}

.shop-card__tags,
.shop-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.shop-card__tags span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg);
}

.shop-card__meta span:first-child {
  color: #f59e0b;
  font-weight: 700;
}

.shop-card__button {
  display: grid;
  place-items: center;
  min-height: 38px;
  margin-top: 4px;
  border: 1px solid var(--brand-hover);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
}

.shop-card__signals {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.shop-card__signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}

.shop-card__signal--live {
  background: var(--success-soft);
  border-color: rgba(5, 150, 105, 0.28);
  color: var(--success-ink);
}

.shop-card__signal--muted {
  background: var(--card);
  color: var(--muted);
  font-weight: 500;
}

.shop-card__signal--route {
  background: var(--card);
  color: var(--ink);
}

.shop-card__signal-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.shop-card__signal--muted .shop-card__signal-dot {
  opacity: 0.55;
}

.product-card {
  border-radius: var(--radius-lg);
}

.product-card {
  position: relative;
}

.product-card__link,
.product-card__body {
  color: inherit;
  text-decoration: none;
}

.product-card__badge,
.product-card__heart,
.product-card > .product-like-button--compact {
  position: absolute;
  top: 10px;
  z-index: 5;
}

.product-card__badge {
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card__heart,
.product-card > .product-like-button--compact {
  right: 10px;
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.product-like-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
}

.product-like-button span {
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

.product-like-button small {
  color: var(--muted);
  font-size: 12px;
}

.product-like-button.is-liked {
  border-color: #fbeaf0;
  background: #fbeaf0;
  color: #993556;
}

.product-like-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.product-detail__actions .product-like-button--compact {
  position: static;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #fff;
}

.product-card__rating,
.product-card__stock {
  color: var(--muted);
  font-size: 0.8125rem;
}

.product-card__rating {
  color: #f59e0b;
}

.product-card__stock {
  color: var(--success-ink);
  font-weight: 600;
}

.how-grid--visual .how-card {
  min-height: 310px;
  position: relative;
  overflow: hidden;
}

.how-card i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.how-illustration {
  position: absolute;
  right: 22px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 170px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--surface-cream);
  font-size: 2rem;
  color: var(--ink);
}

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

.delivery-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  grid-gap: 22px;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(240, 201, 74, 0.5);
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, var(--surface-cream), #fff);
}

.delivery-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--brand-faint);
  font-size: 2rem;
}

.delivery-card h2,
.delivery-card p {
  margin: 0;
}

.delivery-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.delivery-card a {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
}

.shops-page {
  padding-bottom: 44px;
}

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

.filter-panel,
.shop-filter,
.order-summary,
.checkout-card,
.checkout-store,
.cart-shop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.filter-panel,
.shop-filter {
  position: -webkit-sticky;
  position: sticky;
  top: 132px;
  overflow: hidden;
}

.filter-panel__toggle {
  width: calc(100% - 20px);
  min-height: 48px;
  margin: 10px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  text-align: left;
  padding: 0 16px;
  font-weight: 600;
}

.filter-group {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.filter-group h3 {
  margin: 0;
  font-size: var(--text-sm);
}

.filter-group label,
.switch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: var(--text-sm);
}

.filter-group input {
  accent-color: var(--brand-hover);
}

.filter-panel > .button {
  width: calc(100% - 36px);
  margin: 18px;
}

.range-line {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-cream);
}

.range-line span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.switch-row {
  justify-content: space-between;
}

.switch-row input {
  width: 42px;
  height: 24px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
}

.catalog-toolbar > div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.catalog-toolbar select,
.shop-local-search input,
.checkout-store select,
.recipient-card input,
.comment-card textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 0 14px;
  color: var(--ink);
}

.view-toggle {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  font-size: var(--text-sm);
  font-weight: 600;
}

.view-toggle.is-active {
  background: var(--surface-cream);
  border-color: var(--brand-hover);
}

.shop-profile-page {
  padding-bottom: 48px;
}

.shop-profile-hero {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.shop-profile-hero__banner {
  height: 150px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.28), transparent),
    var(--surface-cream);
}

.shop-profile-hero__body {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) auto;
  grid-gap: 28px;
  gap: 28px;
  align-items: center;
  padding: 0 28px 22px;
}

.shop-profile-logo {
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  margin-top: -58px;
  overflow: hidden;
  border: 8px solid var(--card);
  border-radius: var(--radius-xl);
  background: var(--surface-cream);
  font-size: 3rem;
  box-shadow: var(--shadow-sm);
}

.shop-profile-main h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.shop-profile-main p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.shop-rating-row {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.shop-rating-row span:first-child {
  color: #f59e0b;
  font-weight: 700;
}

.shop-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 28px 24px;
}

.shop-tabs {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.shop-tabs a {
  position: relative;
  padding: 0 0 18px;
  font-weight: 600;
  color: var(--muted);
}

.shop-tabs a.is-active {
  color: var(--ink);
}

.shop-tabs a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--brand);
}

.shop-tabs span {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-strong);
  color: var(--muted);
  font-size: 0.75rem;
}

.shop-catalog-layout {
  margin-top: 26px;
}

.shop-local-search {
  position: relative;
  padding: 18px;
}

.shop-local-search input {
  width: 100%;
  padding-right: 44px;
}

.shop-local-search button {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
}

.shop-filter > .button {
  width: calc(100% - 36px);
  margin: 18px;
}

.shop-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.shop-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  grid-gap: 14px;
  gap: 14px;
  margin-top: 26px;
}

.info-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.info-card p,
.info-card span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.info-card--map {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #f8f4ed;
  background-size: 36px 36px;
}

.shop-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
  padding-top: 16px;
}

.shop-about-main,
.shop-about-summary,
.shop-about-legal {
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
}

.shop-about-main {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 20px;
}

.shop-about-main h2,
.shop-about-summary h2,
.shop-about-legal h2 {
  margin: 0;
  color: #2c2c2a;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
}

.shop-about-main > p {
  max-width: 760px;
  margin: 0;
  color: #5f5e5a;
  font-size: 13px;
  line-height: 1.55;
}

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

.shop-order-steps section {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 14px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #f1efe8;
}

.shop-order-steps i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2c2c2a;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.shop-order-steps h3 {
  margin: 0;
  color: #2c2c2a;
  font-size: 13px;
  font-weight: 500;
}

.shop-order-steps p {
  margin: 0;
  color: #5f5e5a;
  font-size: 12px;
  line-height: 1.45;
}

.shop-about-summary {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 18px;
}

.shop-about-summary dl,
.shop-about-legal dl {
  display: grid;
  grid-gap: 0;
  gap: 0;
  margin: 0;
}

.shop-about-summary dl > div,
.shop-about-legal dl > div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 12px 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

.shop-about-summary dt,
.shop-about-legal dt {
  color: #888780;
  font-size: 11px;
}

.shop-about-summary dd,
.shop-about-legal dd {
  margin: 0;
  color: #2c2c2a;
  font-size: 13px;
  line-height: 1.45;
}

.shop-about-summary a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  color: #2c2c2a;
  font-size: 13px;
  font-weight: 500;
}

.shop-about-legal {
  grid-column: 1 / -1;
  padding: 18px 20px;
}

.shop-about-legal dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.shop-about-legal dl > div {
  padding: 0;
}

.checkout-page {
  padding: 42px 0 48px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
  margin: 0 0 26px;
}

.checkout-steps span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.checkout-steps b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-strong);
  color: var(--ink);
}

.checkout-steps .is-active b {
  background: var(--brand);
}

.checkout-layout,
.cart-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.checkout-main,
.cart-groups {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.checkout-card {
  padding: 18px;
}

.pickup-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pickup-mode h2,
.pickup-mode p,
.checkout-store h2,
.checkout-store p {
  margin: 0;
}

.pickup-mode p,
.checkout-store p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.mode-buttons {
  display: flex;
  gap: 10px;
}

.mode-buttons button,
.slot-row button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  font-weight: 600;
}

.mode-buttons button.is-active,
.slot-row button.is-active {
  border-color: var(--brand-hover);
  background: var(--brand-faint);
}

.mode-buttons--small button {
  min-width: 120px;
}

.checkout-store header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-store__image,
.cart-shop-card__logo,
.cart-item__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  flex-shrink: 0;
}

.checkout-store__image,
.cart-shop-card__logo {
  width: 62px;
  height: 62px;
  font-size: 1.6rem;
}

.checkout-store header .mode-buttons {
  margin-left: auto;
}

.checkout-store__body {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  grid-gap: 18px;
  gap: 18px;
  padding: 18px;
}

.checkout-store label,
.recipient-card label,
.comment-card label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.checkout-store label span,
.recipient-card label span,
.comment-card label span,
.field-label {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
}

.checkout-store small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.checkout-store footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}

.checkout-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.checkout-thumbs i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-cream);
  font-style: normal;
}

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

.comment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
}

.comment-card textarea {
  min-height: 76px;
  padding-top: 12px;
}

.order-summary {
  position: -webkit-sticky;
  position: sticky;
  top: 132px;
  padding: 22px;
}

.order-summary h2 {
  margin: 0 0 4px;
}

.order-summary p {
  margin: 0 0 22px;
  color: var(--muted);
}

.summary-store,
.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.summary-store {
  color: var(--ink);
  font-size: var(--text-sm);
}

.summary-line {
  color: var(--muted);
  font-size: var(--text-sm);
}

.summary-total {
  align-items: baseline;
  border-bottom: 0;
  padding-top: 16px;
}

.summary-total strong {
  font-size: 1.7rem;
}

.safe-box,
.help-box {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  margin: 16px 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  color: var(--ink);
  font-size: var(--text-sm);
}

.help-box {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
}

.order-summary .button {
  width: 100%;
}

.cart-shop-card {
  overflow: hidden;
}

.cart-shop-card__head {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-shop-card h2,
.cart-shop-card p {
  margin: 0;
}

.cart-shop-card p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.cart-items {
  display: grid;
  grid-gap: 0;
  gap: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-item__image {
  width: 56px;
  height: 56px;
}

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

.cart-item span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.cart-item__remove {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 800;
  cursor: pointer;
}

.cart-item__remove:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.cart-shop-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
}

.cart-shop-card__foot a:first-child {
  align-self: center;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.empty-cart {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  place-items: center;
  padding: 80px 0;
}

.cart-success {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #eaf3de;
  color: #2c2c2a;
}

.cart-success strong {
  font-size: 14px;
  font-weight: 500;
}

.cart-success span {
  color: #5f5e5a;
  font-size: 13px;
}

.mock-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #fff8e6, #ffd76a);
}

.mock-visual--bakery { background: linear-gradient(135deg, #fff3d0, #d59a44); }
.mock-visual--coffee { background: linear-gradient(135deg, #fff4e5, #8b5e3c); }
.mock-visual--flowers { background: linear-gradient(135deg, #fff2f5, #f2a1bd); }
.mock-visual--food { background: linear-gradient(135deg, #f3ffe8, #78b66d); }
.mock-visual--kids { background: linear-gradient(135deg, #fff4fb, #ffbf69); }
.mock-visual--pets { background: linear-gradient(135deg, #fff4e5, #c58b52); }
.mock-visual--home { background: linear-gradient(135deg, #eef3ff, #8aa0c8); }
.mock-visual--repair { background: linear-gradient(135deg, #f4f6f8, #8c95a3); }
.mock-visual--shop { background: linear-gradient(135deg, #fff4e5, #ffd76a); }

.mock-visual__shine {
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.34) 45%, transparent 62%);
  transform: rotate(12deg);
}

.mock-visual__plate {
  display: grid;
  place-items: center;
  width: min(58%, 148px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
  z-index: 1;
}

.mock-visual__plate span {
  font-size: clamp(2.4rem, 8vw, 5.5rem);
}

.mock-visual__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.product-detail-page {
  padding-bottom: 96px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr) 300px;
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}

.product-detail__gallery,
.product-detail__main,
.product-detail__aside {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.product-detail__gallery {
  padding: 14px;
}

.product-detail__image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-cream);
}

.product-detail__image img,
.product-detail__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success-ink);
  font-weight: 800;
  font-size: var(--text-sm);
}

.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  gap: 10px;
  margin-top: 12px;
}

.product-detail__thumbs span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-cream);
}

.product-detail__main {
  padding: clamp(22px, 3vw, 32px);
}

.product-detail__main h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.product-detail__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.product-detail__shop-link {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 8px 0 12px;
  padding: 8px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #2c2c2a;
}

.product-detail__shop-link span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f1efe8;
  font-size: 12px;
  font-weight: 500;
}

.product-detail__shop-link div {
  min-width: 0;
  flex: 1 1;
}

.product-detail__shop-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-detail__shop-link strong {
  display: block;
  overflow: hidden;
  color: #2c2c2a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail__shop-link small {
  display: block;
  overflow: hidden;
  color: #5f5e5a;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail__shop-link a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  color: #2c2c2a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.product-detail__rating span:first-child {
  color: #f59e0b;
  font-weight: 800;
}

.product-detail__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-cream);
}

.product-detail__price strong {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.product-detail__price del {
  color: var(--muted);
  font-size: 1.25rem;
}

.product-detail__price span {
  width: 100%;
  color: var(--success-ink);
  font-weight: 700;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-detail__section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-detail__section h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.product-detail__section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-shop-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
}

.product-shop-card__logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
}

.product-shop-card h2,
.product-shop-card p {
  margin: 0;
}

.product-detail__aside {
  position: -webkit-sticky;
  position: sticky;
  top: 132px;
  padding: 20px;
}

.product-detail__aside h2 {
  margin: 0 0 14px;
}

.receive-option {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.receive-option span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.receive-option b {
  margin-top: 4px;
}

.product-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(720px, calc(100vw - 32px));
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.product-sticky-cta strong,
.product-sticky-cta span {
  display: block;
}

.product-sticky-cta span {
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .proto-hero,
  .catalog-layout,
  .shop-catalog-layout,
  .checkout-layout,
  .product-detail,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .shop-filter,
  .product-detail__aside,
  .order-summary {
    position: static;
  }

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

@media (max-width: 760px) {
  .proto-hero {
    gap: 24px;
  }

  .hero-map {
    min-height: 360px;
  }

  .hero-benefits,
  .delivery-section,
  .shop-info-grid,
  .shop-about-layout,
  .shop-order-steps,
  .shop-about-legal dl,
  .checkout-steps,
  .checkout-store__body,
  .recipient-card,
  .comment-card {
    grid-template-columns: 1fr;
  }

  .shop-profile-hero__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shop-profile-logo {
    width: 128px;
    height: 128px;
  }

  .shop-message-button {
    width: 100%;
  }

  .pickup-mode,
  .checkout-store header {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-store header .mode-buttons {
    margin-left: 0;
  }

  .mode-buttons,
  .mode-buttons button,
  .product-detail__actions .button,
  .cart-shop-card__foot .button {
    width: 100%;
  }

  .mode-buttons {
    flex-direction: column;
  }

  .cart-shop-card__head,
  .cart-item {
    grid-template-columns: 56px 1fr;
  }

  .cart-shop-card__head strong,
  .cart-item b {
    grid-column: 2;
  }

  .product-sticky-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .product-sticky-cta .button {
    width: 100%;
  }
}

/* ---------- 2026 marketplace hardening ---------- */

:root {
  --bg: #f7f7f8;
  --bg-strong: #f1f2f4;
  --surface-cream: #f7f7f8;
  --card: #ffffff;
  --card-solid: #ffffff;
  --ink: #15151a;
  --muted: #62636a;
  --muted-faint: #9a9ca3;
  --line: #e4e5e8;
  --line-strong: #cfd1d6;
  --brand: #e6007e;
  --brand-hover: #c8006f;
  --brand-soft: rgba(230, 0, 126, 0.14);
  --brand-faint: rgba(230, 0, 126, 0.07);
  --accent: #15151a;
  --shadow-xs: 0 1px 2px rgba(21, 21, 26, 0.04);
  --shadow-sm: 0 8px 22px rgba(21, 21, 26, 0.06);
  --shadow-md: 0 20px 48px rgba(21, 21, 26, 0.1);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
}

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

.site-header {
  background: rgba(255, 255, 255, 0.97);
}

.topbar {
  gap: 8px;
  padding: 10px 0;
}

.brandmark {
  letter-spacing: 0;
}

.brandmark__sign {
  background: var(--ink);
  color: #fff;
}

.header-loc span,
.header-login span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.header-search input {
  padding-right: 76px;
}

.header-search__submit {
  width: auto;
  min-width: 62px;
  padding: 0 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.header-search__submit:hover {
  background: var(--brand);
  color: #fff;
}

.header-cart__icon {
  min-width: 34px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-cart__badge,
.product-card__add,
.checkout-steps .is-active b,
.how-card i {
  background: var(--brand);
  color: #fff;
}

.nav a,
.button,
.category-chip,
.view-toggle,
.mode-buttons button,
.slot-row button,
.catalog-toolbar select,
.shop-local-search input,
.checkout-store select,
.recipient-card input,
.comment-card textarea,
.profile-form input {
  border-radius: 0;
}

.button--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.button--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
}

.button--ghost:hover,
.category-chip:hover,
.nav a:hover,
.header-loc:hover,
.header-login:hover,
.header-cart:hover {
  background: var(--brand-faint);
  border-color: var(--brand);
}

.button--accent {
  background: var(--ink);
  border-color: var(--ink);
}

.proto-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1fr);
  align-items: stretch;
}

.proto-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 456px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--card);
}

.proto-hero__copy h1,
.page-head h1,
.checkout-page h1,
.shop-profile-main h1,
.product-detail__main h1 {
  letter-spacing: 0;
}

.hero-map,
.info-card--map {
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px;
}

.map-pin {
  border-radius: 0;
  transform: none;
  border: 1px solid var(--line);
}

.map-pin--primary {
  background: var(--brand);
  color: #fff;
}

.map-pin--dark {
  background: var(--ink);
}

.category-strip--boxed,
.hero-map,
.map-shop-popover,
.delivery-card,
.shop-profile-hero,
.product-sticky-cta {
  border-radius: 0;
}

.category-chip--active,
.view-toggle.is-active,
.mode-buttons button.is-active,
.slot-row button.is-active {
  background: var(--brand-faint);
  border-color: var(--brand);
  color: var(--ink);
}

.delivery-card {
  border-color: var(--line);
  background: var(--card);
}

.delivery-card__icon,
.hero-benefits b,
.how-illustration,
.shop-card__media,
.product-media,
.safe-box,
.checkout-thumbs i,
.checkout-store__image,
.cart-shop-card__logo,
.cart-item__image,
.product-detail__image,
.product-detail__price,
.product-shop-card__logo {
  background: var(--bg-strong);
}

.card,
.feature-item,
.order-row {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.card strong,
.feature-item strong,
.order-row h2 {
  font-size: var(--text-sm);
  font-weight: 700;
}

.card span,
.order-row p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.orders-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 16px;
}

.order-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.order-row h2,
.order-row p {
  margin: 8px 0 0;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.profile-form label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.profile-form label span {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 700;
}

.profile-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0 12px;
}

.profile-form__wide,
.profile-form__actions {
  grid-column: 1 / -1;
}

.profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .proto-hero__copy {
    min-height: 0;
  }

  .profile-form,
  .order-row {
    grid-template-columns: 1fr;
  }

  .order-row .button {
    width: 100%;
  }
}

/* ---------- Новая главная: живая лента ---------- */

.lavka-page {
  --lavka-accent: #d4147d;
  --lavka-accent-soft: #fde7f2;
  --lavka-green: #12805c;
  --lavka-green-soft: #e7f7ef;
  --lavka-blue-soft: #eef3ff;
  --lavka-amber-soft: #fff6df;
  --lavka-rose-soft: #fff0f4;
  background: var(--bg);
}

.lavka-hero,
.lavka-map-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-gap: 24px;
  gap: 24px;
  align-items: stretch;
  padding: 28px 0 24px;
}

.lavka-map-hero {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.lavka-hero__copy,
.phone-feed,
.live-strip,
.feed-card,
.concept-grid article,
.now-panel,
.lavka-shop,
.pulse-card,
.home-map-shell {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-xs);
  border-radius: 0;
}

.lavka-hero__copy {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px);
}

.lavka-map-hero .lavka-hero__copy {
  min-height: 0;
  padding: clamp(28px, 4vw, 44px);
}

.live-pill {
  width: -moz-fit-content;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 128, 92, 0.22);
  background: var(--lavka-green-soft);
  color: var(--lavka-green);
  font-size: var(--text-sm);
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--lavka-green);
  border-radius: 50%;
}

.lavka-hero h1,
.lavka-map-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.05rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.lavka-hero p,
.lavka-map-hero p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.58;
}

.lavka-page .button--primary {
  background: var(--lavka-accent);
  border-color: var(--lavka-accent);
  color: #fff;
}

.lavka-page .button--primary:hover {
  background: #b80f69;
  border-color: #b80f69;
  color: #fff;
}

.home-map-shell {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.home-map-shell .geo-map {
  height: 100%;
  min-height: 540px;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.home-map-shell .geo-map__yandex {
  min-height: 540px;
}

.home-map-shell .geo-map--empty {
  min-height: 540px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-map-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  pointer-events: none;
}

.home-map-overlay a {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-gap: 4px 8px;
  gap: 4px 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  pointer-events: auto;
}

.home-map-overlay strong,
.home-map-overlay small,
.home-map-overlay em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-map-overlay strong {
  font-size: 0.85rem;
  font-weight: 800;
}

.home-map-overlay small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.72rem;
}

.home-map-overlay em {
  grid-column: 2;
  color: var(--lavka-accent);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.geo-map__shop-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--lavka-accent);
  font-weight: 800;
  text-decoration: none;
}

.geo-map__balloon-title {
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.geo-map__balloon-title:hover {
  text-decoration: underline;
}

.geo-map__balloon-line {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.geo-map__balloon-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.map-page__grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
}

.map-page__catalog {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  max-height: min(78vh, 820px);
  padding: 14px 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-xs);
  position: -webkit-sticky;
  position: sticky;
  top: 12px;
}

.map-page__catalog-head {
  flex-shrink: 0;
}

.map-page__catalog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.map-page__catalog-hint {
  margin: 6px 0 0;
  font-size: var(--text-sm);
  line-height: 1.4;
}

.map-page__catalog .geo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  overflow-y: auto;
  padding-right: 6px;
  min-height: 0;
  flex: 1 1;
}

.map-page__map {
  min-width: 0;
}

.map-page__map .geo-map__yandex {
  min-height: min(78vh, 820px);
}

@media (max-width: 900px) {
  .map-page__grid {
    grid-template-columns: 1fr;
  }

  .map-page__catalog {
    position: relative;
    top: auto;
    max-height: min(42vh, 420px);
    order: -1;
  }

  .map-page__map .geo-map__yandex {
    min-height: 420px;
  }
}

.quiet-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--muted-faint);
  border-radius: 50%;
}

.home-map-filters,
.map-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-map-filter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.home-map-filter:hover,
.home-map-filter--active {
  border-color: var(--lavka-accent);
  color: var(--lavka-accent);
}

.home-map-filter span {
  font-size: 1rem;
  line-height: 1;
}

.map-category-filter {
  margin: 0 0 16px;
}

.phone-feed {
  align-self: stretch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-feed__top,
.phone-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phone-feed__top strong {
  font-size: 1.65rem;
  font-weight: 800;
}

.phone-feed__top span,
.phone-feed__search {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: var(--text-sm);
}

.phone-feed__top span {
  padding: 7px 10px;
  font-weight: 700;
}

.phone-feed__search {
  padding: 12px;
}

.story-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.story-row span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--lavka-amber-soft);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.phone-tabs {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.phone-tabs b {
  color: var(--ink);
}

.mini-feed-card {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
}

.mini-feed-card small,
.feed-card span {
  color: var(--lavka-accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-feed-card strong {
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.3;
}

.mini-feed-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.feed-card--drop {
  background: var(--lavka-amber-soft);
}

.feed-card--brag {
  background: var(--lavka-rose-soft);
}

.feed-card--buy {
  background: var(--lavka-green-soft);
}

.feed-card--thread {
  background: var(--lavka-blue-soft);
}

.feed-card__author,
.shop-social-post__author,
.brag-card__author {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.feed-card__author:hover,
.shop-social-post__author:hover,
.brag-card__author:hover {
  text-decoration: underline;
}

.live-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
  overflow: hidden;
}

.live-strip article {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.live-strip article:last-child {
  border-right: 0;
}

.live-strip strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.live-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-sm);
}

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

.feed-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}

.feed-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  overflow: hidden;
}

.feed-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feed-card__content {
  min-height: 0;
  display: flex;
  flex: 1 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.feed-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.feed-card h3,
.concept-grid h3,
.lavka-shop strong,
.pulse-card strong {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.feed-card p,
.concept-grid p,
.now-panel p,
.lavka-shop p,
.pulse-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.feed-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.feed-card b {
  color: var(--ink);
  font-size: var(--text-sm);
}

.feed-card a,
.now-panel a,
.section-link {
  color: var(--lavka-accent);
  font-size: var(--text-sm);
  font-weight: 800;
}

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

.concept-grid article {
  min-height: 230px;
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
  padding: 20px;
}

.concept-grid i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--lavka-accent-soft);
  color: var(--lavka-accent);
  font-style: normal;
  font-weight: 800;
}

.now-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-gap: 24px;
  gap: 24px;
  align-items: stretch;
  padding: clamp(22px, 4vw, 36px);
}

.now-panel h2 {
  max-width: 760px;
}

.shop-live-card {
  position: relative;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.shop-live-card .live-dot {
  position: absolute;
  top: 18px;
  right: 18px;
}

.shop-live-card strong {
  padding-right: 24px;
  color: var(--ink);
  font-size: 1.2rem;
}

.shop-live-card dl {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 4px 0 0;
}

.shop-live-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.shop-live-card dt,
.shop-live-card dd {
  margin: 0;
  font-size: var(--text-sm);
}

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

.shop-live-card dd {
  color: var(--ink);
  font-weight: 800;
}

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

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

.lavka-shop,
.pulse-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.lavka-shop span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 1.4rem;
}

.lavka-shop small,
.pulse-card span {
  margin-top: auto;
  color: var(--muted);
  font-size: var(--text-sm);
}

.pulse-card {
  min-height: 180px;
  background: var(--card);
}

.pulse-card b {
  color: var(--ink);
  font-size: 1.15rem;
}

@media (max-width: 980px) {
  .lavka-hero,
  .lavka-map-hero,
  .now-panel {
    grid-template-columns: 1fr;
  }

  .lavka-hero__copy,
  .lavka-map-hero .lavka-hero__copy {
    min-height: 0;
  }

  .phone-feed {
    max-width: 520px;
    width: 100%;
  }

  .concept-grid,
  .lavka-shop-grid,
  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-map-overlay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .lavka-hero,
  .lavka-map-hero {
    padding-top: 18px;
    gap: 14px;
  }

  .lavka-hero h1,
  .lavka-map-hero h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .live-strip,
  .feed-grid,
  .concept-grid,
  .lavka-shop-grid,
  .pulse-grid {
    grid-template-columns: 1fr;
  }

  .live-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .live-strip article:last-child {
    border-bottom: 0;
  }

  .feed-card,
  .concept-grid article,
  .lavka-shop,
  .pulse-card {
    min-height: 0;
  }

  .story-row {
    grid-template-columns: repeat(5, 74px);
    overflow-x: auto;
  }

  .home-map-shell,
  .home-map-shell .geo-map,
  .home-map-shell .geo-map__yandex,
  .home-map-shell .geo-map--empty {
    min-height: 460px;
  }

  .home-map-overlay {
    position: static;
    grid-template-columns: 1fr;
    padding: 10px;
    border-top: 1px solid var(--line);
    background: var(--card);
  }
}

/* ---------- ТакТам 2.0: стиль по мокапам ---------- */

:root {
  --bg: #f8f8f7;
  --bg-strong: #fff6e8;
  --surface-cream: #fff6e8;
  --card: #ffffff;
  --ink: #191923;
  --muted: #73727d;
  --muted-faint: #a6a5ae;
  --line: #e7e3dc;
  --line-strong: #d9d3ca;
  --brand: #ffb11f;
  --brand-hover: #f2a10c;
  --brand-soft: #fff0cc;
  --brand-faint: #fff7e9;
  --shadow-xs: 0 2px 8px rgba(25, 25, 35, 0.04);
  --shadow-sm: 0 8px 24px rgba(25, 25, 35, 0.07);
  --shadow-md: 0 16px 44px rgba(25, 25, 35, 0.1);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1180px;
  --font-sans: var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
}

.ui-icon {
  display: block;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 247, 0.9);
  border-bottom: 0;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.topbar {
  padding: 18px 0;
}

.topbar__row--main {
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto auto;
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
}

.brandmark,
.footer-brand .brandmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brandmark__sign {
  display: none;
}

.header-loc,
.header-search,
.header-cart,
.header-login,
.nav a,
.button,
.category-chip,
.view-toggle,
.mode-buttons button,
.slot-row button {
  border-radius: var(--radius-md);
}

.header-loc {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid transparent;
  background: var(--surface-cream);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.header-search {
  position: relative;
  flex: none;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.header-search > .ui-icon {
  margin-left: 16px;
  color: var(--muted);
}

.header-search input {
  min-height: 44px;
  height: 44px;
  padding: 0 52px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.94rem;
}

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

.header-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-faint);
}

.header-search__submit {
  right: 7px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.header-search__submit:hover {
  background: var(--brand-faint);
}

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

.nav--desktop {
  flex-wrap: nowrap;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav a .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  background: var(--surface-cream);
  color: var(--ink);
}

.nav a.is-active .ui-icon {
  color: var(--brand-hover);
}

.header-actions {
  margin: 0;
  gap: 10px;
  justify-content: flex-end;
}

.header-cart,
.header-login {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  font-weight: 700;
}

.header-cart {
  padding: 0;
}

.header-cart__icon {
  display: contents;
}

.header-cart__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 20px;
}

.mobile-tabbar {
  display: none;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.button--primary,
.lavka-page .button--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}

.button--primary:hover,
.lavka-page .button--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--ink);
}

.button--accent {
  background: var(--ink);
  border-color: var(--ink);
}

.container {
  width: min(var(--container), calc(100vw - 32px));
}

.page-head,
.section-head {
  align-items: flex-start;
}

.page-head h1,
.section h2,
.section-head h2,
.checkout-page h1,
.shop-profile-main h1,
.product-detail__main h1 {
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 900;
}

.lavka-page {
  --lavka-accent: var(--brand);
  --lavka-accent-soft: var(--brand-faint);
  --lavka-green: #23915f;
  --lavka-green-soft: #ecf8f1;
}

.lavka-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 420px);
  padding: 26px 0 20px;
}

.lavka-hero__copy,
.phone-feed,
.live-strip,
.feed-card,
.concept-grid article,
.now-panel,
.lavka-shop,
.pulse-card,
.shop-card,
.product-card,
.filter-panel,
.checkout-card,
.checkout-store,
.order-summary,
.cart-shop-card,
.product-detail,
.shop-profile-hero,
.info-card,
.geo-map,
.geo-card,
.empty-cart {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.lavka-hero__copy {
  min-height: 430px;
  padding: clamp(24px, 4vw, 46px);
}

.lavka-hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 5.2vw, 4.35rem);
  line-height: 1.04;
  font-weight: 900;
}

.lavka-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.live-pill {
  border-radius: var(--radius-md);
  border-color: #dcefe4;
  background: #eff9f3;
}

.phone-feed {
  border-radius: var(--radius-xl);
}

.story-row span,
.mini-feed-card,
.feed-card,
.concept-grid article,
.shop-live-card,
.lavka-shop span {
  border-radius: var(--radius-md);
}

.feed-card--drop,
.feed-card--buy,
.feed-card--brag,
.feed-card--thread {
  background: var(--card);
}

.feed-card span,
.mini-feed-card small,
.feed-card a,
.now-panel a,
.section-link {
  color: #d98700;
}

.shop-grid,
.product-grid,
.lavka-shop-grid,
.pulse-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.shop-card,
.product-card {
  min-height: 100%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.shop-card__media,
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-cream);
}

.shop-card__media img,
.product-media img,
.product-detail__image img,
.shop-profile-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card h3,
.product-card h3 {
  min-height: 2.7em;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.shop-card__button,
.product-card__add {
  border-radius: 12px;
  background: var(--brand);
  color: var(--ink);
  font-weight: 900;
}

.product-card__body {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  gap: 7px;
}

.price-current,
.product-detail__price strong {
  color: var(--ink);
  font-weight: 900;
}

.category-strip,
.shop-category-row,
.checkout-steps,
.mode-buttons,
.slot-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip,
.view-toggle,
.mode-buttons button,
.slot-row button,
.pill,
.badge {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.category-chip--active,
.view-toggle.is-active,
.mode-buttons button.is-active,
.slot-row button.is-active {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.catalog-layout,
.shop-catalog-layout,
.checkout-layout,
.cart-layout,
.product-detail {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}

.checkout-layout,
.cart-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.product-detail {
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr) 280px;
  padding: 18px;
}

.filter-panel,
.shop-filter,
.order-summary,
.product-detail__aside {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
}

.catalog-toolbar,
.cart-shop-card__head,
.cart-shop-card__foot,
.checkout-store header,
.checkout-store footer,
.summary-line,
.summary-total,
.summary-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-toolbar select,
.geo-search input,
.shop-local-search input,
.checkout-card input,
.checkout-card textarea,
.checkout-store select,
.profile-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--ink);
  padding: 0 14px;
}

.checkout-card textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.shop-profile-hero {
  overflow: hidden;
}

.shop-profile-hero__banner {
  height: 220px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface-cream);
}

.shop-profile-hero__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.shop-profile-logo,
.cart-shop-card__logo,
.checkout-store__image,
.product-shop-card__logo {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-cream);
  font-size: 1.8rem;
}

.shop-profile-meta {
  padding: 0 20px 20px;
}

.shop-tabs {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  z-index: 20;
  display: flex;
  gap: 8px;
  margin: 16px 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.shop-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-weight: 900;
}

.shop-tabs a.is-active {
  background: var(--brand-soft);
  color: var(--ink);
}

.product-detail__image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-detail__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.product-sticky-cta {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.geo-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px 120px auto;
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 16px;
}

.geo-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 177, 31, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 177, 31, 0.12) 1px, transparent 1px),
    #fbfaf8;
  background-size: 48px 48px;
}

.geo-map__yandex {
  width: 100%;
  min-height: 520px;
}

.geo-map__fallback,
.geo-map--empty {
  position: absolute;
  inset: auto 20px 20px 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.geo-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 16px;
}

.geo-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.safe-box,
.help-box {
  border-radius: var(--radius-md);
  background: var(--brand-faint);
}

.site-footer {
  margin-top: 40px;
}

.simple-hero,
.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  grid-gap: 22px;
  gap: 22px;
  align-items: center;
  margin: 18px 0 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.simple-hero--compact {
  grid-template-columns: 1fr;
}

.simple-hero h1,
.account-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.simple-hero p,
.account-hero p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.account-hero--login {
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 380px);
}

.mock-login {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.mock-login label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 800;
}

.mock-login input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

.mock-login p,
.form-message {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.form-message--error {
  color: #b42318;
}

.simple-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
}

.simple-search input {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 0 14px;
}

.catalog-layout--simple {
  margin-top: 18px;
}

.filter-panel h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.filter-panel a,
.shop-filter a,
.info-card a {
  color: #d98700;
  font-weight: 900;
}

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

.shop-actions {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-width: 180px;
}

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

.shop-social-feed {
  max-width: 760px;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.shop-social-post {
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
}

.shop-social-post header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.shop-social-post__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f1efe8;
  color: #2c2c2a;
  font-size: 13px;
  font-weight: 500;
}

.shop-social-post__avatar img,
.shop-social-post__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shop-social-post header strong {
  display: block;
  color: #2c2c2a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.shop-social-post header small {
  display: block;
  margin-top: 3px;
  color: #5f5e5a;
  font-size: 11px;
  line-height: 1.3;
}

.shop-social-post__image {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f1efe8;
}

.shop-social-post__body {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 14px;
}

.shop-social-post__body h3 {
  margin: 0;
  color: #2c2c2a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.shop-social-post__body p {
  margin: 0;
  color: #5f5e5a;
  font-size: 13px;
  line-height: 1.5;
}

.shop-social-post__body footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  color: #5f5e5a;
  font-size: 12px;
}

.shop-social-post__body footer a {
  margin-left: auto;
  color: #2c2c2a;
  font-weight: 500;
}

.product-discussion {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

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

.product-review-card,
.product-question-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.product-review-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}

.product-review-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-review-card span,
.product-question-card span {
  color: var(--lavka-accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-review-card h3,
.product-question-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.product-review-card p,
.product-question-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.shop-entity-grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.info-card--wide {
  min-height: 0;
}

.brag-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.brag-card__image {
  min-height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface-cream);
  color: var(--ink);
  font-weight: 900;
}

.brag-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brag-card h3 {
  margin: 6px 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

.brag-card__author {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.brag-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.brag-card a {
  color: #d98700;
  font-weight: 900;
}

.account-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.account-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 900;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 18px;
}

.buyer-profile-page {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.buyer-profile-hero,
.buyer-profile-panel,
.buyer-feed,
.profile-feed-card,
.profile-brag {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.buyer-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(360px, 0.72fr);
  grid-gap: 22px;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
}

.public-profile-hero {
  margin-top: 0;
}

.buyer-profile-avatar {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--lavka-accent-soft);
  color: var(--lavka-accent);
  font-size: 2rem;
  font-weight: 900;
  overflow: hidden;
}

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

.buyer-profile-avatar--rose {
  background: var(--lavka-rose-soft);
  color: #993556;
}

.buyer-profile-avatar--green {
  background: var(--lavka-green-soft);
  color: #3b6d11;
}

.buyer-profile-avatar--blue {
  background: var(--lavka-blue-soft);
  color: #185fa5;
}

.buyer-profile-main h1,
.buyer-profile-main p {
  margin: 0;
}

.buyer-profile-main h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.buyer-profile-main p {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.buyer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.buyer-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg);
}

.buyer-profile-stats article {
  min-height: 86px;
  display: grid;
  place-items: center;
  grid-gap: 4px;
  gap: 4px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.buyer-profile-stats article:nth-child(2n) {
  border-right: 0;
}

.buyer-profile-stats article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.buyer-profile-stats strong {
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.buyer-profile-stats span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.buyer-profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.5fr) minmax(260px, 0.84fr);
  grid-gap: 14px;
  gap: 14px;
  align-items: start;
}

.buyer-profile-panel,
.buyer-feed {
  padding: 18px;
}

.section-head--compact {
  margin-bottom: 14px;
}

.section-head--compact h2 {
  font-size: 1.25rem;
}

.profile-collections {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.profile-collection {
  min-height: 78px;
  display: grid;
  align-content: center;
  grid-gap: 4px;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.profile-collection strong {
  font-size: 1rem;
}

.profile-collection span,
.profile-work-links a,
.profile-brag p,
.profile-feed-card small {
  color: var(--muted);
  font-size: var(--text-sm);
}

.profile-collection--rose,
.profile-feed-card--brag,
.profile-brag--rose {
  background: var(--lavka-rose-soft);
}

.profile-collection--amber,
.profile-feed-card--drop,
.profile-brag--amber {
  background: var(--lavka-amber-soft);
}

.profile-collection--blue,
.profile-feed-card--thread,
.profile-brag--blue {
  background: var(--lavka-blue-soft);
}

.profile-collection--green,
.profile-brag--green {
  background: var(--lavka-green-soft);
}

.profile-work-links {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-work-links a {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.profile-work-links small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.profile-story-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-story-row span {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border: 2px solid var(--lavka-accent);
  background: var(--lavka-accent-soft);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

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

.profile-feed-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  grid-gap: 10px;
  gap: 10px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.profile-feed-card span {
  color: var(--lavka-accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-feed-card h3,
.profile-brag h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}

.profile-feed-card h3 {
  font-size: 1.25rem;
}

.profile-feed-card p,
.profile-brag h3 {
  font-size: var(--text-sm);
}

.profile-feed-card p,
.profile-brag p {
  margin: 0;
  line-height: 1.5;
}

.profile-feed-card p {
  color: var(--muted);
}

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

.profile-brag {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px;
  color: inherit;
  text-decoration: none;
}

.profile-brag__image {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: end start;
  padding: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.profile-brag__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-brag__image span {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-brag small {
  color: var(--muted);
  font-size: 0.72rem;
}

.empty-note {
  display: block;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.order-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  width: 100%;
  margin: 18px 0;
}

.order-flow article {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.order-flow b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
}

.order-flow strong {
  color: var(--ink);
}

.order-flow span {
  color: var(--muted);
  font-size: var(--text-sm);
}

@media (max-width: 1120px) {
  .topbar__row--main {
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
  }

  .nav--desktop {
    display: none;
  }

  .product-detail,
  .catalog-layout,
  .shop-catalog-layout,
  .checkout-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .shop-filter,
  .order-summary,
  .product-detail__aside {
    position: static;
  }

  .geo-search {
    grid-template-columns: 1fr 1fr;
  }

  .feed-grid--shop,
  .account-grid,
  .account-hero--login,
  .buyer-profile-hero,
  .buyer-profile-layout,
  .product-proof-grid,
  .order-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    position: static;
  }

  .topbar {
    padding: 18px 0 12px;
  }

  .topbar__row--main {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brandmark {
    font-size: 2.8rem;
  }

  .header-loc {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-content: center;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: start;
  }

  .header-login {
    display: none;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    height: 74px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 8px 8px 10px;
    border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -10px 30px rgba(25, 25, 35, 0.08);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
  }

  .mobile-tabbar a {
    min-width: 0;
    display: grid;
    place-items: center;
    grid-gap: 2px;
    gap: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-tabbar a.is-active {
    color: var(--brand-hover);
  }

  .mobile-tabbar .ui-icon {
    width: 24px;
    height: 24px;
  }

  .lavka-hero,
  .now-panel,
  .shop-profile-hero__body,
  .geo-search,
  .product-detail__actions,
  .simple-hero,
  .simple-search,
  .account-hero,
  .buyer-profile-hero,
  .buyer-profile-layout,
  .brag-card {
    grid-template-columns: 1fr;
  }

  .phone-feed {
    max-width: none;
  }

  .catalog-toolbar,
  .cart-shop-card__head,
  .cart-shop-card__foot,
  .checkout-store header,
  .checkout-store footer,
  .geo-card {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-message-button,
  .button,
  .product-sticky-cta .button {
    width: 100%;
  }

  .shop-profile-hero__banner {
    height: 150px;
  }

  .geo-map,
  .geo-map__yandex {
    min-height: 420px;
  }
}

/* ---------- Refined buyer header and shop search ---------- */

.site-header {
  border-bottom: 1px solid rgba(25, 25, 35, 0.08);
  background: rgba(248, 248, 247, 0.96);
}

.topbar {
  padding: 10px 0;
}

.brandmark,
.footer-brand .brandmark {
  min-height: 38px;
  font-size: clamp(1.65rem, 2.1vw, 2.1rem);
  font-weight: 800;
}

.ui-icon {
  stroke-width: 1.75;
}

.header-loc,
.header-search,
.header-cart,
.header-login,
.account-menu__button,
.account-menu__panel,
.nav a,
.button,
.category-chip,
.view-toggle,
.simple-search input {
  border-radius: 0;
}

.header-loc,
.header-cart,
.header-login,
.account-menu__button,
.nav a {
  min-height: 38px;
  height: 38px;
  font-weight: 650;
}

.header-loc {
  background: var(--card);
  border-color: var(--line);
  padding: 0 12px;
}

.header-search input {
  min-height: 38px;
  height: 38px;
  font-size: 0.9rem;
}

.header-search__submit {
  width: 30px;
  height: 30px;
  border-radius: 0;
}

.nav a {
  padding: 0 10px;
  font-size: 0.86rem;
}

.header-cart,
.header-login,
.account-menu__button {
  border-color: var(--line);
  box-shadow: none;
}

.account-menu {
  position: relative;
}

.account-menu__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.account-menu__button:hover,
.header-login:hover,
.header-cart:hover {
  border-color: var(--line-strong);
  background: #fbfbfa;
}

.account-menu__avatar {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.header-login .account-menu__avatar {
  background: var(--card);
  color: var(--ink);
}

.account-menu__name {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 180;
  width: min(260px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 16px 40px rgba(25, 25, 35, 0.1);
}

.account-menu__identity {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 9px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.account-menu__identity b {
  color: var(--ink);
  font-size: 0.92rem;
}

.account-menu__identity span {
  color: var(--muted);
  font-size: 0.8rem;
}

.account-menu__panel a,
.account-menu__panel button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.account-menu__panel a:hover,
.account-menu__panel button:hover {
  background: #f6f5f2;
}

.shops-search-band {
  margin: 12px 0 14px;
}

.shops-search {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.shops-search input {
  min-height: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.92rem;
  box-shadow: none;
}

.shops-search .button {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .topbar {
    padding: 12px 0;
  }

  .brandmark {
    font-size: 2.15rem;
  }

  .account-menu {
    display: none;
  }

  .shops-search,
  .shops-search .button {
    width: 100%;
  }
}

/* ---------- Mockup-faithful global design layer ---------- */

:root {
  --bg: #ffffff;
  --bg-strong: #f1efe8;
  --surface-cream: #f1efe8;
  --card: #ffffff;
  --card-solid: #ffffff;
  --ink: #2c2c2a;
  --muted: #5f5e5a;
  --muted-faint: #888780;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --brand: #2c2c2a;
  --brand-hover: #444441;
  --brand-soft: #f1efe8;
  --brand-faint: #f1efe8;
  --accent: #ef9f27;
  --amber-soft: #faeeda;
  --amber: #ef9f27;
  --amber-ink: #854f0b;
  --green-soft: #eaf3de;
  --green: #639922;
  --green-ink: #3b6d11;
  --pink-soft: #fbeaf0;
  --pink: #d4537e;
  --pink-ink: #993556;
  --blue-soft: #e6f1fb;
  --blue: #378add;
  --blue-ink: #185fa5;
  --coral-soft: #faece7;
  --coral: #d85a30;
  --coral-ink: #993c1d;
  --purple-soft: #eeedfe;
  --purple: #7f77dd;
  --purple-ink: #534ab7;
  --teal-soft: #e1f5ee;
  --teal: #1d9e75;
  --teal-ink: #0f6e56;
  --red-soft: #fcebeb;
  --red: #e24b4a;
  --red-ink: #a32d2d;
  --gray-soft: #f1efe8;
  --gray: #888780;
  --gray-ink: #444441;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow: none;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 13px;
  --text-lg: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

:where(h1, h2, h3, h4, h5, h6, strong, b, button, .button, .brandmark, .nav a, .section-link) {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

:where(h1) {
  font-size: 17px !important;
  line-height: 1.25 !important;
}

:where(h2, h3) {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

:where(p, li, input, textarea, select, button, a, span, small) {
  letter-spacing: 0 !important;
}

:where(small, .muted, .eyebrow, .shop-card__meta, .product-detail__rating, .account-feed-item small) {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  text-transform: none !important;
}

:where(.site-header, .header-loc, .header-search, .header-cart, .header-login, .account-menu__button, .account-menu__panel, .mobile-tabbar, .button, .category-chip, .view-toggle, .section-panel, .card, .shop-card, .product-card, .filter-panel, .buyer-profile-hero, .buyer-profile-panel, .buyer-feed, .profile-feed-card, .profile-brag, .account-summary, .account-metrics, .account-panel, .simple-hero, .account-hero, .lavka-shop, .feed-card, .cart-shop-card, .checkout-store, .order-card, .product-detail, .product-detail__image, .geo-card) {
  box-shadow: none !important;
  border-color: var(--line) !important;
}

:where(.button, .header-loc, .header-search, .header-cart, .header-login, .account-menu__button, .category-chip, .view-toggle, input, select, textarea) {
  border-radius: 8px !important;
}

:where(.section-panel, .card, .shop-card, .product-card, .filter-panel, .buyer-profile-hero, .buyer-profile-panel, .buyer-feed, .profile-feed-card, .profile-brag, .account-summary, .account-metrics, .account-panel, .simple-hero, .account-hero, .lavka-shop, .feed-card, .cart-shop-card, .checkout-store, .order-card, .product-detail, .geo-card) {
  border-radius: 12px !important;
}

:where(.button--primary, .lavka-page .button--primary) {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #ffffff !important;
}

:where(.button--ghost, .header-loc, .header-cart, .header-login, .account-menu__button, .category-chip, .view-toggle) {
  background: var(--card) !important;
  color: var(--ink) !important;
}

:where(.filter-panel, .account-panel--soft, .cart-summary, .order-summary, .home-map-filters, .live-strip, .mock-login input, .simple-search input, .header-search) {
  background: var(--bg-strong) !important;
}

.lavka-map-hero {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding-top: 10px !important;
}

.home-map-filters {
  order: 1;
}

.home-map-shell {
  order: 2;
}

.ui-icon,
.category-chip span[aria-hidden="true"],
.home-map-filter span,
.lavka-shop > span,
.shop-card__tags span:first-child:empty {
  display: none !important;
}

/* ---------- Shops page mockup: header, filters, cards ---------- */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 32px;
  padding-right: 32px;
}

.topbar {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 16px 32px !important;
}

.topbar__row--main {
  width: 100%;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 24px !important;
}

.brandmark,
.footer-brand .brandmark {
  min-height: auto !important;
  color: #2c2c2a !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  letter-spacing: -0.5px !important;
  line-height: 1 !important;
  text-transform: lowercase;
}

.brandmark span {
  color: #ef9f27;
}

.tt-icon {
  display: block;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-loc {
  flex: 0 0 auto;
  min-height: 32px !important;
  height: 32px !important;
  gap: 6px !important;
  padding: 7px 12px !important;
  border: 0 !important;
  background: #f1efe8 !important;
  color: #2c2c2a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.header-loc .tt-icon {
  width: 14px;
  height: 14px;
  color: #5f5e5a;
}

.header-loc .tt-icon:last-child {
  width: 13px;
  height: 13px;
  color: #888780;
}

.header-search {
  flex: 1 1 460px;
  max-width: 460px;
  margin-left: 0 !important;
  min-height: 34px;
  height: 34px;
  gap: 8px;
  padding: 0 14px;
  border: 0 !important;
  background: #f1efe8 !important;
  overflow: visible;
}

.header-search .tt-icon {
  width: 16px;
  height: 16px;
  color: #888780;
}

.header-search input {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  color: #2c2c2a !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.header-search input::placeholder {
  color: #888780 !important;
  opacity: 1;
}

.nav {
  gap: 4px !important;
}

.nav--desktop {
  margin-left: auto;
}

.nav a {
  min-height: 34px !important;
  height: 34px !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  background: transparent !important;
  color: #5f5e5a !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.nav a .tt-icon {
  width: 15px;
  height: 15px;
}

.nav a.is-active {
  background: #faeeda !important;
  color: #2c2c2a !important;
}

.header-actions {
  flex: 0 0 auto;
  gap: 12px !important;
}

.header-cart {
  width: 36px;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 8px !important;
  border: 0 !important;
  background: transparent !important;
}

.header-cart .tt-icon {
  width: 20px;
  height: 20px;
}

.account-menu__button,
.header-login {
  min-height: 36px !important;
  height: 36px !important;
  gap: 8px !important;
  padding: 6px 12px 6px 6px !important;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 13px !important;
}

.account-menu__avatar {
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #4a6b8a !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.shops-page--mockup {
  max-width: none;
  width: 100%;
}

.shops-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 16px 32px 14px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.shops-page--mockup .container,
.shops-page--mockup {
  width: 100%;
  max-width: none;
}

.shops-category-strip .category-chip {
  min-height: 30px;
  padding: 7px 14px;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.shops-category-strip .category-chip--active {
  border-color: #2c2c2a !important;
  background: #2c2c2a !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.shops-catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) !important;
  grid-gap: 24px !important;
  gap: 24px !important;
  max-width: none;
  margin: 0 !important;
  padding: 24px 32px;
}

.shops-catalog-layout .filter-panel {
  position: static !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}

.filter-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px !important;
  color: #2c2c2a;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.filter-panel h2::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background:
    linear-gradient(#2c2c2a, #2c2c2a) 2px 5px / 12px 1.5px no-repeat,
    linear-gradient(#2c2c2a, #2c2c2a) 2px 11px / 12px 1.5px no-repeat,
    radial-gradient(circle, #2c2c2a 0 2px, transparent 2.2px) 5px 3px / 6px 6px no-repeat,
    radial-gradient(circle, #2c2c2a 0 2px, transparent 2.2px) 11px 9px / 6px 6px no-repeat;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h3 {
  margin: 0 0 10px;
  color: #888780 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: #2c2c2a;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}

.filter-group input {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  cursor: pointer;
}

.filter-group input[type="checkbox"] {
  border-radius: 4px !important;
}

.filter-group input[type="checkbox"]:checked {
  border-color: #2c2c2a;
  background: #2c2c2a;
}

.filter-group input[type="radio"] {
  border-radius: 50% !important;
}

.filter-group input[type="radio"]:checked {
  border-color: #2c2c2a;
  background: radial-gradient(circle, #2c2c2a 0 4px, transparent 4.5px);
}

.filter-group label span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-group label:has(input:not(:checked)) {
  color: #5f5e5a;
}

.filter-live-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #1d9e75;
}

.filter-rating {
  gap: 4px !important;
}

.filter-rating::first-letter {
  color: #ef9f27;
}

.filter-panel > .button {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 13px !important;
}

.filter-panel > .button::before {
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  background:
    linear-gradient(135deg, transparent 46%, #2c2c2a 48%, #2c2c2a 52%, transparent 54%) 0 0 / 15px 15px no-repeat,
    linear-gradient(45deg, transparent 46%, #2c2c2a 48%, #2c2c2a 52%, transparent 54%) 0 0 / 15px 15px no-repeat;
  opacity: 0.9;
}

.catalog-toolbar {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
}

.catalog-toolbar p {
  margin: 0 !important;
  color: #5f5e5a !important;
  font-size: 13px !important;
}

.catalog-toolbar p span {
  color: #1d9e75 !important;
}

.catalog-toolbar > div {
  gap: 8px !important;
  color: #5f5e5a;
  font-size: 12px;
}

.catalog-toolbar .view-toggle {
  min-height: 30px;
  padding: 6px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 12px !important;
}

.shop-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 300px) !important;
  grid-gap: 16px !important;
  gap: 16px !important;
  justify-content: start;
}

.shop-card {
  width: 300px;
  display: grid !important;
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #2c2c2a !important;
}

.shop-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0 !important;
  background: #e6f1fb;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #faeeda;
  color: #854f0b;
  font-size: 32px;
  font-weight: 500;
}

.shop-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #173404;
  font-size: 10px;
}

.shop-card__heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #5f5e5a;
  font-size: 17px;
  line-height: 1;
}

.shop-card__body {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 14px;
}

.shop-card__top {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.shop-card__avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #639922;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.shop-card h3 {
  margin: 0;
  color: #2c2c2a;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.shop-card__tags {
  display: block !important;
  margin-top: 2px;
  color: #5f5e5a;
  font-size: 11px;
}

.shop-card__description {
  display: -webkit-box;
  min-height: 36px;
  overflow: hidden;
  color: #5f5e5a;
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-card__meta {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #5f5e5a !important;
  font-size: 11px !important;
}

.shop-card__rating {
  color: #5f5e5a !important;
}

.shop-card__signals {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-card__signal {
  padding: 4px 8px;
  border: 0 !important;
  border-radius: 6px !important;
  background: #f1efe8 !important;
  color: #2c2c2a !important;
  font-size: 10px !important;
}

.shop-card__signal--event {
  background: #faeeda !important;
  color: #412402 !important;
}

.shop-card__signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1d9e75;
}

@media (max-width: 1120px) {
  .shop-grid {
    grid-template-columns: repeat(auto-fill, 300px) !important;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 12px 16px !important;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar__row--main {
    gap: 10px !important;
  }

  .brandmark {
    font-size: 22px !important;
  }

  .header-loc,
  .nav--desktop {
    display: none !important;
  }

  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .mobile-tabbar {
    border-radius: 0 !important;
  }

  .shops-category-strip {
    padding: 12px 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .shops-catalog-layout {
    grid-template-columns: 1fr !important;
    padding: 16px;
  }

  .shop-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-card {
    width: 100%;
  }
}

/* ---------- Map page mockup alignment ---------- */

.map-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 32px 32px;
}

.map-page .geo-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-gap: 8px !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.map-page .geo-search input[type="text"],
.map-page .geo-search input[type="search"],
.map-page .geo-search input:not([type]) {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f1efe8 !important;
  color: #2c2c2a !important;
  font-size: 13px !important;
}

.map-page .geo-search .button {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

.map-category-filter {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.map-category-filter .home-map-filter {
  min-height: 30px !important;
  height: 30px !important;
  gap: 0 !important;
  padding: 7px 14px !important;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.map-category-filter .home-map-filter--active {
  border-color: #2c2c2a !important;
  background: #2c2c2a !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.lavka-map-hero .home-map-filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.lavka-map-hero .home-map-filter {
  min-height: 30px !important;
  height: 30px !important;
  gap: 0 !important;
  padding: 7px 14px !important;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.lavka-map-hero .home-map-filter--active {
  border-color: #2c2c2a !important;
  background: #2c2c2a !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.feed-page {
  max-width: 784px;
  margin-left: auto;
  margin-right: auto;
}

.feed-page .section-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 12px;
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 14px;
}

.feed-filter {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 18px;
  background: #fff;
  color: #2c2c2a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.feed-filter--active {
  border-color: #2c2c2a;
  background: #2c2c2a;
  color: #fff;
  font-weight: 500;
}

.feed-filter__icon {
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-page .feed-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 720px) !important;
  grid-gap: 12px !important;
  gap: 12px !important;
  justify-content: center;
}

.feed-page .feed-card {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-gap: 0;
  gap: 0;
  align-items: stretch;
}

.feed-page .feed-card__media {
  height: 100%;
  min-height: 210px;
  aspect-ratio: auto;
}

.feed-page .feed-card__content {
  padding: 18px 20px;
}

.map-page__grid {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  .map-page {
    padding: 12px 16px 24px;
  }

  .map-page .geo-search {
    grid-template-columns: 1fr !important;
  }

  .map-page .geo-search .button {
    width: 100%;
  }

  .map-category-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px !important;
  }

  .map-category-filter .home-map-filter {
    flex: 0 0 auto;
  }

  .lavka-map-hero .home-map-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px !important;
  }

  .lavka-map-hero .home-map-filter {
    flex: 0 0 auto;
  }

  .feed-page {
    max-width: none;
  }

  .feed-page .section-head {
    justify-content: flex-start;
    text-align: left;
  }

  .feed-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .feed-filter {
    flex: 0 0 auto;
  }

  .feed-page .feed-card {
    display: flex;
    flex-direction: column;
  }

  .feed-page .feed-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Shop detail compact mockup ---------- */

.shop-profile-page > .container {
  padding-top: 14px;
}

.shop-profile-page .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 0 18px;
  color: #888780;
  font-size: 12px;
}

.shop-profile-page .breadcrumbs a {
  color: #888780;
}

.shop-profile-page .breadcrumbs span:last-child {
  color: #5f5e5a;
}

.shop-page-icon {
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-profile-page .shop-profile-hero {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.shop-profile-page .shop-profile-hero__banner {
  display: none !important;
}

.shop-profile-page .shop-profile-hero__body {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
  padding: 0 0 16px !important;
}

.shop-profile-page .shop-profile-logo {
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #4a6b8a !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.shop-profile-page .shop-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-profile-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.shop-profile-page .shop-profile-main h1 {
  margin: 0;
  color: #2c2c2a;
  font-size: 22px !important;
  font-weight: 500 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.2 !important;
}

.shop-profile-page .live-pill {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 0 !important;
  border-radius: 12px;
  background: #eaf3de;
  color: #173404;
  font-size: 11px;
  font-weight: 500;
}

.shop-profile-page .live-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #1d9e75;
}

.shop-profile-page .shop-profile-main p {
  margin: 0 0 8px;
  color: #5f5e5a;
  font-size: 13px;
  line-height: 1.4;
}

.shop-profile-page .shop-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #5f5e5a;
  font-size: 12px;
}

.shop-profile-page .shop-rating-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shop-profile-page .shop-rating-row span:first-child {
  color: #5f5e5a;
  font-weight: 400;
}

.shop-profile-page .shop-rating-row span:first-child::first-letter {
  color: #ef9f27;
}

.shop-profile-page .shop-rating-row b {
  color: #2c2c2a;
  font-weight: 500 !important;
}

.shop-profile-page .shop-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.shop-profile-page .shop-actions .button {
  min-height: 34px !important;
  height: 34px !important;
  gap: 6px;
  padding: 0 14px !important;
  font-size: 13px !important;
}

.shop-action-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  color: #5f5e5a;
}

.shop-delivery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 16px;
}

.shop-delivery-strip span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f1efe8;
  color: #2c2c2a;
  font-size: 12px;
}

.shop-delivery-strip .shop-page-icon:first-child {
  color: #1d9e75;
}

.shop-profile-page .shop-tabs {
  position: static !important;
  display: flex;
  gap: 4px;
  margin: 0 -32px 0;
  padding: 0 32px;
  border: 0 !important;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
}

.shop-profile-page .shop-tabs a {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  color: #5f5e5a;
  font-size: 14px;
  font-weight: 400 !important;
}

.shop-profile-page .shop-tabs a.is-active {
  border-bottom-color: #2c2c2a;
  background: transparent !important;
  color: #2c2c2a;
  font-weight: 500 !important;
}

.shop-profile-page .shop-tabs a.is-active::after {
  display: none !important;
}

.shop-profile-page .shop-catalog-layout {
  margin-top: 0;
  /* Одна колонка: в разметке нет левого aside — иначе весь контент сжимается в 280px */
  grid-template-columns: minmax(0, 1fr);
}

.shop-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 12px;
}

.shop-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-category-row .category-chip {
  min-height: 28px !important;
  padding: 6px 12px !important;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #2c2c2a !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}

.shop-category-row .category-chip--active {
  border-color: #2c2c2a !important;
  background: #2c2c2a !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.shop-catalog-toolbar .view-toggle {
  min-height: 30px;
  padding: 6px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #fff;
  color: #2c2c2a;
  font-size: 12px;
  font-weight: 400 !important;
}

.shop-profile-page .product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  justify-content: stretch;
  grid-gap: 14px !important;
  gap: 14px !important;
}

.shop-profile-page .product-card {
  width: 100%;
  max-width: 100%;
  min-height: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  border: 0.5px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.shop-profile-page .product-media {
  aspect-ratio: 1 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  border-bottom: 0 !important;
  background: #e6f1fb !important;
}

.shop-profile-page .product-card__heart {
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #5f5e5a;
  font-size: 14px;
}

.shop-profile-page .product-card__add {
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #2c2c2a !important;
  color: #fff !important;
  font-size: 16px;
  box-shadow: none !important;
}

.shop-profile-page .product-card__body {
  padding: 12px !important;
  gap: 4px !important;
}

.shop-profile-page .product-card__body .muted {
  display: none;
}

.shop-profile-page .product-card h3 {
  min-height: 34px !important;
  margin: 0 0 2px;
  color: #2c2c2a;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.shop-profile-page .product-card__rating {
  display: none;
}

.shop-profile-page .price {
  margin-top: 4px;
  padding-top: 0;
  color: #2c2c2a;
  font-size: 15px;
  font-weight: 500 !important;
}

.shop-profile-page .product-card__stock {
  color: #1d9e75;
  font-size: 10px;
  font-weight: 400 !important;
}

@media (max-width: 900px) {
  .shop-profile-page .shop-profile-hero__body {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
  }

  .shop-profile-page .shop-profile-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .shop-profile-page .shop-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shop-profile-page > .container {
    padding-top: 12px;
  }

  .shop-profile-page .breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    white-space: nowrap;
  }

  .shop-profile-page .shop-profile-hero__body {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 12px !important;
  }

  .shop-profile-page .shop-profile-logo {
    width: 48px !important;
    height: 48px !important;
    font-size: 18px !important;
  }

  .shop-profile-title-row {
    gap: 6px;
  }

  .shop-profile-page .shop-profile-main h1 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .shop-profile-page .shop-profile-main p {
    font-size: 12px;
  }

  .shop-profile-page .shop-rating-row {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .shop-profile-page .shop-rating-row span {
    flex: 0 0 auto;
  }

  .shop-profile-page .shop-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    grid-gap: 8px;
    gap: 8px;
    width: 100%;
  }

  .shop-profile-page .shop-actions .button {
    width: 100%;
    justify-content: center;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .shop-action-icon {
    width: 34px;
  }

  .shop-delivery-strip {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .shop-delivery-strip span {
    flex: 0 0 auto;
  }

  .shop-profile-page .shop-tabs {
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .shop-profile-page .shop-tabs::-webkit-scrollbar,
  .shop-category-row::-webkit-scrollbar,
  .shop-delivery-strip::-webkit-scrollbar,
  .shop-profile-page .breadcrumbs::-webkit-scrollbar,
  .shop-profile-page .shop-rating-row::-webkit-scrollbar {
    display: none;
  }

  .shop-profile-page .shop-tabs a {
    flex: 0 0 auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .shop-catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
  }

  .shop-category-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .shop-category-row .category-chip {
    flex: 0 0 auto;
  }

  .shop-catalog-toolbar .view-toggle {
    align-self: flex-start;
  }

  .shop-profile-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .shop-profile-page .product-card {
    width: 100%;
  }

  .shop-profile-page .product-card h3 {
    min-height: 32px !important;
    font-size: 12px !important;
  }

  .shop-profile-page .price {
    font-size: 14px;
  }
}

/* ---------- Current cart/account fixes ---------- */

.cart-layout--single {
  display: block !important;
}

.cart-layout--single .cart-groups {
  max-width: 980px !important;
  margin: 0 auto !important;
}

.cart-shop-card__summary {
  display: grid !important;
  justify-items: end !important;
  grid-gap: 6px !important;
  gap: 6px !important;
}

.cart-shop-card__remove {
  border: 0 !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
}

.cart-shop-card__foot span {
  color: var(--muted) !important;
  font-size: 13px !important;
}

.cart-shop-card__foot b {
  color: var(--ink) !important;
  font-weight: 500 !important;
}

.cart-shop-form {
  display: grid !important;
  grid-gap: 12px !important;
  gap: 12px !important;
  padding: 16px 18px 18px !important;
  border-top: 0.5px solid var(--line) !important;
  background: #fff !important;
}

.cart-shop-form__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-gap: 12px !important;
  gap: 12px !important;
}

.cart-shop-form label {
  display: grid !important;
  grid-gap: 6px !important;
  gap: 6px !important;
}

.cart-shop-form label span {
  color: var(--muted) !important;
  font-size: 11px !important;
}

.cart-shop-form input,
.cart-shop-form select,
.cart-shop-form textarea {
  width: 100% !important;
  border: 0.5px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  outline: none !important;
}

.cart-shop-form input,
.cart-shop-form select {
  min-height: 38px !important;
  padding: 0 10px !important;
}

.cart-shop-form textarea {
  min-height: 74px !important;
  resize: vertical !important;
  padding: 10px !important;
}

.cart-shop-form .button {
  justify-self: start !important;
}

.account-page {
  display: grid !important;
  grid-gap: 16px !important;
  gap: 16px !important;
  padding-top: 24px !important;
  padding-bottom: 40px !important;
}

.account-login,
.account-summary,
.account-metrics,
.account-panel {
  border: 0.5px solid var(--line) !important;
  background: #fff !important;
}

.account-login,
.account-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px !important;
}

.account-summary__identity,
.account-summary__actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.account-summary__actions {
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}

.account-page .account-avatar {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  background: #4a6b8a !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.account-metrics {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.account-metrics article {
  display: grid !important;
  grid-gap: 2px !important;
  gap: 2px !important;
  padding: 14px 16px !important;
  border-right: 0.5px solid var(--line) !important;
}

.account-metrics article:last-child {
  border-right: 0 !important;
}

.account-dashboard {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr) !important;
  grid-gap: 16px !important;
  gap: 16px !important;
  align-items: start !important;
}

.account-panel {
  display: grid !important;
  grid-gap: 14px !important;
  gap: 14px !important;
  padding: 16px !important;
}

.account-panel__head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.account-empty {
  display: grid !important;
  grid-gap: 8px !important;
  gap: 8px !important;
  padding: 18px !important;
  border: 0.5px solid var(--line) !important;
  background: var(--bg-strong) !important;
}

.account-empty .button {
  justify-self: start !important;
  margin-top: 4px !important;
}

.account-link-list,
.account-subscriptions,
.account-feed {
  display: grid !important;
  grid-gap: 8px !important;
  gap: 8px !important;
}

.account-link-list a,
.account-subscription,
.account-feed-item {
  display: grid !important;
  grid-gap: 2px !important;
  gap: 2px !important;
  padding: 12px !important;
  border: 0.5px solid var(--line) !important;
  background: #fff !important;
}

.account-subscription {
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  gap: 10px !important;
}

.account-subscription > span {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #888780 !important;
}

.account-subscription--amber > span {
  background: #ef9f27 !important;
}

.account-subscription--green > span {
  background: #639922 !important;
}

.account-subscription--coral > span {
  background: #d85a30 !important;
}

@media (max-width: 900px) {
  .account-dashboard,
  .cart-shop-form__grid {
    grid-template-columns: 1fr !important;
  }

  .account-summary,
  .account-login {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .account-summary__actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 640px) {
  .account-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .account-metrics article:nth-child(2n) {
    border-right: 0 !important;
  }

  .cart-shop-card__head,
  .cart-item {
    grid-template-columns: 44px 1fr !important;
  }

  .cart-shop-card__summary,
  .cart-item b,
  .cart-item__remove {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .cart-shop-form .button {
    width: 100% !important;
  }
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin","cyrillic"],"variable":"--font-inter","display":"swap"}],"variableName":"inter"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_fcbcbf {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_fcbcbf {--font-inter: 'Inter', 'Inter Fallback'
}

