:root {
  color-scheme: light;
  --font-base: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --ink: #1b1a16;
  --muted: #7b6b5a;
  --bg: #f9f6f1;
  --card: #fbf7f2;
  --accent: #a97943;
  --accent-dark: #8b6436;
  --border: #e7ded2;
  --shadow: 0 8px 20px rgba(20, 16, 12, 0.04);
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f9f6f1;
  color: var(--ink);
  font-family: var(--font-base);
  font-weight: 400;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.brand a {
  font-family: var(--font-base);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.brand-tagline {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
  animation: fade-in 0.7s ease-out;
}

.hero-open {
  position: relative;
  min-height: 70vh;
  padding: 80px 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f2ec;
  box-shadow: var(--shadow);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(249, 246, 241, 0.95) 0%,
      rgba(249, 246, 241, 0.7) 48%,
      rgba(249, 246, 241, 0.2) 72%
    ),
      url("https://pub-46d1fbc069ac482c9c8c69f3bc4385d3.r2.dev/public/product.jpg");
  background-size: cover;
  background-position: center right;
  filter: saturate(0.95);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-content h1 {
  font-family: var(--font-base);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 18px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: var(--muted);
}

.label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.hero-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 24px 0 8px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.next-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  min-width: 260px;
  backdrop-filter: blur(8px);
}

.next-card strong {
  display: block;
  font-family: var(--font-base);
  font-size: 24px;
  margin: 8px 0 6px;
}

.next-note {
  font-size: 13px;
  color: var(--muted);
}

.cta-block {
  border-radius: 8px;
  padding: 14px 26px;
  background: #6d4f37;
}

.cta-arrow {
  margin-left: 8px;
  font-weight: 500;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 14px rgba(30, 24, 18, 0.12);
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: #f7f2ec;
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.note {
  font-size: 14px;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.success-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f1ea;
  color: var(--muted);
  font-size: 0.95rem;
}

.muted-text {
  color: var(--muted);
}

.hero-card {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.soft-card {
  background: var(--card);
}

.card h2,
.card h3 {
  font-family: var(--font-base);
  font-weight: 400;
  margin-top: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.price {
  font-size: 22px;
  font-weight: 400;
}

.pill {
  background: #f1e6d8;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mini-card {
  display: grid;
  gap: 14px;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.flow {
  animation: fade-in 0.9s ease-out;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.flow-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-top: 28px;
  justify-items: center;
}

.step {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #6b4a32;
  color: #fff;
  font-weight: 500;
  margin-bottom: 16px;
}

.flow-grid h3,
.flow-grid p {
  margin-left: auto;
  margin-right: auto;
  max-width: 280px;
}

.flow-grid h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #3a2b22;
  font-weight: 400;
}

.flow-grid p {
  font-size: 16px;
  line-height: 1.7;
  color: #7a6454;
}

.drop-note {
  background: linear-gradient(120deg, #f7efe3, #f1e7d7);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-hero h1 {
  font-family: var(--font-base);
  font-weight: 400;
}

.product-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.order-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.order-product {
  padding: 0;
  overflow: hidden;
}

.product-image {
  height: 360px;
  background: url("https://pub-46d1fbc069ac482c9c8c69f3bc4385d3.r2.dev/public/product.jpg") center/cover no-repeat;
}

.product-body {
  padding: 24px 26px 28px;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

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

.inline-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inline-form .cta-block {
  min-width: 140px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #f7f2ec;
  border: 1px solid var(--border);
  font-size: 16px;
  min-width: 140px;
  height: 44px;
  justify-content: space-between;
}

.qty-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  padding: 0 4px;
}

.qty-value {
  min-width: 24px;
  text-align: center;
}

.order-summary {
  display: grid;
  gap: 16px;
  text-align: left;
}

.order-summary.empty {
  padding: 48px 24px;
  font-size: 18px;
}

.order-side {
  display: grid;
  gap: 20px;
}

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

.thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: url("https://pub-46d1fbc069ac482c9c8c69f3bc4385d3.r2.dev/public/product.jpg") center/cover no-repeat;
}

.order-line-text {
  display: grid;
  gap: 4px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.totals {
  margin: 12px 0 24px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #f7f2ec;
  border: 1px solid var(--border);
}

.totals h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.totals-list {
  display: grid;
  gap: 8px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.trash-form {
  display: flex;
  align-items: center;
}

.trash-btn {
  border: none;
  background: transparent;
  color: #7a6a5a;
  cursor: pointer;
  padding: 6px;
}

.trash-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

strong,
b {
  font-weight: 400;
}

.form label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid #e6dfd4;
  font-size: 16px;
}

.form textarea {
  resize: vertical;
}

.form button {
  margin-top: 24px;
  width: 100%;
}

.fine {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.summary p {
  margin: 4px 0;
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.practical-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #efe6dc;
  color: #6b4a32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.icon-open {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-strong {
  font-size: 18px;
  margin: 6px 0 6px;
}

.practical-notes {
  margin-top: 40px;
}

.notes-list {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}

.notes-list h3 {
  font-weight: 400;
}

.notes-list p {
  color: var(--muted);
}

.address-card {
  max-width: 520px;
  margin: 36px auto 0;
  text-align: center;
  width: 100%;
}

.address-card p {
  color: var(--muted);
}

.address-card .map-frame {
  margin-top: 16px;
  width: 100%;
  height: 260px;
  padding-top: 0;
}

.map-frame {
  width: 100%;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid #efe6d8;
}

.story {
  display: grid;
  gap: 24px;
}

.about-page {
  margin-top: 28px;
}

.about-card {
  padding: 36px 40px;
  max-width: 680px;
  line-height: 1.75;
}

.about-card p + p {
  margin-top: 18px;
}

.about-hero {
  padding-bottom: 12px;
}

.flash-stack {
  display: grid;
  gap: 8px;
}

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.flash-success {
  background: #e6f3e2;
  color: #2e5a2b;
}

.flash-warning {
  background: #fff2d6;
  color: #6f4b00;
}

.flash-info {
  background: #e7effa;
  color: #2a3f5f;
}

.site-footer {
  display: grid;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #e6dfd4;
  color: var(--muted);
}

.footer-meta {
  font-size: 13px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
}

.table {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 1.4fr 80px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #efe6d8;
}

.table-row.header {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.map-card {
  display: grid;
  gap: 16px;
}

.map-frame {
  position: relative;
  padding-top: 56%;
  border-radius: 8px;
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 900px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero-open {
    padding: 96px 80px;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-layout,
  .split,
  .story {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-layout {
    grid-template-columns: 1.2fr 1fr;
  }

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

  .notes-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 56px;
  }
}

@media (max-width: 640px) {
  .hero-open {
    padding: 40px 24px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
