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

:root {
  --ink: #171512;
  --ink-soft: #29271f;
  --paper: #e7ddcc;
  --paper-2: #d7cbb7;
  --cream: #efe6d6;
  --bronze: #927a55;
  --bronze-dim: #665941;
  --blue-gray: #5d6971;
  --muted: #aaa08e;
  --line: rgba(158, 132, 91, .62);
  --shadow: 0 10px 24px rgba(0, 0, 0, .35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Forum", "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: #111; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  background:
    radial-gradient(circle at 50% -10%, rgba(111, 126, 133, .26), transparent 35%),
    linear-gradient(#23241f, #151512 62%, #0f0f0d);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }

.site-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(rgba(25, 24, 20, .15), rgba(25, 24, 20, .15)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px);
  box-shadow: 0 0 80px rgba(0,0,0,.5);
}

.topbar {
  min-height: 42px;
  padding: 8px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 18px;
  color: #b8aa92;
  background: #171715;
  border-bottom: 1px solid rgba(183, 154, 108, .22);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
}
.topbar-center { text-align: center; }
.topbar-actions { display: flex; justify-content: flex-end; gap: 14px; align-items: center; }
.topbar a:hover { color: var(--cream); }

.masthead {
  height: 215px;
  overflow: hidden;
  border-bottom: 1px solid #403a2f;
  background: #4d5960;
}
.masthead img { height: 100%; object-fit: cover; object-position: center; }

.main-nav {
  margin: 0 14px 12px;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 12px 8px 18px;
  color: #e0d3be;
  background: linear-gradient(180deg, #262722, #1c1d19);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.18), var(--shadow);
}
.nav-links { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.nav-links a { text-transform: uppercase; font-size: 16px; }
.nav-links a:hover { color: #fff1d8; }
.search { width: 305px; display: flex; flex: 0 0 auto; }
.search input {
  width: 100%;
  color: #d8cbb5;
  background: #171815;
  border: 1px solid #6e6049;
  padding: 9px 12px;
  outline: none;
}
.search input::placeholder { color: #8d8475; }
.search button {
  width: 42px;
  color: #d9cbb1;
  background: #171815;
  border: 1px solid #6e6049;
  border-left: 0;
  font-size: 22px;
}

.content-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 0 14px;
}
.sidebar { display: flex; flex-direction: column; gap: 12px; }

.paper-dark {
  color: #ddd0ba;
  background:
    linear-gradient(rgba(55, 55, 48, .96), rgba(45, 45, 39, .96)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.02) 3px 4px);
  border: 1px solid #746348;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.2), var(--shadow);
}
.category-panel { padding: 14px 14px 12px; }
.category-panel h2 {
  margin: 0 0 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(189, 163, 124, .25);
  color: #cab79a;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  text-transform: uppercase;
}
.category-panel ul { list-style: none; margin: 0; padding: 0; }
.category-panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
  font-size: 16px;
}
.category-panel li:last-child { border-bottom: 0; }
.category-panel span { color: #948977; }
.category-panel a:hover { color: #fff0d4; }
.poster {
  margin: 0;
  overflow: hidden;
  border: 1px solid #746348;
  box-shadow: var(--shadow);
  background: #262620;
}
.poster img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }

main { min-width: 0; }
.hero-card {
  position: relative;
  overflow: hidden;
  height: 263px;
  border: 1px solid #7c684b;
  background: #1d1b17;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.18), var(--shadow);
}
.hero-card > img { height: 100%; object-fit: cover; object-position: center; }
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 50px rgba(0,0,0,.24);
  pointer-events: none;
}
.hero-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  color: #e9dfd0;
  background: transparent;
  font-size: 52px;
  line-height: 1;
  text-shadow: 0 2px 8px #000;
}
.hero-arrow-left { left: 14px; }
.hero-arrow-right { right: 14px; }
.hero-dots { position: absolute; z-index: 2; bottom: 13px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.hero-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(235,226,211,.75); box-shadow: 0 1px 4px #000; }

.paper-light {
  background:
    linear-gradient(rgba(235, 225, 208, .96), rgba(226, 215, 196, .96)),
    repeating-linear-gradient(90deg, rgba(88,75,54,.028) 0 1px, transparent 1px 4px);
  border: 1px solid #78684f;
  box-shadow: var(--shadow);
}
.products { margin-top: 12px; padding: 8px 12px 14px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading h1 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: .01em;
}
.section-heading a { font-size: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; }
.product-card > img {
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border: 1px solid rgba(63,52,38,.36);
  filter: saturate(.88) contrast(1.03);
}
.product-card h3 { margin: 7px 0 1px; font-size: 18px; font-weight: 600; }
.product-card p { min-height: 40px; margin: 0 0 5px; color: #51493f; font-size: 15px; line-height: 1.05; }
.product-card strong { display: block; margin-bottom: 7px; font-size: 20px; }
.card-actions { display: grid; grid-template-columns: 1fr 40px; gap: 8px; }
.card-actions button {
  min-height: 34px;
  border: 1px solid #76664f;
  color: #2a261f;
  background: rgba(247,241,230,.35);
}
.card-actions button:hover { background: rgba(255,255,255,.56); }
.card-actions .heart { border: 0; background: transparent; font-size: 27px; }

.benefits {
  margin: 12px 14px 0;
  padding: 14px 45px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.benefits div { display: flex; align-items: center; justify-content: center; gap: 15px; }
.benefits b { font-size: 44px; font-weight: 400; line-height: 1; }
.benefits span { font-size: 16px; line-height: 1.05; }

footer {
  margin-top: 12px;
  min-height: 90px;
  padding: 15px 20px 17px;
  display: grid;
  grid-template-columns: 220px 1fr 300px 180px;
  align-items: center;
  gap: 18px;
  color: #8d806c;
  background: #11110f;
  border-top: 1px solid rgba(177,145,97,.25);
}
.footer-logo { font-family: var(--display); font-size: 28px; color: #6f6250; }
.footer-copy { font-size: 13px; line-height: 1.25; }
.footer-note { text-align: center; font-style: italic; font-size: 17px; transform: rotate(-2deg); }
.social { text-align: right; font-size: 18px; color: #d6c6ae; }

@media (max-width: 1050px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-center { display: none; }
  .main-nav { align-items: stretch; flex-direction: column; }
  .nav-links { gap: 16px 24px; }
  .search { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { display: flex; justify-content: space-between; font-size: 11px; }
  .topbar-actions span, .topbar-actions a:first-of-type { display: none; }
  .masthead { height: 150px; }
  .main-nav { margin-left: 8px; margin-right: 8px; }
  .nav-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .nav-links a { font-size: 13px; }
  .content-grid { grid-template-columns: 1fr; padding: 0 8px; }
  .sidebar { display: none; }
  .hero-card { height: 220px; }
  .products { padding: 8px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .section-heading h1 { font-size: 27px; }
  .benefits { margin-left: 8px; margin-right: 8px; padding: 14px; grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .social { text-align: center; }
}

@media (max-width: 500px) {
  .nav-links { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card p { min-height: 0; }
  .benefits { grid-template-columns: 1fr; }
}
