:root {
  --bg: #f5ead2;
  --bg-soft: #fffaf1;
  --surface: rgba(255, 251, 244, 0.84);
  --surface-strong: #fff8ee;
  --surface-ink: #173427;
  --surface-ink-soft: #24503a;
  --text: #1d241a;
  --muted: #5f684f;
  --line: rgba(31, 54, 35, 0.12);
  --accent: #1f7a4e;
  --accent-strong: #155837;
  --accent-soft: #d8f0e1;
  --gold: #c8942c;
  --gold-soft: #f8e2b7;
  --ember: #c66131;
  --ember-soft: #f6d3c2;
  --shadow: 0 24px 60px -34px rgba(17, 31, 21, 0.32);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 248, 224, 0.95), transparent 32%),
    radial-gradient(circle at bottom right, rgba(201, 231, 211, 0.8), transparent 36%),
    linear-gradient(180deg, #fdf8ef 0%, #f5ead2 52%, #f0e2c5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 68, 48, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 68, 48, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 20px auto 36px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid rgba(31, 54, 35, 0.1);
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px -34px rgba(17, 31, 21, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #1d5339, #2f7a54),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
  color: #fffdf6;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 24px -18px rgba(18, 64, 41, 0.8);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.94rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fffcf6;
  box-shadow: 0 16px 26px -18px rgba(21, 88, 55, 0.75);
}

.btn-secondary,
.btn-ghost {
  border-color: rgba(23, 52, 39, 0.16);
  background: rgba(255, 251, 244, 0.86);
  color: var(--surface-ink);
}

.btn-block {
  width: 100%;
}

.hero,
.section,
.site-footer {
  animation: rise-in 540ms ease both;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 26px;
  margin-top: 22px;
}

.hero.hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy,
.hero-panel,
.overview-card,
.info-card,
.step-card,
.product-card,
.stats-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
  min-height: 360px;
  background:
    radial-gradient(circle at top right, rgba(233, 247, 239, 0.78), transparent 36%),
    linear-gradient(145deg, rgba(255, 250, 240, 0.98), rgba(244, 235, 214, 0.92));
}

.hero-copy::after,
.hero-panel::after,
.overview-card::after,
.info-card::after,
.product-card::after,
.step-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.info-card h2,
.step-card h3,
.cart-head h3,
.product-head h3,
.overview-card h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.02;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.hero-lead,
.section-heading p,
.overview-card p,
.step-card p,
.checkout-note,
.cart-empty,
.action-feedback,
.footer-note {
  line-height: 1.65;
}

.hero-lead {
  max-width: 54ch;
  margin: 18px 0 0;
  color: #36412f;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-panel {
  padding: 28px;
  color: #eef7f1;
  background:
    radial-gradient(circle at top left, rgba(117, 180, 138, 0.28), transparent 34%),
    linear-gradient(180deg, #173427 0%, #214632 100%);
}

.panel-label,
.panel-caption,
.price-label,
.product-category {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-label {
  color: rgba(239, 247, 241, 0.72);
}

.panel-caption {
  color: rgba(239, 247, 241, 0.82);
}

.hero-panel-block + .hero-panel-block {
  margin-top: 24px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f7fcf8;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chip-row-compact span {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.hero-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat strong {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.42rem;
}

.hero-stat span {
  color: rgba(239, 247, 241, 0.8);
  font-size: 0.96rem;
}

.section {
  margin-top: 42px;
}

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

.section-heading h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.compact-heading {
  margin-bottom: 18px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
}

.overview-card {
  padding: 28px;
}

.overview-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.highlight-list,
.perk-list,
.guarantee-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.highlight-list li,
.perk-list li,
.guarantee-list li {
  position: relative;
  padding-left: 22px;
}

.highlight-list li + li,
.guarantee-list li + li {
  margin-top: 14px;
}

.highlight-list li::before,
.perk-list li::before,
.guarantee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  transform: rotate(45deg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stats-card {
  padding: 22px;
  min-height: 180px;
}

.stats-card strong {
  display: block;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.stats-card h3 {
  margin: 16px 0 8px;
  font-size: 1.02rem;
}

.stats-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

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

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(23, 52, 39, 0.14);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.85);
  color: var(--surface-ink);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--surface-ink);
  color: #fffaf2;
  border-color: var(--surface-ink);
  transform: translateY(-1px);
}

.toolbar-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.search-field input,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 52, 39, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  padding: 13px 14px;
  color: var(--text);
}

.search-field input {
  min-width: 260px;
}

.search-field input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 2px solid rgba(31, 122, 78, 0.24);
  border-color: rgba(31, 122, 78, 0.36);
}

.catalog-count {
  margin: 0;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.catalog-layout.catalog-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
}

.product-card[data-accent="emerald"] {
  background:
    radial-gradient(circle at top right, rgba(216, 240, 225, 0.95), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(246, 240, 227, 0.92));
}

.product-card[data-accent="gold"] {
  background:
    radial-gradient(circle at top right, rgba(248, 226, 183, 0.94), transparent 36%),
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(247, 236, 215, 0.92));
}

.product-card[data-accent="ember"] {
  background:
    radial-gradient(circle at top right, rgba(246, 211, 194, 0.94), transparent 36%),
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(246, 234, 223, 0.92));
}

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

.product-head h3 {
  font-size: 1.38rem;
}

.product-category {
  margin-bottom: 8px;
  color: var(--muted);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--surface-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-description {
  margin: 0;
  color: #3d4337;
  line-height: 1.65;
}

.product-detail-block {
  display: grid;
  gap: 10px;
}

.minecraft-label {
  margin: 0;
  color: var(--surface-ink);
  font-weight: 700;
}

.minecraft-lore {
  margin: 0;
  color: #3d4337;
  font-style: italic;
  line-height: 1.55;
}

.minecraft-source {
  margin: 0;
  color: #315fb2;
  font-style: italic;
  font-weight: 600;
}

.food-stats {
  display: grid;
  gap: 12px;
}

.food-stat-row {
  display: grid;
  gap: 6px;
}

.food-stat-row > span {
  color: var(--surface-ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.stat-bar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.stat-bar-track {
  position: relative;
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: rgba(18, 36, 27, 0.15);
  overflow: hidden;
}

.stat-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.stat-bar-fill.hunger {
  background: linear-gradient(90deg, #bf3f27, #de6341);
}

.stat-bar-fill.saturation {
  background: linear-gradient(90deg, #c89b2d, #e4be47);
}

.stat-bar-wrap strong {
  min-width: 40px;
  text-align: right;
  color: #2b3028;
  font-size: 0.9rem;
}

.perk-list {
  margin-top: 0;
  display: grid;
  gap: 12px;
}

.perk-list li {
  line-height: 1.5;
  color: #36412f;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.price-label {
  color: var(--muted);
}

.price {
  display: block;
  margin-top: 8px;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.8rem;
}

.card-actions {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}

.card-actions .btn {
  min-height: 42px;
  padding-inline: 16px;
}

.text-link {
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.in-cart-note {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(23, 52, 39, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 244, 0.72);
  color: var(--muted);
  text-align: center;
}

.cart-panel {
  position: sticky;
  top: 102px;
  padding: 24px;
  color: #eef7f1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(117, 180, 138, 0.24), transparent 38%),
    linear-gradient(180deg, #173427 0%, #10241b 100%);
  box-shadow: 0 26px 60px -34px rgba(10, 22, 15, 0.7);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow-panel {
  margin-bottom: 8px;
  color: rgba(239, 247, 241, 0.72);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.cart-empty {
  margin: 18px 0 0;
  color: rgba(239, 247, 241, 0.8);
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-item {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-head strong {
  font-size: 1rem;
}

.cart-item-meta {
  margin-top: 4px;
  color: rgba(239, 247, 241, 0.76);
  font-size: 0.92rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-button,
.remove-button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3fbf5;
  cursor: pointer;
}

.remove-button {
  padding-inline: 12px;
}

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

.cart-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form span {
  font-size: 0.92rem;
  color: rgba(239, 247, 241, 0.82);
}

.checkout-form input,
.checkout-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f2fbf5;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(239, 247, 241, 0.46);
}

.payment-box {
  margin-top: 18px;
}

.checkout-note {
  margin: 18px 0 0;
  color: rgba(239, 247, 241, 0.76);
  font-size: 0.94rem;
}

.action-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: #f5de98;
  font-size: 0.92rem;
}

.step-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.step-card,
.info-card {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-soft), var(--ember-soft));
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--surface-ink);
}

.step-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.guarantee-list li {
  padding: 0 0 0 22px;
  color: #374032;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(23, 52, 39, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 28px;
  padding: 18px 8px 8px;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-note {
  margin-top: 10px;
  font-size: 0.93rem;
}

.noscript-note {
  padding: 16px;
  border-radius: 16px;
  background: #fff4e8;
  color: #6d422e;
}

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

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

@media (max-width: 1080px) {
  .hero,
  .overview-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-meta {
    justify-items: stretch;
  }

  .search-field input {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100%, calc(100% - 18px));
    margin-block: 10px 28px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero-copy,
  .hero-panel,
  .overview-card,
  .info-card,
  .step-card,
  .product-card,
  .cart-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .product-footer,
  .cart-item-head,
  .cart-item-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions {
    align-items: stretch;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
