@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap");

:root {
  --page: #faf7f7;
  --panel: rgba(255, 253, 253, 0.9);
  --panel-solid: #fffdfd;
  --ink: #222020;
  --soft-ink: #595250;
  --muted: #817876;
  --line: rgba(54, 49, 47, 0.16);
  --line-strong: rgba(54, 49, 47, 0.28);
  --coffee: #5d463c;
  --coffee-soft: #efe7e2;
  --fur: #e9ded9;
  --blush: #f6e8eb;
  --sage: #dfe8df;
  --sage-deep: #61745f;
  --rose: #8e5963;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(50, 43, 40, 0.12);
  --shadow-soft: 0 10px 30px rgba(50, 43, 40, 0.08);
  --radius: 8px;
  --font: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  text-align: center;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='640' height='480' viewBox='0 0 640 480' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c9c4c4' stroke-width='1.15' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M203 39v24M191 51h24M203 47l4 4-4 4-4-4z'/%3E%3Cpath d='M160 344v22M149 355h22M160 351.3l3.7 3.7-3.7 3.7-3.7-3.7z'/%3E%3Cpath d='M188 183v10M183 188h10M188 186.3l1.7 1.7-1.7 1.7-1.7-1.7z'/%3E%3Cpath d='M366 337v22M355 348h22M366 344.3l3.7 3.7-3.7 3.7-3.7-3.7z'/%3E%3Cpath d='M405 280v12M399 286h12M405 284l2 2-2 2-2-2z'/%3E%3Cpath d='M596 423v22M585 434h22M596 430.3l3.7 3.7-3.7 3.7-3.7-3.7z'/%3E%3Cpath d='M281 16v22M270 27h22M281 23.3l3.7 3.7-3.7 3.7-3.7-3.7z'/%3E%3Cpath d='M346 272v12M340 278h12M346 276l2 2-2 2-2-2z'/%3E%3Cpath d='M302 132v24M290 144h24M302 140l4 4-4 4-4-4z'/%3E%3Cpath d='M356 36v16M348 44h16M356 41.3l2.7 2.7-2.7 2.7-2.7-2.7z'/%3E%3Cpath d='M581 22v8M577 26h8M581 24.7l1.3 1.3-1.3 1.3-1.3-1.3z'/%3E%3Cpath d='M279 308v18M270 317h18M279 314l3 3-3 3-3-3z'/%3E%3Cpath d='M558 113v8M554 117h8M558 115.7l1.3 1.3-1.3 1.3-1.3-1.3z'/%3E%3Cpath d='M549 246v24M537 258h24M549 254l4 4-4 4-4-4z'/%3E%3Cpath d='M105 377v10M100 382h10M105 380.3l1.7 1.7-1.7 1.7-1.7-1.7z'/%3E%3Cpath d='M214 245v12M208 251h12M214 249l2 2-2 2-2-2z'/%3E%3Cpath d='M486 273v16M478 281h16M486 278.3l2.7 2.7-2.7 2.7-2.7-2.7z'/%3E%3Cpath d='M135 201v24M123 213h24M135 209l4 4-4 4-4-4z'/%3E%3Cpath d='M232 117v16M224 125h16M232 122.3l2.7 2.7-2.7 2.7-2.7-2.7z'/%3E%3Cpath d='M55 308v6M52 311h6M55 310l1 1-1 1-1-1z'/%3E%3Cpath d='M473 80v22M462 91h22M473 87.3l3.7 3.7-3.7 3.7-3.7-3.7z'/%3E%3Cpath d='M23 253v10M18 258h10M23 256.3l1.7 1.7-1.7 1.7-1.7-1.7z'/%3E%3Cpath d='M493 370v24M481 382h24M493 378l4 4-4 4-4-4z'/%3E%3Cpath d='M436 405v18M427 414h18M436 411l3 3-3 3-3-3z'/%3E%3Cpath d='M370 451v10M365 456h10M370 454.3l1.7 1.7-1.7 1.7-1.7-1.7z'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center top;
  background-repeat: repeat;
  background-size: 640px 480px;
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open main {
  z-index: 140;
}

body.modal-open .site-footer {
  z-index: 0;
  pointer-events: none;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(142, 89, 99, 0.34);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  order: 2;
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: 3.25rem;
  text-wrap: balance;
}

h1::after {
  display: block;
  width: min(420px, 74vw);
  height: 1px;
  margin: 24px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(93, 70, 60, 0.42), transparent);
  content: "";
}

h2 {
  margin-bottom: 14px;
  font-size: 2.05rem;
}

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

p {
  color: var(--soft-ink);
}

main {
  width: 100%;
}

.page-block {
  position: relative;
  width: 100%;
  overflow: clip;
}

.page-block-showcase {
  background:
    linear-gradient(180deg, rgba(250, 247, 247, 0.7), rgba(255, 253, 253, 0.32) 48%, rgba(246, 232, 235, 0.28)),
    transparent;
}

.page-block-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(223, 232, 223, 0.56), rgba(255, 253, 253, 0.72)),
    var(--page);
}

.page-block-shop {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 232, 235, 0.5), rgba(255, 253, 253, 0.86) 42%, rgba(239, 231, 226, 0.54)),
    var(--page);
}

.page-block-order {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(239, 231, 226, 0.74), rgba(250, 247, 247, 0.96) 48%, rgba(223, 232, 223, 0.34)),
    var(--page);
}

.block-heading {
  width: min(calc(100% - 34px), 880px);
  margin: 0 auto;
  padding: 70px 0 0;
  text-align: center;
}

.block-heading h2 {
  margin-bottom: 12px;
}

.block-heading p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
}

.craft-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.window-bar,
.hero-grain,
.hero-ledger,
.hero-samples,
.media-bar,
.product-card-bar,
.cart-window-bar,
.product-gallery-bar,
.product-info-bar {
  display: none !important;
}

.site-header {
  z-index: 30;
  display: flex;
  width: min(calc(100% - 32px), 760px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px auto 0;
  padding: 0;
}

.brand {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  order: 2;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.language-button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-button:hover,
.language-button.active {
  color: var(--ink);
  background: var(--blush);
}

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

.site-nav a,
.nav-link-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active,
.nav-link-button:hover,
.nav-link-button:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.view-tabs {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 4px;
  order: 3;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.view-tab {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 6px;
  color: var(--soft-ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.15;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.view-tab:hover,
.view-tab:focus-visible {
  color: var(--ink);
  background: rgba(255, 253, 253, 0.8);
}

.view-tab.active {
  color: var(--white);
  background: var(--coffee);
  box-shadow: 0 8px 18px rgba(93, 70, 60, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
}

.section {
  width: min(calc(100% - 34px), 880px);
  margin: 0 auto;
  padding: 68px 0;
}

.section:not(.hero)::before,
.site-footer::before {
  display: block;
  width: min(560px, 82vw);
  height: 1px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, rgba(93, 70, 60, 0.34), transparent);
  content: "";
}

.hero {
  display: flex;
  width: min(calc(100% - 34px), 1120px);
  min-height: auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 44px 0 72px;
}

.hero::before {
  order: 0;
  display: block;
  width: min(560px, 82vw);
  height: 1px;
  margin: 0 auto 32px;
  background: linear-gradient(90deg, transparent, rgba(93, 70, 60, 0.34), transparent);
  content: "";
}

.hero-copy {
  display: flex;
  width: 100%;
  max-width: 720px;
  flex-direction: column;
  align-items: center;
  order: 2;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy > .eyebrow {
  display: none;
}

.hero-author {
  display: grid;
  width: fit-content;
  max-width: min(100%, 520px);
  justify-items: center;
  gap: 4px;
  order: 1;
  margin: 0 auto 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.hero-nickname {
  margin: 0;
  color: var(--coffee);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.hero-author-role {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow):not(.hero-nickname) {
  order: 3;
  max-width: 630px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  order: 4;
  margin-top: 28px;
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: center;
  order: 1;
  width: 100%;
  min-height: 0;
  margin: 0 auto 30px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--fur);
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background:
    linear-gradient(180deg, rgba(34, 32, 32, 0.1), rgba(34, 32, 32, 0.02) 45%, rgba(34, 32, 32, 0.24)),
    linear-gradient(90deg, rgba(250, 247, 247, 0.05), rgba(250, 247, 247, 0));
  content: "";
  pointer-events: none;
}

.hero-image-window > img {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 0;
  background: var(--fur);
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}

.hero-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 0;
  max-width: 300px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft-ink);
  background: rgba(255, 253, 253, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-note strong,
.hero-note a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-note a {
  color: var(--coffee);
}

.eyebrow,
.button,
.product-meta,
.review-card strong,
.review-card small,
.site-footer strong,
.site-footer a,
.product-sku,
.status,
.cart-panel-header span,
.cart-remove,
.shop-tab,
.view-tab,
.gallery-year,
.product-options-heading,
.product-info-block h3,
label > span,
legend {
  font-family: var(--font);
}

.eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  color: var(--soft-ink);
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  border-color: var(--coffee);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  border-color: var(--coffee);
  background: var(--coffee);
}

.button.primary:hover {
  background: #49372f;
}

.button.secondary {
  background: var(--coffee-soft);
}

.about {
  display: grid;
  gap: 26px;
  align-items: start;
}

.about-intro {
  max-width: 760px;
  margin: 0 auto;
}

.about-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.03rem;
}

.about-photo {
  display: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 860px;
  margin: 6px auto 0;
}

.about article,
.product-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.about article {
  display: grid;
  gap: 10px;
  padding: 18px;
  text-align: left;
}

.about article span {
  display: inline-grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--coffee);
  background: var(--coffee-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.about article h3,
.about article p {
  margin: 0;
}

.about article p {
  color: var(--soft-ink);
  font-size: 0.96rem;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 28px;
}

.section-heading p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 auto;
}

.gallery-window {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-block-showcase .gallery {
  padding-bottom: 88px;
}

.page-block-trust .reviews {
  padding-top: 62px;
  padding-bottom: 66px;
}

.page-block-shop .shop {
  width: min(calc(100% - 34px), 1180px);
  padding-top: 62px;
  padding-bottom: 88px;
}

.page-block-order .tos {
  padding-top: 44px;
}

.page-block-order .commission {
  padding-bottom: 88px;
}

.page-block-shop .shop::before,
.page-block-trust .reviews::before,
.page-block-order .tos::before {
  display: none;
}

.shop-page .shop-tabs {
  margin-bottom: 18px;
}

.shop-page .cart-panel {
  width: min(calc(100% - 52px), 860px);
  margin: 0 auto 18px;
}

.price-guide {
  width: min(calc(100% - 34px), 1180px);
  padding-top: 54px;
  padding-bottom: 46px;
}

.price-guide-heading {
  margin-bottom: 18px;
}

.price-guide-stack {
  display: grid;
  gap: 14px;
}

.price-guide-card {
  display: grid;
  gap: 8px;
  margin: 0;
  overflow: hidden;
  padding: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.price-guide-card:hover,
.price-guide-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.price-guide-card-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 0 2px;
  color: var(--soft-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.price-guide-card-caption strong {
  color: var(--coffee);
  font-weight: 900;
}

.price-guide-card img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--white);
  object-fit: contain;
  object-position: center;
}

.commission-price-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 16px;
  padding: 16px;
  text-align: left;
}

.commission-price-link strong {
  display: block;
  margin-bottom: 4px;
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 900;
}

.commission-price-link p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.42;
}

.gallery-carousel {
  display: grid;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.gallery-years {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-year,
.shop-tab {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft-ink);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gallery-year span {
  margin-left: 7px;
  color: var(--muted);
  font-weight: 600;
}

.gallery-year:hover,
.gallery-year:focus-visible,
.gallery-year.active,
.shop-tab:hover,
.shop-tab.active {
  color: var(--ink);
  border-color: var(--coffee);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.gallery-stage {
  position: relative;
  display: block;
}

.gallery-control {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 5;
  display: grid;
  width: 44px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.gallery-control[data-gallery-prev] {
  left: 14px;
}

.gallery-control[data-gallery-next] {
  right: 14px;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  color: var(--white);
  border-color: var(--coffee);
  background: var(--coffee);
}

.gallery-feature {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(246, 232, 235, 0.48)),
    var(--fur);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.gallery-feature::after {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  content: "";
  pointer-events: none;
}

.gallery-feature-backdrop {
  position: absolute;
  inset: -34px;
  z-index: -2;
  width: calc(100% + 68px);
  height: calc(100% + 68px);
  filter: blur(28px) saturate(0.86) opacity(0.28);
  object-fit: cover;
  transform: scale(1.04);
}

.gallery-feature-frame {
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(54, 49, 47, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 253, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.gallery-feature-frame img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.gallery-feature figcaption {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(54, 49, 47, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 253, 253, 0.86);
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.gallery-feature strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-feature small {
  color: var(--muted);
  font: inherit;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-color: rgba(93, 70, 60, 0.32) transparent;
  scrollbar-width: thin;
}

.gallery-thumb {
  display: grid;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 253, 0.78);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.active {
  border-color: var(--coffee);
  opacity: 1;
  box-shadow: var(--shadow-soft);
}

.gallery-thumb.active {
  background: var(--white);
  box-shadow:
    0 0 0 3px rgba(93, 70, 60, 0.1),
    var(--shadow-soft);
}

.shop,
.commission,
.tos,
.legal,
.reviews,
.gallery {
  scroll-margin-top: 40px;
}

.tos-list {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  counter-reset: terms;
  overflow: hidden;
  text-align: left;
}

.tos-list p {
  position: relative;
  margin: 0;
  padding: 17px 18px 17px 58px;
  border-bottom: 1px solid var(--line);
}

.tos-list p:last-child {
  border-bottom: 0;
}

.tos-list p::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--coffee);
  content: counter(terms, decimal-leading-zero);
  counter-increment: terms;
  font-size: 0.8rem;
  font-weight: 700;
}

.tos-list strong {
  color: var(--ink);
  font-weight: 700;
}

.tos-list strong em {
  font-style: italic;
}

.tos-list u {
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
}

.seller-details {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.seller-details h3,
.seller-details p {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
}

.seller-details p::before {
  content: none;
}

.seller-details h3 {
  color: var(--coffee);
  font-size: 1rem;
}

.seller-details a {
  color: var(--coffee);
  font-weight: 800;
  text-underline-offset: 3px;
}

.shop-legal-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(calc(100% - 52px), 860px);
  margin: 0 auto 16px;
  padding: 12px 14px;
  text-align: left;
}

.shop-legal-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.shop-legal-note .button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 9px 13px;
  font-size: 0.82rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.legal-card {
  overflow: hidden;
  padding: 0 18px 18px;
}

.legal-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.25;
}

.legal-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: var(--ink);
}

.legal-card a {
  color: var(--coffee);
  font-weight: 800;
  text-underline-offset: 3px;
}

.shop-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.shop-modal,
.product-modal,
.policy-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(12px, 2vw, 20px);
}

.shop-modal {
  z-index: 80;
}

.product-modal {
  z-index: 90;
}

.policy-modal {
  z-index: 120;
  isolation: isolate;
}

.shop-backdrop,
.policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 32, 32, 0.52);
  backdrop-filter: blur(10px);
}

.shop-dialog,
.product-dialog,
.policy-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(88vh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  background: var(--page);
  box-shadow: 0 26px 90px rgba(24, 20, 18, 0.3);
  text-align: left;
}

.product-dialog {
  overflow: auto;
}

.policy-dialog {
  width: min(720px, 100%);
  max-height: min(82vh, 820px);
  background: var(--panel-solid);
}

.policy-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.policy-content {
  display: grid;
  gap: 14px;
  padding: 28px 28px 48px;
}

.policy-content h2,
.policy-content h3,
.policy-content p {
  margin: 0;
}

.policy-content h2 {
  color: var(--coffee);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.policy-content h3 {
  color: var(--coffee);
  font-size: 1rem;
}

.policy-content a {
  color: var(--coffee);
  font-weight: 800;
  text-underline-offset: 3px;
}

.policy-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.policy-details div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.policy-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-details dd {
  margin: 0;
  color: var(--ink);
}

.shop-dialog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 20px 26px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.shop-dialog-header .eyebrow {
  margin-right: 0;
  margin-left: 0;
}

.shop-dialog-header h2,
.shop-dialog-header p {
  margin-bottom: 0;
}

.shop-dialog-header h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.82rem);
  line-height: 1.08;
}

.shop-dialog-header p:not(.eyebrow) {
  max-width: 760px;
  font-size: 0.94rem;
  line-height: 1.42;
}

.shop-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}

.shop-close:hover,
.shop-close:focus-visible {
  color: var(--white);
  border-color: var(--coffee);
  background: var(--coffee);
}

.product-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
}

.shop-dialog .shop-tabs {
  gap: 6px;
  margin: 14px 26px;
  justify-content: flex-start;
}

.shop-dialog .product-grid {
  padding: 0 26px 26px;
}

.product-grid,
.reviews-grid {
  display: grid;
  gap: 16px;
}

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

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

.cart-panel {
  width: min(calc(100% - 52px), 860px);
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

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

.cart-panel-header span,
.cart-remove {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-panel-header strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
}

.cart-panel-header b {
  color: var(--coffee);
  font-size: 1.05rem;
  line-height: 1;
  white-space: nowrap;
}

.order-status-widget {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.42);
}

.order-status-widget > .button {
  width: fit-content;
}

.order-status-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.order-status-form .form-status {
  grid-column: 1 / -1;
}

.order-status-result strong {
  color: var(--coffee);
}

.order-status-result a {
  color: var(--coffee);
  font-weight: 900;
  text-underline-offset: 3px;
}

.cart-items {
  display: grid;
  border-top: 1px solid var(--line);
}

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

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

.cart-item strong {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.cart-item > span {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.cart-remove {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.cart-remove:hover,
.cart-remove:focus-visible {
  color: var(--white);
  border-color: var(--coffee);
  background: var(--coffee);
}

.delivery-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(180px, 1fr) auto;
  gap: 7px 9px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.delivery-form-heading,
.delivery-form .wide,
.delivery-status {
  grid-column: 1 / -1;
}

.delivery-form-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: -4px;
}

.delivery-form-heading strong {
  color: var(--coffee);
  font-size: 0.94rem;
}

.delivery-form-heading span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.delivery-form label {
  gap: 4px;
  font-size: 0.75rem;
}

.delivery-form input,
.delivery-form select {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 0.9rem;
}

.delivery-form > .button,
.delivery-action {
  align-self: end;
  min-height: 34px;
  width: 100%;
  padding: 6px 11px;
  white-space: nowrap;
}

.delivery-status {
  min-height: 16px;
  padding-top: 0;
  font-size: 0.8rem;
}

.cart-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--soft-ink);
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.84rem;
}

.cart-summary span,
.cart-summary strong {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-summary b,
.cart-summary strong {
  color: var(--coffee);
}

.cart-checkout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
}

.cart-checkout .form-status {
  min-height: auto;
  padding: 8px 0 0;
  font-size: 0.84rem;
}

.cart-checkout .prepared-message,
.cart-checkout [data-cart-telegram] {
  grid-column: 1 / -1;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(126px, 0.62fr) minmax(0, 1fr);
  align-content: stretch;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 232, 235, 0.42)),
    var(--panel-solid);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card-bar {
  grid-column: 1 / -1;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-image-button {
  position: relative;
  display: grid;
  width: 100%;
  height: 208px;
  min-height: 0;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 253, 253, 0.72), rgba(233, 222, 217, 0.72)),
    var(--fur);
  cursor: pointer;
  isolation: isolate;
}

.product-image-button::before {
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 253, 253, 0.36);
  content: "";
}

.product-image-button img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: cover;
  object-position: center 48%;
  filter: drop-shadow(0 16px 20px rgba(50, 43, 40, 0.12));
  transform: scale(1.04);
  transition: transform 260ms ease;
}

.product-card:hover .product-image-button img {
  transform: scale(1.08);
}

.product-image-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 18px);
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 253, 253, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-body {
  display: flex;
  min-height: 208px;
  flex-direction: column;
  padding: 14px;
}

.product-body-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 10px;
}

.product-body-header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.24;
}

.product-price {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--coffee);
  background: var(--coffee-soft);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.status {
  color: var(--sage-deep);
  text-align: right;
}

.product-body p {
  flex: 1;
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 0.9rem;
  line-height: 1.4;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 12px;
}

.product-card-actions .button {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  min-height: min(78vh, 790px);
}

.product-gallery {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 12px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--fur);
  object-fit: contain;
  object-position: center;
}

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

.product-thumb {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--fur);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  padding: 6px;
  object-fit: contain;
  object-position: center;
}

.product-thumb:hover,
.product-thumb:focus-visible,
.product-thumb.active {
  border-color: var(--coffee);
  opacity: 1;
}

.product-thumb.active {
  transform: translateY(-2px);
}

.product-detail-body {
  display: grid;
  align-content: start;
  padding: 34px;
}

.product-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
  padding-right: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.product-detail-header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.product-sku {
  width: fit-content;
  margin: 0 0 9px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--coffee);
  background: var(--coffee-soft);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.product-buy-summary {
  display: grid;
  min-width: 150px;
  gap: 7px;
  justify-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.product-description {
  max-width: 64ch;
  margin-bottom: 0;
}

.product-specs,
.product-info-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.product-specs li,
.product-info-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.product-specs li {
  min-height: 56px;
  padding: 13px 14px;
  color: var(--soft-ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-info-sections {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.product-info-block {
  padding: 16px;
}

.product-info-block h3 {
  margin-bottom: 8px;
  color: var(--coffee);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-info-block li {
  position: relative;
  padding-left: 16px;
  color: var(--soft-ink);
}

.product-info-block li + li {
  margin-top: 8px;
}

.product-info-block li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coffee);
  content: "";
}

.product-options {
  display: grid;
  gap: 13px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.product-options-heading {
  color: var(--coffee);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-options fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-options legend {
  padding: 0 0 2px;
  color: var(--coffee);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--coffee-soft);
  font-size: 0.98rem;
}

.product-total span {
  font-size: 1.15rem;
  white-space: nowrap;
}

.commission-shell {
  display: block;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
}

.commission-aside {
  display: none;
}

.form-panel,
.review-form {
  background: rgba(255, 255, 255, 0.68);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

.checkbox-label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: var(--soft-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--coffee);
}

.text-link {
  display: inline;
  min-height: 0;
  margin-left: 4px;
  padding: 0;
  border: 0;
  color: var(--coffee);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--rose);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

select {
  cursor: pointer;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(93, 70, 60, 0.7);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(93, 70, 60, 0.12);
  outline: 0;
}

.file-input {
  padding: 9px;
  font-size: 0.9rem;
}

.file-input::file-selector-button {
  min-height: 32px;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--coffee-soft);
  cursor: pointer;
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
}

.wide {
  grid-column: 1 / -1;
}

.prepared-message {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--rose);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-panel > .button,
.review-form > .button,
.product-options > .button {
  width: fit-content;
}

.reviews-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 14px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

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

.review-card {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(72, 51, 42, 0.08);
}

.review-card-head {
  display: grid;
  gap: 2px;
}

.review-card strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
}

.review-card small {
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.review-card p {
  display: -webkit-box;
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.review-form {
  display: grid;
  gap: 15px;
  padding: 20px;
  text-align: left;
}

.review-form h3 {
  margin: 0;
}

.site-footer {
  display: grid;
  width: min(calc(100% - 34px), 760px);
  margin: 0 auto;
  gap: 18px;
  padding: 16px 0 54px;
  color: var(--soft-ink);
}

.footer-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-profile img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--fur);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  object-position: center;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.socials a {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft-ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.socials a:hover {
  color: var(--white);
  border-color: var(--coffee);
  background: var(--coffee);
}

@media (max-width: 1080px) {
  .reviews-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: 88vh;
    overflow: auto;
  }

  .product-gallery {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-detail-header {
    grid-template-columns: 1fr;
    padding-right: 52px;
  }

  .product-buy-summary {
    justify-items: start;
    width: 100%;
  }

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

  .gallery-feature {
    min-height: 560px;
  }

  .gallery-feature-frame {
    min-height: 460px;
  }

  .gallery-feature-frame img {
    max-height: 460px;
  }

  .gallery-thumbs {
    gap: 9px;
  }

  .gallery-thumb {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: sticky;
    top: 10px;
    justify-content: space-between;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(250, 247, 247, 0.84);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
  }

  .brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    text-decoration: none;
  }

  .brand-mark {
    display: none;
  }

  .brand strong {
    display: block;
    max-width: min(56vw, 230px);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.12;
    text-wrap: balance;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions {
    order: 2;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(250, 247, 247, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a,
  .nav-link-button {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }

  .view-tabs {
    display: flex;
    width: 100%;
    order: 3;
  }

  .view-tab {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.8rem;
  }

  .section {
    width: min(calc(100% - 28px), 880px);
    padding: 54px 0;
  }

  .block-heading {
    width: min(calc(100% - 28px), 880px);
    padding-top: 54px;
  }

  .page-block-showcase .gallery,
  .page-block-order .commission {
    padding-bottom: 58px;
  }

  .page-block-trust .reviews {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  .page-block-shop .shop {
    width: min(calc(100% - 28px), 880px);
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .page-block-order .tos {
    padding-top: 34px;
  }

  .price-guide {
    width: 100%;
    padding: 46px 0 36px;
  }

  .price-guide-stack {
    gap: 10px;
  }

  .price-guide-card {
    width: min(calc(100% - 28px), 880px);
    margin: 0 auto;
    overflow-x: auto;
    padding: 8px;
    scrollbar-color: rgba(93, 70, 60, 0.32) transparent;
    scrollbar-width: thin;
  }

  .price-guide-card img {
    width: max(780px, 100%);
    max-width: none;
  }

  .price-guide-card-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .commission-price-link {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 14px;
  }

  .hero {
    width: min(calc(100% - 28px), 1120px);
    padding: 42px 0 58px;
  }

  .hero-image-window > img {
    width: 100%;
    height: 300px;
    object-position: 35% center;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: calc(100% - 28px);
    max-width: none;
    margin: 12px auto 14px;
  }

  .hero-actions,
  .site-footer,
  .socials {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .about-grid,
  .product-grid,
  .legal-grid,
  .reviews-grid,
  .form-panel {
    grid-template-columns: 1fr;
  }

  .gallery-control {
    top: auto;
    bottom: 84px;
    width: 40px;
    height: 44px;
    min-height: 0;
  }

  .gallery-control[data-gallery-prev] {
    left: 8px;
  }

  .gallery-control[data-gallery-next] {
    right: 8px;
  }

  .gallery-feature {
    min-height: 0;
    padding: 14px;
  }

  .gallery-feature-frame {
    min-height: 360px;
  }

  .gallery-feature-frame img {
    max-height: 360px;
  }

  .gallery-feature figcaption {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gallery-feature strong {
    white-space: normal;
  }

  .gallery-thumbs {
    gap: 8px;
    padding-bottom: 10px;
  }

  .gallery-thumb {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .shop-dialog,
  .product-dialog {
    max-height: 90vh;
  }

  .policy-modal {
    align-items: start;
    padding: 18px 10px 30px;
  }

  .policy-dialog {
    max-height: calc(100vh - 48px);
  }

  .policy-content {
    padding: 24px 18px 64px;
  }

  .policy-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .shop-dialog-header {
    padding: 18px 14px 14px;
  }

  .shop-dialog .shop-tabs {
    margin: 12px 14px;
  }

  .shop-dialog .product-grid {
    padding: 0 14px 16px;
  }

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

  .product-image-button {
    height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-image-button img {
    max-height: none;
  }

  .cart-panel {
    margin: 0 14px 14px;
  }

  .shop-legal-note {
    align-items: stretch;
    flex-direction: column;
    width: auto;
    margin: 0 14px 14px;
    padding: 12px;
  }

  .legal-grid {
    gap: 12px;
  }

  .legal-card {
    padding: 0 14px 16px;
  }

  .shop-tab {
    flex: 1 1 calc(50% - 8px);
  }

  .cart-panel-header,
  .cart-checkout,
  .delivery-form,
  .order-status-form,
  .product-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .delivery-form-heading,
  .cart-summary span,
  .cart-summary strong {
    display: grid;
  }

  .cart-panel-header {
    padding: 10px 12px;
  }

  .cart-panel-header span {
    display: none;
  }

  .cart-panel-header strong {
    margin-top: 0;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .cart-panel-header b,
  .cart-item > span,
  .product-total span,
  .product-price {
    white-space: normal;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .product-body {
    min-height: auto;
  }

  .product-body-header {
    grid-template-columns: 1fr;
  }

  .product-detail-body {
    padding: 24px 18px;
  }

  .product-detail-header h2 {
    font-size: 1.72rem;
  }

  .product-detail-thumbs {
    grid-template-columns: repeat(4, minmax(52px, 1fr));
  }

  .form-panel {
    padding: 18px;
  }

  .form-panel > .button,
  .review-form > .button,
  .product-options > .button {
    width: 100%;
  }

  .tos-list p {
    padding-right: 16px;
    padding-left: 52px;
  }

  .tos-list p::before {
    left: 16px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.34rem;
  }

  h2 {
    font-size: 1.58rem;
  }

  .language-switch {
    display: none;
  }

  .shop-tab {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .product-image-button {
    height: 192px;
  }

  .product-image-button img {
    max-height: none;
    padding: 0;
  }
}

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