:root {
  --green: #1d8f4f;
  --green-dark: #0f5f36;
  --lime: #b7e33b;
  --yellow: #ffd447;
  --orange: #ff8a3d;
  --red: #e84855;
  --ink: #183126;
  --muted: #64736a;
  --paper: #fffdf5;
  --soft: #f3f7df;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(24, 49, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 253, 245, 0.94);
  border-bottom: 1px solid rgba(24, 49, 38, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--orange));
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a,
.cart-button,
.secondary-link,
.primary-link,
.add-button,
.buy-button,
.filter,
.icon-button {
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 700;
}

.main-nav a:hover,
.filter:hover,
.secondary-link:hover {
  background: rgba(29, 143, 79, 0.1);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 800;
  background: var(--green);
}

.cart-button span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 28px;
  padding: clamp(42px, 8vw, 96px) clamp(16px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(9, 54, 29, 0.82), rgba(9, 54, 29, 0.32)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: var(--white);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.6;
}

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

.primary-link,
.secondary-link,
.buy-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-weight: 900;
}

.primary-link,
.buy-button,
.add-button {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.secondary-link {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
}

.primary-link:hover,
.add-button:hover,
.buy-button:hover,
.cart-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.notice-board {
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 245, 0.95);
  box-shadow: var(--shadow);
}

.notice-board h2 {
  margin: 0 0 12px;
}

.notice-board ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(24, 49, 38, 0.14);
}

.promo-strip article {
  padding: 24px clamp(16px, 4vw, 56px);
  background: var(--soft);
}

.promo-strip strong,
.promo-strip span {
  display: block;
}

.promo-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section,
.contact-section {
  padding: clamp(52px, 8vw, 88px) clamp(16px, 4vw, 56px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading .eyebrow,
.contact-section .eyebrow {
  color: var(--green-dark);
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.section-heading p,
.contact-section p {
  color: var(--muted);
  line-height: 1.6;
}

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

.filter {
  padding: 10px 16px;
  color: var(--green-dark);
  font-weight: 900;
  background: var(--white);
  border: 1px solid rgba(24, 49, 38, 0.14);
}

.filter.active {
  color: var(--white);
  background: var(--green);
}

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

.product-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(24, 49, 38, 0.12);
  box-shadow: 0 8px 30px rgba(24, 49, 38, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.tag {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  background: #dcf2b9;
}

.product-body h3,
.product-body p {
  margin: 0;
}

.product-body p {
  min-height: 66px;
  color: var(--muted);
  line-height: 1.45;
}

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

.product-meta strong {
  color: var(--red);
  font-size: 1.35rem;
}

.product-meta span {
  color: var(--muted);
  font-weight: 700;
}

.add-button {
  width: 100%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--orange));
}

.info-section {
  background: linear-gradient(135deg, #e9ffd4 0%, #fff4c2 48%, #ffe6d8 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-grid article {
  padding: 20px;
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.info-grid article:nth-child(2) {
  border-color: var(--orange);
}

.info-grid article:nth-child(3) {
  border-color: var(--yellow);
}

.info-grid article:nth-child(4) {
  border-color: var(--red);
}

.info-grid h3,
.info-grid p {
  margin: 0;
}

.info-grid p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 24px;
  align-items: center;
  background: var(--green-dark);
  color: var(--white);
}

.contact-section p,
.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card p {
  margin: 8px 0;
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.cart-panel.open {
  display: block;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 17, 0.56);
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 470px);
  height: 100%;
  overflow: auto;
  padding: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cart-header h2 {
  margin: 0;
  font-size: 2rem;
}

.cart-header .eyebrow {
  color: var(--green);
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  background: #eef5df;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(24, 49, 38, 0.12);
}

.cart-item h3,
.cart-item p {
  margin: 0;
}

.cart-item p {
  color: var(--muted);
}

.quantity-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-tools button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  color: var(--white);
  background: var(--green);
}

.empty-cart {
  color: var(--muted);
  padding: 16px;
  border-radius: 8px;
  background: #fff6cf;
}

.checkout-box {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 49, 38, 0.16);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
}

.total-row strong {
  color: var(--red);
  font-size: 1.6rem;
}

.delivery-options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(24, 49, 38, 0.16);
  background: var(--white);
}

.delivery-options legend {
  padding: 0 6px;
  font-weight: 900;
}

.delivery-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(24, 49, 38, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
}

.buy-button {
  width: 100%;
  margin-top: 14px;
  color: var(--white);
  background: var(--red);
}

.ticket {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border: 2px dashed var(--green);
}

.ticket h2 {
  margin-top: 0;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(24, 49, 38, 0.1);
}

.ticket-total {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--red);
}

.full {
  width: 100%;
  margin-top: 14px;
  color: var(--green-dark);
  border-color: var(--green);
  background: #eef8d4;
}

@media (max-width: 980px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .promo-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .main-nav a,
  .cart-button {
    padding: 9px 10px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

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

  .cart-drawer {
    padding: 16px;
  }
}
