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

:root {
  --bg: #f7efe4;
  --panel: rgba(255, 251, 246, 0.84);
  --line: rgba(73, 54, 37, 0.14);
  --line-strong: rgba(73, 54, 37, 0.24);
  --text: #231a14;
  --muted: #6f6155;
  --accent: #b48758;
  --accent-deep: #885f39;
  --shadow: 0 18px 40px rgba(63, 42, 24, 0.09);
  --shadow-soft: 0 10px 24px rgba(63, 42, 24, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 167, 126, 0.22), transparent 30%),
    linear-gradient(180deg, #fbf6ef 0%, #f2e7d8 100%);
}

.shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.hero {
  padding: 18px 10px 12px;
}

.hero-top,
.head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.eyebrow,
.title {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-nav-button,
.text-button,
.chip,
.slot,
.card,
.action-card,
.product-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.hero-nav-button,
.text-button,
.chip,
.slot,
.product-button {
  cursor: pointer;
}

.hero-nav-button,
.text-button,
.chip,
.slot {
  padding: 11px 15px;
  border-radius: 999px;
}

.hero-nav-button:hover,
.text-button:hover,
.chip:hover,
.slot:hover,
.card:hover,
.action-card:hover,
.product-button:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 135, 88, 0.76);
}

.hero-nav-button.active,
.chip.active,
.slot.active,
.card.active,
.product-filter-active {
  background: linear-gradient(135deg, rgba(180, 135, 88, 0.18), rgba(180, 135, 88, 0.06));
  border-color: rgba(180, 135, 88, 0.88);
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  margin: 14px 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.95;
  font-weight: 600;
}

.hero p,
.field span,
.meta,
.empty,
.product-copy,
.product-subtitle,
.action-card span,
.recent-meta {
  color: var(--muted);
}

.hero p {
  margin: 0;
  font-size: 15px;
}

.view-stack {
  display: grid;
  gap: 18px;
}

.view.is-hidden {
  display: none;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.action-card {
  padding: 24px;
  border-radius: 30px;
  text-align: left;
  box-shadow: var(--shadow);
}

.action-card strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 26px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.action-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(255, 250, 244, 0.74));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.chips,
.slots,
.recent {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.card {
  padding: 18px;
  border-radius: 22px;
  cursor: pointer;
  text-align: left;
}

.card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.price {
  font-weight: 700;
  font-size: 18px;
}

.meta {
  margin-top: 8px;
  font-size: 13px;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  font: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(180, 135, 88, 0.84);
  box-shadow: 0 0 0 4px rgba(180, 135, 88, 0.1);
}

.summary {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(35, 27, 22, 0.96), rgba(58, 41, 28, 0.94));
  color: #fff8ef;
}

.summary-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
}

.summary-grid {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cta {
  width: 100%;
  margin-top: 18px;
  padding: 17px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #9f7042, #c89968);
  color: #fffaf4;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(137, 93, 46, 0.22);
}

.cta:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: not-allowed;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.product-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.9), rgba(244, 231, 216, 0.9));
}

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

.product-body {
  padding: 18px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.product-title {
  font-size: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.product-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.product-copy {
  margin: 14px 0;
  line-height: 1.6;
  font-size: 14px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-volume {
  font-size: 13px;
  color: var(--muted);
}

.product-button {
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
}

.text-button {
  font: inherit;
}

.recent-card {
  flex: 1 1 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
}

.recent-card strong {
  display: block;
  margin-bottom: 8px;
}

.recent-meta {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.empty-state {
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  min-width: 280px;
  max-width: calc(100% - 24px);
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(35, 27, 22, 0.94);
  color: #fff8ef;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .home-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shell {
    width: min(100% - 16px, 720px);
    padding-top: 16px;
  }

  .panel,
  .action-card {
    padding: 18px;
  }

  .hero-top,
  .head,
  .summary-row,
  .product-top,
  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-nav {
    width: 100%;
  }

  .hero-nav-button {
    flex: 1 1 calc(33.33% - 6px);
  }

  .slot,
  .product-button,
  .text-button {
    width: 100%;
  }
}
