:root {
  --wine: #7b1516;
  --wine-2: #a7211f;
  --gold: #cfa64b;
  --gold-light: #f5df9b;
  --ink: #251b17;
  --muted: #796d64;
  --paper: #fbf8f2;
  --white: #fff;
  --shadow: 0 18px 50px rgba(65, 25, 15, .10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .01em;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(123, 21, 22, .97);
  border-bottom: 1px solid rgba(245, 223, 155, .55);
  min-height: 92px;
  padding: 10px clamp(18px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 28px rgba(69, 15, 12, .18);
}

.logo {
  width: 168px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 5px 18px #3c090933;
}

header nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

header nav a {
  color: #fff !important;
  text-decoration: none;
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
}

header nav a:hover {
  background: #ffffff1a;
  transform: translateY(-1px);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 42px) 70px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(35px, 6vw, 76px);
  display: flex;
  align-items: center;
  border: 1px solid #dec477;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff8e3 0%, #f6e0a3 100%);
  box-shadow: var(--shadow);
}

.hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  right: -100px;
  top: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7d5aa 0 25%, transparent 67%);
}

.hero:after {
  content: "✦";
  position: absolute;
  right: 17%;
  top: 22%;
  font-size: 110px;
  color: #c99f2e20;
  transform: rotate(15deg);
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 690px;
  color: var(--wine);
  margin: 15px 0;
}

.hero p {
  font-size: 18px;
  color: #493d34;
  max-width: 510px;
  line-height: 1.65;
}

.eyebrow {
  color: var(--wine-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 52px 0 17px;
}

.section-title h2 {
  font-family: Georgia, serif;
  color: var(--wine);
  font-size: 30px;
  margin: 0;
}

.section-title:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dfcfaa;
  margin: 0 0 9px 18px;
}

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

.category {
  background: transparent !important;
  color: var(--wine) !important;
  border: 1px solid #d6b65d !important;
  border-radius: 999px !important;
  padding: 11px 19px !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.category:hover,
.category.active {
  background: var(--wine) !important;
  border-color: var(--wine) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px #7b151626;
  transform: translateY(-2px);
}

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

.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee4d0 !important;
  border-top: 0 !important;
  border-radius: var(--radius) !important;
  padding: 0 0 20px !important;
  box-shadow: 0 9px 28px rgba(68, 30, 18, .07) !important;
  transition: .25s;
}

.card:before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--wine), var(--gold));
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 38px rgba(68, 30, 18, .15) !important;
}

.card img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 0 !important;
}

.card h3,
.card p,
.card small,
.card .price,
.card button,
.card span {
  margin-left: 20px;
  margin-right: 20px;
}

.card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  text-align: left;
  font-family: Georgia, serif;
  color: var(--wine);
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
}

.card small {
  display: inline-block;
  color: #a47d29;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .13em;
  margin-top: 17px;
}

.price {
  font-size: 23px !important;
  font-weight: 800;
  color: var(--wine) !important;
  margin-top: 13px !important;
}

.card button,
.btn,
button {
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  padding: 12px 19px;
  font-weight: 750;
  box-shadow: 0 7px 16px #7b151626;
  transition: .2s;
}

.card button:hover,
.btn:hover,
button:hover {
  background: #54100f;
  transform: translateY(-2px);
}

.green {
  background: #356344 !important;
}

.panel {
  background: #fff;
  border: 1px solid #eee4d0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.two {
  gap: 24px;
}

.notice {
  border: 1px solid #dfc77d;
  border-left: 4px solid var(--gold);
  background: #fff8dc;
  border-radius: 12px;
  padding: 16px;
  color: #594932;
}

input,
textarea,
select {
  border: 1px solid #ded3be !important;
  border-radius: 12px !important;
  padding: 13px !important;
  background: #fffdf8;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px #d5ad4a25;
}

table {
  border: 1px solid #eee4d0;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

th {
  background: #f6e7b8;
  color: var(--wine);
}

@media (max-width: 700px) {
  header {
    min-height: 82px;
    padding: 10px 16px;
  }

  .logo {
    width: 140px;
  }

  header nav a {
    padding: 8px;
    font-size: 12px;
  }

  main {
    padding-top: 22px;
  }

  .hero {
    min-height: 330px;
    padding: 30px 24px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero:after {
    right: 5%;
    font-size: 75px;
  }

  .section-title {
    margin-top: 38px;
  }

  .section-title:after {
    display: none;
  }
}
