:root {
  --paper: #f7f5f1;
  --ink: #191919;
  --sage: #6e776e;
  --sage-deep: #494f49;
  --line: #d9d5cc;
  --card: #fffcf8;
  --soft: #efece2;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 360;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(740px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}
.logo b {
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 15px;
}
.logo span {
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.nav { display: flex; align-items: center; gap: 22px; }
.langs { display: flex; gap: 6px; margin-left: 8px; }
.langs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px 2px 2px;
  font-size: 11px;
  letter-spacing: 0;
}
.langs a.is-on, .langs a[aria-current="true"] {
  border-color: var(--ink);
  background: white;
}
.flag { width: 16px; height: 11px; border-radius: 1px; border: 1px solid rgba(0,0,0,.15); }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.04em; }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--sage); }
.read-link {
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.read-link:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }

.hero { padding: 72px 0 28px; text-align: center; }
.hero h1 {
  margin: 0;
  font-family: "Dancing Script", cursive;
  font-size: clamp(64px, 9vw, 108px);
  font-weight: 600;
  line-height: 0.9;
}
.hero .hello {
  margin: 8px 0 22px;
  font-family: "Dancing Script", cursive;
  font-size: clamp(28px, 4vw, 42px);
}
.hero p { max-width: 680px; margin: 0 auto 26px; font-size: 20px; }
.button {
  display: inline-block;
  text-decoration: none;
  background: var(--sage-deep);
  color: white;
  padding: 12px 22px;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.search { display: flex; gap: 8px; margin: 10px 0 28px; }
.search input, .form input, .form textarea, .form select {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.search button, .form button, .cart-actions button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
}

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card div, .product-copy, .prose, .form, .notice { padding: 18px 18px 22px; }
.card h2 { margin: 0 0 8px; font-size: 26px; font-weight: 500; line-height: 1.25; }
.meta { color: var(--sage); font-size: 14px; letter-spacing: 0.04em; }

.page-title { padding: 48px 0 8px; text-align: center; }
.page-title h1 { margin: 0; font-weight: 500; font-size: clamp(36px, 5vw, 56px); }
.lede { text-align: center; max-width: 640px; margin: 8px auto 0; }

.prose h2 { font-weight: 500; font-size: 28px; margin: 1.4em 0 0.4em; }
.prose p { margin: 0 0 0.9em; }
.prose figure { margin: 18px 0; }
.prose img { width: 100%; }
.hero-photo { width: min(920px, calc(100% - 40px)); margin: 18px auto; }
.hero-photo img { width: 100%; max-height: 560px; object-fit: cover; }

.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 36px 0 64px;
}
.gallery img { width: 100%; background: white; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs img { width: 74px; height: 74px; object-fit: cover; cursor: pointer; border: 1px solid var(--line); }
.price { font-size: 22px; margin: 8px 0 16px; }
.choice { margin-bottom: 12px; }
.choice span { display: block; font-size: 14px; letter-spacing: 0.06em; margin-bottom: 4px; }
.policy { background: var(--soft); padding: 16px 18px; margin-top: 22px; font-size: 15px; }

.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 64px; }
.shop-grid a { text-decoration: none; background: var(--card); border: 1px solid var(--line); }
.shop-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.shop-grid h2 { font-size: 22px; font-weight: 500; margin: 0 0 6px; }

.form { display: grid; gap: 10px; padding-bottom: 48px; }
.hp { position: absolute; left: -9999px; }

.cart { width: 100%; border-collapse: collapse; margin: 20px 0 40px; }
.cart th, .cart td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 8px; vertical-align: top; }
.qty { width: 70px; }

.notice { background: var(--soft); border: 1px solid var(--line); margin: 18px auto 28px; }
.services { display: grid; gap: 16px; padding-bottom: 56px; }
.services article { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; }
.services h2 { margin: 0 0 8px; font-weight: 500; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--sage-deep);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--sage-deep); }

.orders { width: 100%; border-collapse: collapse; font-size: 15px; }
.orders td, .orders th { border-bottom: 1px solid var(--line); text-align: left; padding: 8px; vertical-align: top; }

@media (max-width: 800px) {
  .cards, .product, .shop-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; margin-left: auto; background: none; border: 1px solid var(--ink); padding: 6px 10px; }
  .nav { display: none; }
  .header-row.open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px;
  }
  .read-link { margin-top: 8px; }
  .langs { margin-left: 0; }
}
