:root {
  --ink: #1b392f;
  --ink-deep: #112a22;
  --ink-soft: #2f5044;
  --accent: #d45b35;
  --accent-deep: #b94726;
  --accent-soft: #f3dfd2;
  --paper: #fbfaf7;
  --cream: #f4efe6;
  --cream-deep: #eee4d5;
  --white: #ffffff;
  --muted: #73776f;
  --line: #e7e1d6;
  --sage: #7f977f;
  --shadow: 0 20px 50px rgba(34, 48, 42, 0.08);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

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

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink-deep);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.top-note {
  position: relative;
  z-index: 20;
  color: #dce5dc;
  background: var(--ink-deep);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.top-note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.top-note p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-note svg {
  width: 14px;
  height: 14px;
  color: #b9cfb9;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px 14px 14px 4px;
  color: #fff7ed;
  background: var(--accent);
  box-shadow: 0 9px 20px rgba(212, 91, 53, 0.2);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  color: var(--ink-deep);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 29px 0 27px;
  color: #424c46;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 20px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
  transition: right 0.2s ease, left 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
  left: 0;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  color: #3e4a43;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.icon-button:hover {
  color: var(--accent);
  background: var(--cream);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 1px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 20px;
  color: var(--white);
  background: var(--accent);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.merchant-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 43px;
  padding: 0 17px;
  border-radius: 12px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(212, 91, 53, 0.18);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.merchant-button:hover {
  background: var(--accent-deep);
  box-shadow: 0 10px 24px rgba(212, 91, 53, 0.26);
  transform: translateY(-1px);
}

.merchant-button svg {
  width: 17px;
  height: 17px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream);
}

.mobile-menu-button svg {
  width: 22px;
  height: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  align-items: center;
  min-height: 680px;
  padding-top: 50px;
  padding-bottom: 46px;
  gap: clamp(36px, 7vw, 110px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 40px 0 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
}

.eyebrow svg {
  width: 13px;
  height: 13px;
}

.hero h1 {
  max-width: 700px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: clamp(48px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-divider {
  color: #9d9e96;
  font-weight: 400;
}

.hero-lead {
  max-width: 570px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-search {
  display: flex;
  align-items: center;
  max-width: 565px;
  height: 58px;
  margin-top: 32px;
  padding: 6px 6px 6px 19px;
  border: 1px solid #ded6c9;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(43, 52, 46, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 13px 35px rgba(212, 91, 53, 0.12);
}

.hero-search > svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #7e837c;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.hero-search input::placeholder {
  color: #a1a39d;
}

.hero-search button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 22px;
  border-radius: 11px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.hero-search button:hover {
  background: var(--accent);
}

.search-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 16px;
  color: #90948e;
  font-size: 11px;
}

.search-tags button {
  padding: 0;
  color: #5c635e;
  background: transparent;
  font-size: 11px;
  transition: color 0.2s ease;
}

.search-tags button:hover {
  color: var(--accent);
}

.hero-collage {
  position: relative;
  min-height: 565px;
}

.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #d8d2c4;
  box-shadow: 0 24px 58px rgba(30, 48, 40, 0.14);
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 31, 24, 0.12), transparent 32%),
    linear-gradient(0deg, rgba(8, 29, 22, 0.78), transparent 54%);
  content: "";
}

.hero-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  transition: transform 1s ease;
}

.hero-frame:hover > img {
  transform: scale(1.025);
}

.hero-frame-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px;
  color: var(--white);
  pointer-events: none;
}

.hero-frame-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  color: #f7f2e9;
  background: rgba(15, 42, 33, 0.35);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.hero-frame-label svg {
  width: 14px;
  height: 14px;
}

.hero-frame-copy {
  display: flex;
  max-width: 210px;
  flex-direction: column;
  text-shadow: 0 2px 12px rgba(4, 18, 13, 0.3);
}

.hero-frame-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.hero-frame-copy strong {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.hero-product-carousel {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 22px;
  width: 228px;
}

.hero-product-slides {
  position: relative;
  height: 91px;
}

.hero-product-card {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  color: var(--ink-deep);
  text-align: left;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 14px 32px rgba(9, 29, 22, 0.2);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
}

.hero-product-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.hero-product-card:hover {
  box-shadow: 0 18px 38px rgba(9, 29, 22, 0.26);
  transform: translateY(-2px);
}

.hero-product-image {
  width: 66px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
}

.hero-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hero-product-copy small {
  color: var(--accent);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-product-copy strong {
  margin: 2px 0 3px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-product-copy > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.hero-product-copy svg {
  width: 12px;
  height: 12px;
  margin-left: auto;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 0 3px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-carousel-dot {
  width: 4px;
  height: 4px;
  padding: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-carousel-dot.is-active {
  width: 14px;
  background: #f8efe1;
}

.hero-seal {
  position: absolute;
  z-index: 5;
  top: 25px;
  right: 25px;
  display: flex;
  width: 76px;
  height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff7ed;
  background: var(--ink);
  box-shadow: 0 12px 25px rgba(17, 42, 34, 0.25);
  transform: rotate(7deg);
}

.hero-seal::after {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  content: "";
}

.hero-seal span {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.hero-seal strong {
  margin: 2px 0;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 52, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.95), transparent 30%),
    linear-gradient(148deg, #f6f1e7 0%, #eef1e2 58%, #e9d5c2 100%);
  box-shadow: 0 24px 58px rgba(30, 48, 40, 0.14);
  isolation: isolate;
}

.hero-stage::before {
  position: absolute;
  z-index: 0;
  top: 118px;
  left: -80px;
  width: 520px;
  height: 330px;
  border: 1px solid rgba(23, 63, 52, 0.12);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.hero-stage::after {
  position: absolute;
  z-index: 0;
  right: 45px;
  bottom: -68px;
  color: rgba(23, 63, 52, 0.055);
  font-family: var(--serif);
  font-size: 250px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
  content: "07";
}

.hero-stage-top {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 25px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 8px;
  color: #f7f2e9;
  background: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-stage-label svg {
  width: 14px;
  height: 14px;
}

.hero-stage-index {
  color: #738077;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-stage-main {
  position: absolute;
  z-index: 3;
  top: 75px;
  left: 3%;
  width: 61%;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

.hero-stage-main > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(24, 45, 37, 0.18));
  transform: rotate(-12deg) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-stage-main:hover > img {
  transform: rotate(-6deg) scale(0.98);
}

.hero-stage-orbit {
  position: absolute;
  z-index: 1;
  inset: -5%;
  border: 1px dashed rgba(23, 63, 52, 0.22);
  border-radius: 50%;
  transform: rotate(16deg);
}

.hero-stage-price {
  position: absolute;
  z-index: 4;
  right: -7px;
  bottom: 11%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 9px 12px;
  border-radius: 9px;
  color: #f8f3e9;
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(23, 51, 41, 0.2);
}

.hero-stage-price small {
  color: #bbcbbf;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.hero-stage-price strong {
  margin-top: 1px;
  color: #f0df9a;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.hero-stage-side {
  position: absolute;
  z-index: 4;
  top: 78px;
  right: 3%;
  display: flex;
  width: 27%;
  flex-direction: column;
  gap: 12px;
}

.hero-stage-item {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  text-align: left;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 12px 25px rgba(31, 50, 42, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-stage-item:hover {
  box-shadow: 0 16px 30px rgba(31, 50, 42, 0.18);
  transform: translateY(-3px);
}

.hero-stage-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
}

.hero-stage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 7px 3px 3px;
}

.hero-stage-meta small {
  color: var(--accent);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-stage-meta strong {
  margin-top: 1px;
  overflow: hidden;
  color: var(--ink-deep);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-stage-footer {
  position: absolute;
  z-index: 4;
  bottom: 25px;
  left: 27px;
  display: flex;
  max-width: 240px;
  flex-direction: column;
}

.hero-stage-footer span {
  color: #7c887e;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-stage-footer strong {
  margin-top: 3px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  display: grid;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: #667f37;
  background: #eff3db;
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-item div {
  display: flex;
  flex-direction: column;
}

.service-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.service-item div span {
  margin-top: 2px;
  color: #8d918a;
  font-size: 10px;
}

.products-section,
.shops-section {
  scroll-margin-top: 110px;
}

.products-section {
  padding-top: 92px;
  padding-bottom: 106px;
}

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

.section-kicker {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.section-kicker.light {
  color: #d9bd9e;
}

.section-heading h2,
.shops-heading h2 {
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-intro {
  max-width: 375px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 9px;
  color: #6e746e;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.category-tab:hover {
  color: var(--accent);
  background: #f6efe8;
}

.category-tab.is-active {
  color: var(--white);
  background: var(--ink);
}

.catalog-count {
  flex: 0 0 auto;
  color: #9a9c96;
  font-size: 11px;
}

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

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee9df;
  border-radius: 16px;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  animation: card-in 0.45s both;
}

.product-card:hover {
  border-color: #eadbcf;
  box-shadow: 0 18px 38px rgba(37, 53, 45, 0.09);
  transform: translateY(-5px);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  background: #f0ece3;
}

.product-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.product-tag {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 252, 246, 0.9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 11px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #697169;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(35, 45, 39, 0.06);
  backdrop-filter: blur(6px);
  transition: color 0.2s ease, transform 0.2s ease;
}

.favorite-button:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.favorite-button svg {
  width: 16px;
  height: 16px;
}

.favorite-button.is-active {
  color: var(--accent);
}

.favorite-button.is-active svg {
  fill: currentColor;
}

.product-info {
  padding: 17px 17px 18px;
}

.product-shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  margin-bottom: 8px;
  gap: 8px;
}

.product-shop {
  overflow: hidden;
  color: #92968f;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-shop::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #9db29d;
  vertical-align: 1px;
  content: "";
}

.product-stock {
  flex: 0 0 auto;
  color: #849784;
  font-size: 9px;
}

.product-title {
  overflow: hidden;
  color: var(--ink-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-description {
  overflow: hidden;
  margin-top: 5px;
  color: #8b8f88;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}

.product-price {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-price small {
  margin-right: 1px;
  font-family: var(--sans);
  font-size: 11px;
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: 1px solid #eadfd5;
  border-radius: 50%;
  color: var(--accent);
  background: #fffaf5;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.add-button:hover {
  color: var(--white);
  background: var(--accent);
  transform: rotate(-8deg);
}

.add-button svg {
  width: 16px;
  height: 16px;
}

.empty-state {
  padding: 84px 24px 65px;
  border: 1px dashed #ded7ca;
  border-radius: 18px;
  text-align: center;
  background: #fcfaf6;
}

.empty-state > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-family: var(--serif);
  font-size: 25px;
}

.empty-state h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.empty-state p {
  margin: 6px 0 17px;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 4px;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.text-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.text-button:hover svg {
  transform: translateX(3px);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  background: var(--ink);
}

.manifesto-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 5.5vw, 76px);
}

.manifesto-copy h2 {
  color: #f8f2e9;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.045em;
}

.manifesto-copy > p:not(.section-kicker) {
  max-width: 455px;
  margin-top: 24px;
  color: #c6d1c9;
  font-size: 13px;
  line-height: 2;
}

.manifesto-values {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
  color: #d5dfd6;
  font-size: 11px;
}

.manifesto-values span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.manifesto-values b {
  color: #98ad9c;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 500;
}

.light-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  height: 43px;
  margin-top: 33px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--ink);
  background: #f4eade;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.light-button:hover {
  color: var(--white);
  background: var(--accent);
}

.light-button svg {
  width: 15px;
  height: 15px;
}

.manifesto-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.manifesto-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 42, 34, 0.18), transparent 42%, rgba(17, 42, 34, 0.1));
  content: "";
}

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

.manifesto:hover .manifesto-image img {
  transform: scale(1.025);
}

.shops-section {
  padding-top: 108px;
  padding-bottom: 112px;
}

.shops-heading {
  align-items: flex-end;
}

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

.shop-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 21px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  background: #fdfcf9;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card:hover {
  border-color: #dbccbc;
  box-shadow: 0 14px 28px rgba(38, 51, 44, 0.06);
  transform: translateY(-3px);
}

.shop-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 51px;
  height: 51px;
  place-items: center;
  border-radius: 50%;
  color: #fdf9f4;
  font-family: var(--serif);
  font-size: 21px;
}

.avatar-clay {
  background: #b67652;
}

.avatar-paper {
  background: #7a8874;
}

.avatar-green {
  background: #486d5b;
}

.avatar-light {
  background: #d29160;
}

.shop-meta {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.shop-number {
  color: #a2a49d;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.shop-meta strong {
  overflow: hidden;
  margin: 2px 0;
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-meta > span:last-child {
  overflow: hidden;
  color: #8c9089;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #979b94;
  background: var(--cream);
  transition: color 0.2s ease, background 0.2s ease;
}

.shop-card:hover .shop-arrow {
  color: var(--white);
  background: var(--accent);
}

.shop-arrow svg {
  width: 12px;
  height: 12px;
}

.site-footer {
  color: #c8d2ca;
  background: var(--ink-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 2fr) 0.82fr 0.82fr 1.25fr;
  gap: 52px;
  padding-top: 64px;
  padding-bottom: 53px;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-mark {
  background: #d46842;
}

.brand-footer .brand-copy strong {
  color: #f3f1ec;
}

.brand-footer .brand-copy span {
  color: #8ea198;
}

.footer-brand > p {
  max-width: 330px;
  margin-top: 19px;
  color: #90a198;
  font-size: 11px;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-column h3 {
  margin-bottom: 9px;
  color: #e3e9e4;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.footer-column a,
.footer-column button,
.footer-column p {
  padding: 0;
  color: #8fa198;
  background: transparent;
  font-size: 10px;
  line-height: 1.75;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #f3e4d6;
}

.footer-contact a {
  color: #c4d0c7;
  font-size: 11px;
}

.footer-contact p {
  max-width: 225px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-top: 1px solid #294237;
  gap: 24px;
  color: #7e9187;
  font-size: 9px;
}

.footer-bottom a {
  color: #a9b9b0;
  text-decoration: underline;
  text-decoration-color: #50665b;
  text-underline-offset: 3px;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.public-security-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-security-badge {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #d2b35d;
  border-radius: 50%;
  color: #fff5d5;
  background: #b64b3c;
  box-shadow: inset 0 0 0 2px #b64b3c;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.mobile-nav {
  position: fixed;
  z-index: 200;
  inset: 0;
  visibility: hidden;
  background: rgba(17, 42, 34, 0.45);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-nav-panel {
  display: flex;
  width: min(86vw, 390px);
  height: 100%;
  margin-left: auto;
  flex-direction: column;
  padding: 23px 26px 30px;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-head button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  margin-top: 55px;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
}

.mobile-nav nav a span {
  color: #a5a69f;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.mobile-nav-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.mobile-nav-actions button {
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.mobile-nav-actions button:last-child {
  border-color: var(--accent);
  color: var(--white);
  background: var(--accent);
}

.modal {
  width: min(calc(100% - 36px), 900px);
  max-height: calc(100vh - 42px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(16, 33, 26, 0.3);
}

.modal[open] {
  animation: modal-in 0.25s ease both;
}

.modal::backdrop {
  background: rgba(13, 31, 24, 0.55);
  backdrop-filter: blur(6px);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 4px 14px rgba(27, 57, 47, 0.08);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-close svg {
  width: 17px;
  height: 17px;
}

.auth-modal {
  display: none;
  grid-template-columns: 0.84fr 1.16fr;
  overflow: hidden;
}

.auth-modal[open] {
  display: grid;
}

.account-modal {
  width: min(calc(100% - 36px), 520px);
  overflow: hidden;
}

.account-content {
  padding: 52px 46px 38px;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 22px;
}

.account-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 63, 52, 0.2);
}

.account-avatar svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.account-profile h2 {
  margin: 0;
  font-size: 31px;
}

.account-profile p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  word-break: break-all;
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.account-stats > div {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfaf6;
}

.account-stats span,
.account-stats strong {
  display: block;
}

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

.account-stats strong {
  margin-top: 7px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.account-stats b {
  color: var(--accent);
  font-size: 22px;
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 24px;
}

.secondary-button,
.logout-button {
  height: 46px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.secondary-button:hover {
  border-color: var(--ink);
}

.logout-button {
  color: var(--accent);
  background: var(--accent-soft);
}

.logout-button:hover {
  color: var(--white);
  background: var(--accent);
}

.modal-aside {
  position: relative;
  display: flex;
  min-height: 600px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 42px 38px;
  color: #f4f0e7;
  background:
    linear-gradient(rgba(17, 42, 34, 0.12), rgba(17, 42, 34, 0.55)),
    url("assets/court-action.jpg") center 47% / cover;
}

.modal-aside::before {
  position: absolute;
  top: -124px;
  left: -95px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.modal-aside-mark {
  position: absolute;
  top: 37px;
  left: 38px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px 16px 16px 4px;
  font-family: var(--serif);
  font-size: 27px;
}

.modal-aside p {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.modal-aside > span:last-child {
  margin-top: 17px;
  color: #d6dfd7;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.modal-content {
  padding: 54px 62px 44px;
}

.modal-kicker {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.modal-content h2 {
  margin-top: 8px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.modal-subtitle {
  max-width: 460px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0 21px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  position: relative;
  padding: 11px;
  color: #959991;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.auth-tabs button::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  background: var(--accent);
  content: "";
  transition: left 0.2s ease, right 0.2s ease;
}

.auth-tabs button.is-active {
  color: var(--ink);
}

.auth-tabs button.is-active::after {
  right: 0;
  left: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
}

.field > span:first-child {
  color: #5e665f;
  font-size: 10px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ded9d0;
  border-radius: 9px;
  outline: none;
  background: var(--white);
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
  height: 44px;
  padding: 0 13px;
}

.field textarea {
  min-height: 88px;
  padding: 11px 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 91, 53, 0.09);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b0b0aa;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 35px;
  appearance: none;
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 15px;
  height: 15px;
  color: #8c918a;
  pointer-events: none;
  transform: translateY(-50%);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 15px;
  color: #858b84;
  font-size: 9px;
  line-height: 1.7;
}

.check-field input {
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.auth-message {
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid rgba(212, 91, 53, 0.24);
  border-radius: 8px;
  color: var(--accent-deep);
  background: rgba(212, 91, 53, 0.08);
  font-size: 11px;
  line-height: 1.6;
}

.submit-button {
  width: 100%;
  height: 46px;
  margin-top: 21px;
  border-radius: 9px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
  background: var(--accent);
}

.submit-button:active {
  transform: translateY(1px);
}

.merchant-modal {
  width: min(calc(100% - 36px), 760px);
}

.merchant-content {
  padding: 54px 54px 45px;
}

.merchant-form {
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product-modal {
  width: min(calc(100% - 36px), 880px);
}

.product-modal-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  min-height: 510px;
}

.product-modal-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 57px 53px;
}

.product-modal-copy h2 {
  margin-top: 9px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.product-modal-copy .product-shop {
  margin-top: 13px;
}

.product-modal-desc {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.product-detail-list {
  display: grid;
  gap: 7px;
  margin: 19px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #737b74;
  font-size: 10px;
  list-style: none;
}

.product-detail-list li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "·";
}

.product-modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
}

.product-modal-price-row .product-price {
  font-size: 28px;
}

.product-modal-price-row .submit-button {
  width: auto;
  min-width: 155px;
  height: 44px;
  margin: 0;
}

.cart-drawer {
  position: fixed;
  z-index: 160;
  top: 0;
  right: 0;
  display: flex;
  width: min(450px, 100vw);
  height: 100dvh;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -20px 0 70px rgba(15, 32, 25, 0.18);
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 31px 28px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.drawer-head h2 span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-family: var(--sans);
  font-size: 9px;
  vertical-align: 5px;
}

.round-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
}

.round-button:hover {
  color: var(--accent);
}

.round-button svg {
  width: 17px;
  height: 17px;
}

.cart-items {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 19px 27px;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  width: 84px;
  height: 92px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--cream);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.cart-item-copy h3 {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-copy > span {
  margin-top: 2px;
  color: #8f948d;
  font-size: 9px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  gap: 12px;
}

.cart-item-bottom strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quantity-control button {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #6c746e;
  background: transparent;
}

.quantity-control button:hover {
  color: var(--accent);
}

.quantity-control svg {
  width: 11px;
  height: 11px;
}

.quantity-control span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 10px;
}

.remove-item {
  margin-left: 3px;
  padding: 3px;
  color: #a3a59f;
  background: transparent;
}

.remove-item:hover {
  color: var(--accent);
}

.remove-item svg {
  width: 13px;
  height: 13px;
}

.cart-empty {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.cart-empty > span {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #8da092;
  background: #edf1eb;
}

.cart-empty > span svg {
  width: 28px;
  height: 28px;
}

.cart-empty h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.cart-empty p {
  margin: 6px 0 19px;
  color: var(--muted);
  font-size: 11px;
}

.cart-drawer.is-empty .cart-empty {
  display: flex;
}

.cart-drawer.is-empty .cart-footer {
  display: none;
}

.cart-footer {
  padding: 22px 28px 26px;
  border-top: 1px solid var(--line);
  background: #f7f3eb;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cart-total-row > span {
  font-size: 11px;
  font-weight: 600;
}

.cart-total-row strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.cart-total-row strong b {
  font-weight: inherit;
}

.cart-footer > p {
  margin-top: 2px;
  color: #999b95;
  font-size: 9px;
}

.cart-footer .submit-button {
  margin-top: 17px;
}

.page-overlay {
  position: fixed;
  z-index: 150;
  inset: 0;
  visibility: hidden;
  background: rgba(12, 29, 22, 0.48);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

.toast {
  position: fixed;
  inset: auto auto 27px 50%;
  z-index: 300;
  display: none;
  width: max-content;
  align-items: center;
  gap: 11px;
  min-width: 255px;
  max-width: calc(100vw - 36px);
  margin: 0;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #eff4ef;
  background: var(--ink-deep);
  box-shadow: 0 15px 35px rgba(15, 32, 25, 0.25);
  pointer-events: none;
  transform: translate(-50%, 12px);
}

.toast:popover-open,
.toast.is-visible {
  display: flex;
  animation: toast-in 0.22s ease both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.toast > span {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #527763;
}

.toast svg {
  width: 14px;
  height: 14px;
}

.toast p {
  font-size: 11px;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 20px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(45px, 5vw, 62px);
  }

  .hero-collage {
    min-height: 520px;
  }

  .service-item {
    gap: 9px;
    padding: 15px 10px;
  }

  .footer-main {
    grid-template-columns: minmax(280px, 1.7fr) 0.8fr 0.8fr 1.1fr;
    gap: 34px;
  }
}

@media (max-width: 960px) {
  .shell {
    width: min(calc(100% - 44px), var(--shell));
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    place-items: center;
  }

  .header-inner {
    min-height: 76px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 52px;
    gap: 26px;
  }

  .hero-copy {
    max-width: 680px;
    padding: 10px 0 0;
  }

  .hero h1 {
    font-size: clamp(46px, 7.5vw, 66px);
  }

  .hero-collage {
    width: min(100%, 610px);
    min-height: 550px;
    margin: 0 auto;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .service-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .manifesto-copy {
    padding: 45px 36px;
  }

  .manifesto-copy h2 {
    font-size: 38px;
  }

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

  .footer-main {
    grid-template-columns: 1.6fr 0.8fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, auto);
    align-items: center;
    gap: 12px 20px;
    padding-top: 20px;
    border-top: 1px solid #294237;
  }

  .footer-contact h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .footer-contact p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .top-note-inner p:last-child {
    display: none;
  }

  .top-note-inner {
    justify-content: center;
  }

  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px 12px 12px 4px;
    font-size: 22px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy span {
    font-size: 7px;
  }

  .header-actions {
    gap: 2px;
  }

  .account-button .account-label,
  .merchant-button span {
    display: none;
  }

  .merchant-button {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .merchant-button svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.4vw, 44px);
    line-height: 1.22;
    white-space: normal;
  }

  .hero-lead {
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-search {
    height: 54px;
    margin-top: 25px;
    padding-left: 14px;
  }

  .hero-search input {
    padding: 0 9px;
    font-size: 12px;
  }

  .hero-search button {
    height: 42px;
    padding: 0 15px;
    font-size: 11px;
  }

  .hero-collage {
    min-height: 500px;
  }

  .hero-stage {
    border-radius: 24px;
  }

  .hero-stage-top {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  .hero-stage-label {
    padding: 7px 9px;
    font-size: 8px;
  }

  .hero-stage-index {
    display: none;
  }

  .hero-stage-main {
    top: 72px;
    left: -5%;
    width: 68%;
  }

  .hero-stage-side {
    top: 72px;
    right: 3%;
    width: 23%;
    gap: 8px;
  }

  .hero-stage-item {
    padding: 5px;
    border-radius: 11px;
  }

  .hero-stage-thumb {
    aspect-ratio: 1;
    border-radius: 7px;
  }

  .hero-stage-meta {
    padding: 5px 2px 2px;
  }

  .hero-stage-meta strong {
    font-size: 9px;
  }

  .hero-stage-price {
    right: 0;
    bottom: 8%;
    padding: 7px 9px;
  }

  .hero-stage-price small {
    font-size: 6px;
  }

  .hero-stage-price strong {
    font-size: 13px;
  }

  .hero-stage-footer {
    bottom: 18px;
    left: 18px;
  }

  .hero-stage-footer strong {
    font-size: 17px;
  }

  .hero-frame {
    border-radius: 24px;
  }

  .hero-frame-content {
    padding: 18px;
  }

  .hero-frame-label {
    padding: 7px 9px;
    font-size: 8px;
  }

  .hero-frame-copy {
    display: none;
  }

  .hero-seal {
    top: 18px;
    right: 18px;
    width: 66px;
    height: 66px;
  }

  .hero-seal strong {
    font-size: 9px;
  }

  .hero-product-carousel {
    right: 16px;
    bottom: 16px;
    width: 210px;
  }

  .hero-product-card {
    padding: 8px;
    border-radius: 14px;
  }

  .hero-product-image {
    width: 56px;
    height: 62px;
    border-radius: 9px;
  }

  .hero-product-copy strong {
    font-size: 13px;
  }

  .service-strip {
    width: 100%;
  }

  .service-item {
    justify-content: flex-start;
    min-height: 76px;
    padding: 12px 17px;
  }

  .service-item strong {
    font-size: 11px;
  }

  .service-item div span {
    font-size: 8px;
  }

  .products-section {
    padding-top: 66px;
    padding-bottom: 78px;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading h2,
  .shops-heading h2 {
    font-size: 35px;
  }

  .section-intro {
    margin-top: 13px;
    padding: 0;
  }

  .catalog-toolbar {
    align-items: flex-start;
    padding: 10px 0;
  }

  .catalog-count {
    display: none;
  }

  .category-tab {
    padding: 8px 14px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px 11px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-tag {
    top: 9px;
    left: 9px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .favorite-button {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }

  .product-info {
    padding: 12px 12px 14px;
  }

  .product-title {
    font-size: 14px;
  }

  .product-description {
    font-size: 9px;
  }

  .product-shop {
    font-size: 8px;
  }

  .product-stock {
    display: none;
  }

  .product-bottom {
    margin-top: 12px;
  }

  .product-price {
    font-size: 19px;
  }

  .add-button {
    width: 33px;
    height: 33px;
  }

  .manifesto {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .manifesto-copy {
    padding: 42px 28px 40px;
  }

  .manifesto-copy h2 {
    font-size: 36px;
  }

  .manifesto-image {
    min-height: 270px;
  }

  .shops-section {
    padding-top: 77px;
    padding-bottom: 80px;
  }

  .shops-heading {
    display: flex;
    align-items: flex-end;
  }

  .shops-heading .text-button {
    padding-bottom: 3px;
    font-size: 10px;
    white-space: nowrap;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .shop-card {
    padding: 15px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    display: flex;
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }

  .auth-modal[open] {
    display: block;
  }

  .modal-aside {
    min-height: 130px;
    padding: 28px;
  }

  .modal-aside-mark {
    top: 24px;
    left: 28px;
    width: 43px;
    height: 43px;
    font-size: 23px;
  }

  .modal-aside p {
    display: none;
  }

  .modal-aside > span:last-child {
    margin-top: auto;
  }

  .modal-content {
    padding: 37px 25px 29px;
  }

  .modal-content h2 {
    font-size: 30px;
  }

  .account-content {
    padding: 47px 24px 27px;
  }

  .account-profile h2 {
    font-size: 27px;
  }

  .merchant-content {
    padding: 49px 24px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-modal-layout {
    grid-template-columns: 1fr;
  }

  .product-modal-image {
    min-height: 290px;
    max-height: 43vh;
  }

  .product-modal-copy {
    padding: 32px 25px 30px;
  }

  .product-modal-copy h2 {
    font-size: 28px;
  }

  .product-modal-price-row {
    align-items: flex-end;
  }

  .product-modal-price-row .submit-button {
    min-width: 140px;
  }

  .cart-drawer {
    width: 100vw;
  }

  .drawer-head {
    padding: 24px 21px 17px;
  }

  .cart-item {
    padding: 17px 21px;
  }

  .cart-footer {
    padding: 18px 21px 20px;
  }

  .toast {
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    max-width: 126px;
    line-height: 1.25;
  }

  .brand-copy span {
    display: none;
  }

  .account-button {
    display: none;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-collage {
    min-height: 425px;
  }

  .hero-stage-main {
    left: -9%;
    width: 72%;
  }

  .hero-stage-side {
    top: 66px;
    right: 2%;
    width: 24%;
  }

  .hero-stage-meta small {
    font-size: 6px;
  }

  .hero-stage-meta strong {
    font-size: 8px;
  }

  .hero-stage-footer {
    bottom: 14px;
    left: 14px;
  }

  .hero-stage-footer span {
    font-size: 6px;
  }

  .hero-stage-footer strong {
    font-size: 15px;
  }

  .hero-frame-label {
    max-width: 150px;
  }

  .hero-seal {
    top: 16px;
    right: 16px;
    width: 62px;
    height: 62px;
  }

  .hero-product-carousel {
    right: 12px;
    bottom: 12px;
    width: 200px;
  }

  .hero-product-image {
    width: 52px;
    height: 58px;
  }

  .hero-seal span {
    font-size: 6px;
  }

  .hero-seal strong {
    font-size: 8px;
  }

  .service-item {
    padding: 11px 13px;
  }

  .service-icon {
    width: 32px;
    height: 32px;
  }

  .service-icon svg {
    width: 15px;
    height: 15px;
  }

  .service-item div span {
    display: none;
  }

  .manifesto-image {
    min-height: 220px;
  }

  .shops-heading .text-button {
    display: none;
  }

  .footer-main {
    gap: 30px 18px;
  }

  .product-modal-price-row {
    display: block;
  }

  .product-modal-price-row .submit-button {
    width: 100%;
    margin-top: 14px;
  }
}

@media (max-width: 360px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
    gap: 6px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .brand-copy strong {
    max-width: 100px;
    font-size: 11px;
  }

  .header-actions {
    gap: 0;
  }

  .icon-button,
  .mobile-menu-button,
  .merchant-button {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .icon-button svg,
  .mobile-menu-button svg,
  .merchant-button svg {
    width: 17px;
    height: 17px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
