:root {
  --ink: #17110f;
  --muted: #746864;
  --line: #e9ded8;
  --paper: #fffaf7;
  --soft: #f7eee9;
  --rose: #b85b62;
  --plum: #47323b;
  --gold: #c88a3a;
  --green: #58796a;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  background:
    radial-gradient(circle at 74% 42%, rgba(255, 250, 247, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(23, 17, 15, 0.9), rgba(71, 50, 59, 0.58)),
    url("https://cdn.dsmcdn.com/seller-store/uploads/987594/74050f66-4c1a-4d0a-a9bd-1f0b7d96ed5c.png")
      center / cover;
  color: var(--white);
  min-height: 76vh;
  display: flex;
  flex-direction: column;
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--white);
}

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

.nav-link {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
}

.nav-link-strong {
  background: var(--white);
  color: var(--ink);
}

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: auto auto 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  align-items: center;
  gap: 28px;
}

.hero-copy {
  max-width: 740px;
}

.hero-logo {
  width: clamp(76px, 12vw, 118px);
  height: clamp(76px, 12vw, 118px);
  display: block;
  object-fit: contain;
  margin-bottom: 22px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hero-panel {
  display: grid;
  gap: 0;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(23, 17, 15, 0.46);
  backdrop-filter: blur(8px);
}

.hero-panel div {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel span {
  display: block;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 60px;
  scroll-margin-top: 24px;
}

.banner-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.wide-banner {
  min-height: 126px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.brand-note {
  min-height: 126px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.brand-note h2 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-note p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
}

.wide-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.search span,
.select-wrap label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  outline: none;
}

input {
  padding: 0 14px;
}

select {
  padding: 0 12px;
}

input:focus,
select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(184, 91, 98, 0.14);
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 8px;
}

.category-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.category-button.is-active {
  color: var(--white);
  background: var(--plum);
  border-color: var(--plum);
}

.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 18px;
}

.results-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

.results-head > p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--soft);
  overflow: hidden;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 9px;
  background: rgba(255, 250, 247, 0.94);
  color: var(--plum);
  font-size: 12px;
  font-weight: 900;
}

.discount {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px;
}

.category {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-title {
  margin: 0;
  min-height: 66px;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.price {
  font-size: 20px;
  font-weight: 900;
  color: var(--rose);
}

.old-price {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.product-link {
  display: grid;
  place-items: center;
  min-height: 42px;
  margin-top: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 46px 20px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 32px 0;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  gap: 24px;
  align-items: center;
}

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

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 750;
}

.page-header {
  min-height: 360px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 17, 15, 0.76), rgba(71, 50, 59, 0.48)),
    url("https://cdn.dsmcdn.com/seller-store/uploads/987594/74050f66-4c1a-4d0a-a9bd-1f0b7d96ed5c.png")
      center / cover;
}

.nav-dark {
  color: var(--white);
}

.page-hero {
  width: min(1160px, calc(100% - 32px));
  margin: 76px auto 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
}

.content-page {
  min-height: 360px;
}

.content-block {
  max-width: 820px;
  padding: 28px 0 16px;
}

.content-block h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
}

.content-block p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.text-link {
  color: var(--rose);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .banner-gallery,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68vh;
  }

  .hero,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-panel {
    width: min(100%, 220px);
  }

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

  .nav-link {
    padding: 0 12px;
    font-size: 13px;
  }

}

@media (max-width: 460px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .results-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
