@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --display-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body-font: "Manrope", "Segoe UI", Arial, sans-serif;
  --paper: #fbf6eb;
  --paper-strong: #fffaf0;
  --ink: #382b23;
  --muted: #76695f;
  --sage: #78936e;
  --sage-dark: #506b49;
  --terracotta: #b86f4b;
  --clay: #d9aa7e;
  --sky: #9fc3ca;
  --cream: #f3e2bf;
  --line: rgba(83, 65, 50, 0.18);
  --shadow: 0 18px 48px rgba(69, 47, 32, 0.14);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.6;
  overflow-x: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(120, 147, 110, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, var(--paper), #f7edda 58%, #f9f2e6);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(56, 43, 35, 0.05) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  opacity: 0.35;
  z-index: -1;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 10px 0 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.header-inner {
  width: min(var(--content), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled .header-inner {
  border-color: rgba(83, 65, 50, 0.12);
  background: rgba(251, 246, 235, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(69, 47, 32, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--terracotta);
  font-family: var(--display-font);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.cart-link,
.lang-switch button,
.menu-toggle,
.button,
.filter-button,
.link-button {
  min-height: 42px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle::before {
  content: none;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(120, 147, 110, 0.12);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cart-link:hover,
.menu-toggle:hover,
.button:hover,
.filter-button:hover,
.lang-switch button:hover {
  transform: translateY(-2px);
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.82rem;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
}

.lang-switch button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 7px 10px;
}

.lang-switch button.is-active {
  background: var(--sage);
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, 86vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(159, 195, 202, 0.32), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(184, 111, 75, 0.18), transparent 32%),
    linear-gradient(135deg, #fffaf0 0%, #f5e6c8 50%, #e7efe0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(120, 147, 110, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 147, 110, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

.hero--home {
  min-height: min(780px, 88vh);
}

.hero--catalog {
  background:
    radial-gradient(circle at 78% 34%, rgba(184, 111, 75, 0.2), transparent 30%),
    radial-gradient(circle at 16% 22%, rgba(120, 147, 110, 0.2), transparent 26%),
    linear-gradient(135deg, #fff8ea, #f0e2ca 58%, #e6efe2);
}

.hero--lore {
  background:
    radial-gradient(circle at 78% 20%, rgba(223, 242, 179, 0.24), transparent 26%),
    linear-gradient(135deg, #eef1df, #d4e2d3 48%, #f5dfbc);
}

.hero--wisdom {
  background:
    radial-gradient(circle at 80% 26%, rgba(159, 195, 202, 0.28), transparent 28%),
    linear-gradient(135deg, #fff8ea, #f4e0c2 52%, #e4edf0);
}

.hero--contacts,
.hero--cart,
.hero--product {
  min-height: 430px;
  background:
    radial-gradient(circle at 82% 28%, rgba(120, 147, 110, 0.24), transparent 28%),
    linear-gradient(135deg, #fff8ea, #f7e6cc 58%, #dfead8);
}

.hero-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 116px 0 58px;
}

.hero--home .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(390px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.hero-copy {
  max-width: 720px;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero h1,
.page-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  line-height: 0.82;
  font-weight: 700;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 7% 2% 2%;
  border: 1px solid rgba(83, 65, 50, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.88), rgba(243, 226, 191, 0.38)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85), transparent 34%);
  box-shadow: var(--shadow);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 5% 0 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(111, 74, 49, 0.22), transparent 16%, transparent 84%, rgba(111, 74, 49, 0.22)),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(111, 74, 49, 0.08) 32px 34px);
  pointer-events: none;
  z-index: 1;
}

.hero-stage__mascot {
  position: absolute;
  right: 15%;
  bottom: 94px;
  width: min(480px, 72%);
  animation: float-soft 5.8s ease-in-out infinite;
  filter: drop-shadow(0 24px 26px rgba(88, 58, 37, 0.22));
  z-index: 5;
}

.hero-stage__mascot--shopkeeper {
  right: 18%;
  bottom: 118px;
  width: min(430px, 66%);
}

.hero-stage__shelf {
  position: absolute;
  right: 0;
  bottom: -4px;
  width: min(690px, 100%);
  opacity: 0.86;
  z-index: 2;
}

.hero-stage__counter {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 42px;
  height: 116px;
  border: 1px solid rgba(94, 59, 36, 0.26);
  border-radius: 8px 8px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.28), transparent 30%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 76px),
    linear-gradient(135deg, #b98558, #805337);
  box-shadow: 0 22px 30px rgba(69, 47, 32, 0.22);
  z-index: 7;
}

.hero-stage__counter::before {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: -18px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8c5a38, #c28a58, #8c5a38);
}

.hero-stage__counter::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.42) 0 8px, transparent 8px 18px);
}

.counter-thread {
  position: absolute;
  top: 28px;
  width: 74px;
  height: 34px;
  border-radius: 50%;
  border: 8px solid;
  opacity: 0.92;
}

.counter-thread--sage {
  left: 40px;
  border-color: var(--sage);
}

.counter-thread--clay {
  right: 118px;
  border-color: var(--clay);
}

.counter-note {
  position: absolute;
  right: 34px;
  top: 24px;
  width: 58px;
  height: 66px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, transparent 18px, rgba(184, 111, 75, 0.56) 18px 22px, transparent 22px 34px, rgba(120, 147, 110, 0.48) 34px 38px, transparent 38px),
    #fff8ea;
  transform: rotate(4deg);
  box-shadow: 0 10px 18px rgba(69, 47, 32, 0.16);
}

.hero-stage__card {
  position: absolute;
  width: 190px;
  padding: 13px;
  border: 1px solid rgba(83, 65, 50, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 16px 34px rgba(69, 47, 32, 0.14);
  z-index: 6;
}

.hero-stage__card::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 2px 0 rgba(111, 74, 49, 0.25);
}

.hero-stage__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.hero-stage__card span {
  display: block;
  margin-top: 8px;
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.hero-stage__card--one {
  left: 2%;
  top: 23%;
  transform: rotate(-7deg);
  animation: drift-one 7s ease-in-out infinite;
}

.hero-stage__card--two {
  right: 0;
  top: 17%;
  transform: rotate(5deg);
  animation: drift-two 8s ease-in-out infinite;
}

.hero-stage__thread {
  position: absolute;
  left: 17%;
  bottom: 92px;
  width: 150px;
  height: 72px;
  border: 8px solid var(--terracotta);
  border-color: transparent transparent var(--terracotta) var(--terracotta);
  border-radius: 50%;
  opacity: 0.55;
  z-index: 4;
}

.hero-stage__spark {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f5c764;
  box-shadow: 0 0 18px rgba(245, 199, 100, 0.75);
  animation: glow-pulse 3.4s ease-in-out infinite;
}

.hero:not(.hero--home) .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(220px, 0.45fr);
  align-items: end;
  gap: 32px;
}

.hero-character {
  align-self: end;
  justify-self: end;
  width: min(320px, 100%);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(69, 47, 32, 0.2));
  animation: float-soft 6s ease-in-out infinite;
}

.hero-stage__spark--a {
  left: 12%;
  top: 18%;
}

.hero-stage__spark--b {
  right: 18%;
  top: 9%;
  animation-delay: 0.8s;
}

.hero-stage__spark--c {
  left: 34%;
  top: 8%;
  animation-delay: 1.5s;
}

.hero-actions,
.section-actions,
.product-card__actions,
.product-detail__buy,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 111, 75, 0.24);
}

.button--primary:hover {
  box-shadow: 0 16px 32px rgba(184, 111, 75, 0.28);
}

.button--ghost {
  background: rgba(255, 250, 240, 0.9);
  border-color: var(--line);
  color: var(--ink);
}

.button--quiet {
  background: var(--sage);
  color: #fff;
}

.button.is-added {
  background: var(--sage-dark);
}

.section {
  padding: 82px 0;
}

.section--tight {
  padding: 54px 0;
}

.section--cream {
  background: rgba(255, 250, 240, 0.5);
  border-top: 1px solid rgba(83, 65, 50, 0.08);
  border-bottom: 1px solid rgba(83, 65, 50, 0.08);
}

.section--atelier {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(120, 147, 110, 0.13), transparent 24%),
    rgba(255, 250, 240, 0.48);
}

.section--atelier::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(16px, calc((100vw - var(--content)) / 2));
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--terracotta) 0 8px, transparent 8px 18px);
  opacity: 0.45;
}

.section--shelves {
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(159, 195, 202, 0.16), transparent 26%),
    radial-gradient(circle at 90% 92%, rgba(184, 111, 75, 0.13), transparent 28%);
}

.section--market {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.72), rgba(247, 237, 218, 0.84)),
    repeating-linear-gradient(90deg, rgba(111, 74, 49, 0.05) 0 1px, transparent 1px 52px);
}

.section--market::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 36%;
  height: 68px;
  background: linear-gradient(180deg, rgba(111, 74, 49, 0.12), rgba(111, 74, 49, 0.03));
  pointer-events: none;
}

.section--guide {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(217, 170, 126, 0.16), transparent 26%),
    radial-gradient(circle at 88% 86%, rgba(159, 195, 202, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(247, 237, 218, 0.62));
}

.section--guide::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(83, 65, 50, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

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

.section-kicker,
.eyebrow {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.story-copy h2,
.contact-panel h2,
.cart-empty h2,
.product-detail h1 {
  margin: 8px 0 12px;
  font-family: var(--display-font);
  font-size: 2.35rem;
  line-height: 1.1;
}

.section-heading p,
.story-copy p,
.contact-panel p,
.cart-empty p,
.product-detail p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 18% 18%, rgba(159, 195, 202, 0.22), transparent 28%),
    linear-gradient(145deg, var(--paper-strong), #f4dfbc);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 18px;
}

.soft-list,
.check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.soft-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
}

.soft-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(120, 147, 110, 0.13);
}

.category-grid,
.product-grid,
.article-grid,
.faq-grid {
  display: grid;
  gap: 22px;
}

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

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

.product-grid {
  position: relative;
}

.product-grid::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 44%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(111, 74, 49, 0.32), transparent);
  pointer-events: none;
}

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

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

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

.category-tile,
.product-card,
.article-card,
.faq-card,
.seo-card,
.contact-panel,
.cart-item,
.order-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 12px 28px rgba(69, 47, 32, 0.08);
}

.seo-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.seo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(120, 147, 110, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.seo-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border: 18px solid rgba(184, 111, 75, 0.11);
  border-radius: 50%;
}

.seo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 42px rgba(69, 47, 32, 0.14);
  background: rgba(255, 250, 240, 0.92);
}

.seo-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 900;
}

.seo-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-family: var(--display-font);
  font-size: 1.45rem;
  line-height: 1.08;
}

.seo-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.category-tile {
  min-height: 280px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 250, 240, 0.72), transparent 28%),
    linear-gradient(145deg, #8da982, #d9aa7e);
}

.category-tile:nth-child(2n) {
  transform: translateY(18px);
}

.category-tile:nth-child(3n) {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 250, 240, 0.72), transparent 28%),
    linear-gradient(145deg, #9fc3ca, #d9aa7e);
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 250, 240, 0.5);
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}

.category-tile img {
  position: absolute;
  inset: 10px 10px 68px;
  width: calc(100% - 20px);
  height: calc(100% - 86px);
  object-fit: contain;
  z-index: 0;
  transition: transform 500ms ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.02), rgba(47, 35, 26, 0.62));
  z-index: 1;
}

.category-tile h3,
.category-tile p {
  position: relative;
  z-index: 2;
  color: #fffaf0;
}

.category-tile h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.category-tile p {
  margin: 0;
  font-size: 0.95rem;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform: rotate(-0.6deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:nth-child(2n) {
  transform: rotate(0.7deg) translateY(12px);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-top: 2px solid rgba(120, 147, 110, 0.34);
  border-right: 2px solid rgba(120, 147, 110, 0.34);
  border-radius: 0 6px 0 0;
  z-index: 2;
}

.product-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(184, 111, 75, 0.42) 0 4px, transparent 4px 10px);
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 18px 42px rgba(69, 47, 32, 0.16);
}

.product-card__media {
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(159, 195, 202, 0.18), transparent 26%),
    linear-gradient(145deg, #fffaf0, #f4e1c2);
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
  transition: transform 500ms ease;
}

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

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

.product-card h3,
.article-card h3,
.cart-item h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.product-card p,
.article-card p,
.cart-item p {
  margin: 0;
  color: var(--muted);
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: var(--sage-dark);
  font-weight: 850;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--muted);
  cursor: pointer;
  padding: 9px 14px;
  font-weight: 800;
}

.filter-button.is-active {
  background: var(--sage);
  color: #fff;
}

.story-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(223, 242, 179, 0.26), transparent 26%),
    linear-gradient(135deg, #27433b, #516f61 56%, #a7805e);
  color: #fffaf0;
}

.story-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 78%, rgba(255, 250, 240, 0.12), transparent 22%),
    linear-gradient(90deg, rgba(38, 30, 24, 0.42), rgba(38, 30, 24, 0.08));
}

.story-band__art {
  width: min(440px, 100%);
  margin-left: auto;
  opacity: 0.96;
}

.story-band .section-heading p,
.story-band .story-copy p {
  color: rgba(255, 250, 240, 0.9);
}

.article-card,
.faq-card,
.contact-panel,
.order-form {
  padding: 24px;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 25% 25%, rgba(120, 147, 110, 0.16), transparent 28%),
    linear-gradient(145deg, #fffaf0, #f3e2bf);
}

.article-card h3 {
  margin-bottom: 10px;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 850;
  transition: color 180ms ease;
}

.faq-card summary:hover {
  color: var(--terracotta);
}

.faq-card p {
  color: var(--muted);
  margin: 12px 0 0;
  animation: content-fade 260ms ease;
}

.contact-layout,
.cart-layout,
.product-detail {
  display: grid;
  gap: 28px;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.cart-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: start;
}

.product-detail {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.product-detail__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.format-line {
  margin-top: 20px;
  color: var(--muted);
}

.price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--sage-dark);
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  padding: 14px;
  display: grid;
  grid-template-columns: 112px 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.cart-item img {
  width: 112px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item__main {
  min-width: 0;
}

.cart-item__controls {
  display: grid;
  grid-template-columns: 38px 38px 38px;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-strong);
}

.cart-item__controls button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.cart-item__price {
  min-width: 92px;
  text-align: right;
  color: var(--sage-dark);
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
}

.cart-empty {
  padding: 44px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.62);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(120, 147, 110, 0.16);
}

.category-tile,
.article-card,
.faq-card,
.contact-panel,
.order-form,
.cart-item {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.article-card:hover,
.faq-card:hover,
.contact-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(69, 47, 32, 0.13);
  background: rgba(255, 250, 240, 0.94);
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--terracotta);
  cursor: pointer;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 40px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.72);
}

.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 760ms cubic-bezier(.2,.7,.2,1), transform 760ms cubic-bezier(.2,.7,.2,1);
}

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

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes drift-one {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-12px) rotate(-4deg);
  }
}

@keyframes drift-two {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }

  50% {
    transform: translateY(10px) rotate(2deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes content-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .seo-grid,
  .seo-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--home .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 480px;
    order: -1;
  }

  .split,
  .contact-layout,
  .cart-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 8px;
  }

  .header-inner {
    position: relative;
    width: min(100% - 24px, var(--content));
    min-height: 66px;
    gap: 10px;
    padding: 8px 60px 8px 8px;
    grid-template-columns: 1fr auto;
  }

  .header-inner .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-inner .lang-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-right: 52px;
    width: auto;
  }

  .header-inner .menu-toggle {
    position: absolute;
    top: 8px;
    right: 56px;
    z-index: 2;
    display: inline-flex !important;
    visibility: visible;
    opacity: 1;
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 10px 24px rgba(184, 111, 75, 0.24);
  }

  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease, padding 220ms ease;
  }

  .site-header.is-menu-open .site-nav {
    max-height: 360px;
    padding: 8px 0 2px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 11px 12px;
    background: rgba(255, 250, 240, 0.72);
    white-space: normal;
  }

  .header-inner .cart-link {
    grid-column: 1 / -1;
    grid-row: 3;
    width: auto;
    max-height: 0;
    min-height: 0;
    padding: 0 12px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border-color: transparent;
    justify-content: space-between;
    transition: max-height 260ms ease, min-height 260ms ease, opacity 220ms ease, padding 220ms ease, border-color 220ms ease;
  }

  .site-header.is-menu-open .header-inner .cart-link {
    max-height: 54px;
    min-height: 42px;
    padding: 9px 12px;
    opacity: 1;
    pointer-events: auto;
    border-color: var(--line);
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding: 134px 0 46px;
  }

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

  .hero-stage__mascot {
    right: 16%;
    width: min(300px, 60%);
  }

  .hero-stage__shelf {
    width: 92%;
  }

  .hero-stage__card {
    width: 130px;
    padding: 8px;
  }

  .hero-stage__card--one {
    left: 0;
    top: 16%;
  }

  .hero-stage__card--two {
    right: -24px;
    top: 12%;
  }

  .hero h1,
  .page-title {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .story-copy h2,
  .contact-panel h2,
  .cart-empty h2,
  .product-detail h1 {
    font-size: 2rem;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .faq-grid,
  .seo-grid,
  .seo-grid--wide {
    grid-template-columns: 1fr;
  }

  .hero:not(.hero--home) .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-character {
    justify-self: center;
    width: min(250px, 76%);
    max-height: 260px;
    order: -1;
  }

  .category-tile {
    min-height: 220px;
  }

  .category-tile:nth-child(2n),
  .product-card,
  .product-card:nth-child(2n) {
    transform: none;
  }

  .cart-item {
    grid-template-columns: 86px 1fr;
    align-items: start;
  }

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

  .cart-item__controls,
  .cart-item__price {
    grid-column: 2;
  }

  .cart-item__price {
    text-align: left;
  }
}

@media (max-width: 440px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .lang-switch button {
    min-width: 0;
    padding: 9px 0;
  }

  .hero-stage {
    min-height: 320px;
  }

  .hero-stage__card {
    width: 104px;
  }

  .hero-stage__card span {
    font-size: 0.68rem;
  }

  .hero-actions,
  .section-actions,
  .product-card__actions,
  .product-detail__buy,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
