:root {
  --bg0: #000000;
  --bg1: #090101;
  --ink: #b8877c;
  --muted: #8e5e54;
  --ember: #7a2a18;
  --wood: #2a0806;
  --line: rgba(58, 22, 14, 0.18);
  --shadow: 0 24px 70px rgba(7, 2, 2, 0.65);
  --r: 22px;
  --max: 1240px;
  --fontFamily1: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --fontFamily2: "MedievalSharp", cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--fontFamily1);
  background: radial-gradient(1100px 700px at 70% 20%, rgba(90, 40, 18, 0.06), transparent 55%),
    radial-gradient(900px 600px at 20% 70%, rgba(55, 20, 12, 0.05), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
  padding: 32px 18px 54px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ember);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.sheet {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
  padding-bottom: 28px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 22px;
}

.topbar .pill {
  margin-right: 35px;
  margin-top: -15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-copy h1 {
  margin: 0;
  font-family: var(--fontFamily2);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  font-size: 34px;
  position: relative;
  top: 10px;
}

.wax {
  width: 48px;
  height: 48px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(10, 0, 0, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(24, 1, 1, 0.25), rgba(26, 4, 4, 0.2)),
    var(--wood);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  top: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.wax img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10,6,4,.35);
  backdrop-filter: blur(6px);
  font-family: var(--fontFamily1);
  font-size: 15px;
}

.pill:hover {
  border-color: rgb(75, 44, 1);
  color: #754e06;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 8px;
  margin-left: 8px;
  font-size: 0.60rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.tagline::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.tagline::after {
  content: "";
  width: 55px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.nav-buttons {
  display: flex;
  gap: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: radial-gradient(900px 340px at 10% 10%, rgba(120, 58, 24, 0.06), transparent 45%),
    rgba(8, 3, 2, 0.44);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.panel-side h2,
.panel-main .panel-head h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-family: var(--fontFamily2);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.content.layout-split {
  padding: 10px 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: start;
}

.main-column {
  display: grid;
  gap: 18px;
}

.sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.panel-side {
  padding: 16px;
}

.panel-hero {
  padding: 24px 22px;
}

.panel-hero .hero-title {
  margin: 0;
  font-family: var(--fontFamily2);
  font-size: clamp(38px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink);
}

.hero-line {
  margin: 0 6px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.banner-panel {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.banner-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,rgba(0,0,0,0.25) 0%,rgba(0,0,0,0.15) 40%,rgba(0,0,0,0.6) 75%,rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.panel-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.category-chip:hover {
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

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

.product-card {
  min-width: 0;
}

.product-card-link {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(20, 5, 4, 0.34);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.product-card-link:hover {
  transform: translateY(-2px);
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
  color: inherit;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(34, 3, 3, 0.22);
}

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

.product-card-body {
  padding: 14px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.product-name {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--ink);
}

.product-line {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product-button {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(39, 3, 3, 0.35);
  font-size: 14px;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(34, 3, 3, 0.35);
  transition: border-color .25s ease,background .25s ease,box-shadow .25s ease,transform .18s ease;
}

.link b {
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
}

.link span {
  text-align: right;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}

.link:hover {
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.rule {
  height: 1px;
  background: rgba(58, 22, 14, 0.22);
  margin: 12px 0;
}

.meta {
  display: grid;
  gap: 0px;
  margin-top: 10px;
}

.meta.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(34, 3, 3, 0.35);
}

.meta.item span {
  font-size: 14px;
  text-align: left;
}

.meta.item small {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.meta.item:hover {
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
  color: inherit;
}

.mobile-break {
  display: none;
}

.footer {
  margin-top: 60px;
  color: rgba(116, 77, 77, 0.75);
  font-size: 12px;
  letter-spacing: .06em;
  text-align: left;
  hyphens: auto;
}

/* @MEDIA 1024PX */

@media (max-width: 1024px) {
  .content.layout-split {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .link,
  .meta.item {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .link span,
  .meta.item small {
    text-align: left;
    white-space: normal;
  }
}

/* @MEDIA 900PX */

@media (max-width: 900px) {
  .content.layout-split {
    grid-template-columns: 1fr;
  }
}

/* @MEDIA 640PX */

@media (max-width: 640px) {
  .banner-panel {
    height: 160px;
  }

  .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
  }

  body {
    padding: 18px 12px 34px;
  }

  .wax {
    width: 38px;
    height: 38px;
    border-radius: 15px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }

  .topbar .pill {
    margin: 0;
  }

  .brand-copy h1 {
    font-size: clamp(26px, 7vw, 32px);
    position: relative;
    top: 8px;
  }

  .tagline {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    margin-left: 2px;
    gap: 4px;
  }

  .tagline::before {
    width: 19px;
  }

  .tagline::after {
    width: 42px;
  }

  .mobile-break {
    display: block;
  }

  .panel-hero,
  .panel,
  .panel-side {
    padding: 16px;
  }

  .panel-hero .hero-title {
    font-size: clamp(22px, 7vw, 32px);
  }

  .hero-line {
    margin: 0;
  }

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

  .link {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  .link span {
    text-align: left;
    white-space: normal;
  }
}
