:root {
  --ink: #202622;
  --muted: #5f685f;
  --line: #d8ddd2;
  --paper: #fbfbf6;
  --mist: #eef3ed;
  --sage: #5f755d;
  --clay: #a35f45;
  --steel: #42586d;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(32, 38, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 246, 0.92);
  border-bottom: 1px solid rgba(216, 221, 210, 0.78);
  backdrop-filter: blur(16px);
}

.brand-mark {
  text-decoration: none;
}

.brand-mark span,
.site-footer span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: 0;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a {
  text-decoration: none;
}

.cart-trigger,
.cart-add {
  font: inherit;
}

.cart-trigger {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.cart-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 4px 4px;
  position: relative;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: -6px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.cart-trigger:hover,
.cart-trigger:focus-visible {
  color: var(--sage);
}

.hero {
  min-height: 620px;
  padding: 104px clamp(20px, 6vw, 80px) 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 34px;
  background:
    linear-gradient(90deg, rgba(32, 38, 34, 0.72), rgba(32, 38, 34, 0.34) 48%, rgba(32, 38, 34, 0.04)),
    url("assets/brand/zibeths-store-banner.jpg") 68% center / cover no-repeat;
}

.hero-copy {
  width: min(100%, 1180px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
}

.eyebrow,
.catalog-id {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8c7b9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

.primary-action {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  text-decoration: none;
  font-weight: 760;
}

.hero-proof {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.hero-proof span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  background: rgba(32, 38, 34, 0.22);
  font-size: 0.88rem;
  font-weight: 760;
  text-align: center;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.product-band,
.detail-band,
.catalog-band,
.compare-band,
.brand-band {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.product-band {
  background: var(--paper);
}

.detail-band {
  background: var(--mist);
}

.catalog-band {
  background: var(--white);
}

.compare-band {
  background: var(--white);
}

.brand-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.brand-band .eyebrow {
  color: #d7a18a;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto clamp(28px, 4vw, 52px);
}

.section-heading.narrow {
  max-width: 820px;
}

.product-card {
  max-width: 1280px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-card.reversed .product-media {
  order: 2;
}

.product-card.reversed {
  grid-template-columns: minmax(360px, 0.92fr) minmax(340px, 1.08fr);
}

.product-media {
  margin: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f6f0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-copy > p:not(.catalog-id) {
  color: var(--muted);
  font-size: 1.08rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.facts div {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.facts dt {
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts dd {
  margin: 8px 0 0;
  font-weight: 780;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.feature-list li + li {
  margin-top: 10px;
}

.product-actions {
  margin-top: 26px;
}

.cart-add {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 820;
  cursor: pointer;
}

.cart-add:hover,
.cart-add:focus-visible {
  background: var(--sage);
  border-color: var(--sage);
}

.catalog-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.catalog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f5f6f0;
}

.catalog-card > div {
  display: grid;
  align-content: start;
  padding: 18px;
}

.catalog-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 1.3vw, 1.32rem);
  line-height: 1.16;
}

.catalog-card p:not(.catalog-id) {
  min-height: 48px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.catalog-card .cart-add {
  width: 100%;
  margin-top: auto;
  padding: 0 12px;
  font-size: 0.93rem;
}

.detail-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(520px, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(95, 117, 93, 0.22);
  border-radius: 8px;
  background: var(--white);
}

.panel-copy {
  position: sticky;
  top: 94px;
}

.panel-copy p:not(.eyebrow) {
  color: var(--muted);
}

.image-strip {
  display: grid;
  gap: 12px;
}

.image-strip.five {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-strip.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.image-strip.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f6f0;
}

.image-strip.five img:first-child,
.image-strip.four img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.compare-table {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 0.8fr;
}

.table-row > div {
  min-height: 72px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.table-row > div:last-child {
  border-right: 0;
}

.table-row:last-child > div {
  border-bottom: 0;
}

.table-head {
  background: var(--sage);
  color: var(--white);
  font-weight: 800;
}

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

.brand-points p {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 10px 14px;
    padding-bottom: 2px;
  }

  .cart-trigger {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 620px;
    padding-top: 84px;
    background-position: center;
  }

  .hero-copy {
    display: block;
  }

  .hero-copy .primary-action {
    margin-top: 24px;
  }

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

  .product-card,
  .product-card.reversed,
  .detail-panel,
  .brand-band {
    grid-template-columns: 1fr;
  }

  .product-card.reversed .product-media {
    order: 0;
  }

  .panel-copy {
    position: static;
  }

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

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row > div {
    border-right: 0;
  }

  .table-head {
    display: none;
  }

  .brand-points {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 570px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 4rem;
  }

  .product-card {
    padding: 14px;
  }

  .image-strip.five,
  .image-strip.four,
  .image-strip.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .catalog-card > div {
    padding: 14px;
  }

  .catalog-card p:not(.catalog-id) {
    min-height: 0;
  }

  .catalog-card .cart-add {
    min-height: 42px;
    font-size: 0.85rem;
  }

  .image-strip.five img:first-child,
  .image-strip.four img:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}
