:root {
  --bg: #f3eee7;
  --paper: #f8f4ee;
  --ink: #16110f;
  --muted: #6d635b;
  --line: #d6c9bb;
  --panel: #fcf8f2;
  --accent: #9f7a49;
  --accent-soft: #c8ac85;
  --deep: #1c1512;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(159, 122, 73, 0.1), transparent 32%),
    linear-gradient(180deg, #f7f3ee 0%, var(--bg) 42%, #f0e8de 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.announcement-bar {
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid rgba(159, 122, 73, 0.24);
  background: #f7f2eb;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.page-shell {
  width: min(100%, 2048px);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 2rem 1.7rem;
}

.brand-lockup {
  display: grid;
  gap: 0.2rem;
}

.brand {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.82;
  text-decoration: none;
  text-transform: lowercase;
}

.brand-sub {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.header-icons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  background: transparent;
  color: var(--deep);
  font-size: 1.3rem;
  cursor: pointer;
}

.catalog-tools {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem 1rem;
}

.filters-stack {
  display: grid;
  gap: 0.8rem;
}

.filter-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  padding: 0.62rem 1rem;
  border: 1px solid rgba(159, 122, 73, 0.28);
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  letter-spacing: 0.08em;
}

.filter-chip.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.sort-wrap {
  display: grid;
  gap: 0.35rem;
  min-width: 210px;
}

.sort-wrap label {
  font-size: 0.9rem;
}

.sort-wrap select {
  padding: 0 0 0.6rem;
  border: 0;
  border-bottom: 1px solid var(--accent);
  background: transparent;
}

.hero-space {
  display: grid;
  place-items: center;
  min-height: 18rem;
  margin: 0 2rem 2.2rem;
  padding: 4rem 2rem;
  border: 1px solid rgba(159, 122, 73, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(232, 218, 200, 0.5)),
    radial-gradient(circle at top, rgba(159, 122, 73, 0.14), transparent 40%);
  box-shadow: 0 24px 60px rgba(64, 43, 24, 0.06);
  text-align: center;
}

.hero-copy {
  max-width: 48rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 600;
  line-height: 0.88;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.load-button,
.submit-button,
.clear-button,
.shop-affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.55rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.load-button,
.submit-button,
.shop-affiliate-link {
  color: white;
  background: linear-gradient(135deg, #1d1512, #3a2a21);
}

.clear-button {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(159, 122, 73, 0.34);
}

.brand-strip-section,
.products-section {
  padding-bottom: 3rem;
}

.section-block {
  padding: 0 0 3rem;
}

.section-headline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem 1rem;
}

.section-headline h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 0.9;
}

.trust-section {
  padding-bottom: 3rem;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 2rem 3rem;
  background: rgba(159, 122, 73, 0.16);
}

.value-strip p {
  margin: 0;
  padding: 1rem 1.1rem;
  background: rgba(255, 252, 248, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.brand-strip-section {
  padding-left: 2rem;
  padding-right: 2rem;
}

.brand-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.brand-pill {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(159, 122, 73, 0.22);
  background: rgba(255, 255, 255, 0.56);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 239, 229, 0.96));
}

.wishlist-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(28, 21, 18, 0.72);
  font-size: 1.7rem;
  cursor: pointer;
}

.product-image-link {
  display: block;
}

.product-image-wrap {
  aspect-ratio: 0.74;
  background: linear-gradient(180deg, #efe7de 0%, #d8c7b4 100%);
}

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

.product-meta {
  padding: 0.8rem 0.75rem 1.3rem;
  text-align: center;
}

.product-badge {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-category {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-brand-link {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-price {
  margin: 0.45rem 0 0;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.product-description {
  margin: 0.55rem auto 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-code {
  margin: 0.7rem 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.shop-affiliate-link {
  min-height: 2.8rem;
  padding: 0 1rem;
}

.product-delete {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  background: var(--paper);
  text-align: center;
}

.admin-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 3rem 2rem 4rem;
  border-top: 1px solid var(--line);
}

.admin-copy h1 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.9;
}

.admin-copy p {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.7;
}

.inventory-count {
  color: var(--ink);
  font-weight: 700;
}

.product-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(159, 122, 73, 0.2);
  background: rgba(255, 252, 248, 0.82);
  box-shadow: 0 20px 50px rgba(67, 46, 27, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(159, 122, 73, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.form-field textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin: 0 2rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(159, 122, 73, 0.22);
}

.footer-brand p {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-brand-mark {
  display: inline-block;
  margin-bottom: 0.65rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  align-content: start;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.simple-header {
  padding-bottom: 0.5rem;
}

.info-page {
  padding: 0 2rem 3rem;
}

.narrow-page {
  max-width: 72rem;
}

.info-hero {
  margin-bottom: 2rem;
  padding: 3rem 2rem;
  border: 1px solid rgba(159, 122, 73, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(232, 218, 200, 0.44)),
    radial-gradient(circle at top, rgba(159, 122, 73, 0.12), transparent 38%);
}

.info-hero h1,
.info-card h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.92;
}

.info-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.info-hero p,
.info-card p,
.info-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card {
  padding: 1.6rem;
  border: 1px solid rgba(159, 122, 73, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.info-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.info-copy {
  display: grid;
  gap: 1rem;
  padding: 0 2rem 1rem;
}

@media (max-width: 1200px) {
  .site-header,
  .admin-section {
    grid-template-columns: 1fr;
  }

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

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

  .value-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .catalog-tools,
  .admin-section,
  .value-strip,
  .brand-strip-section,
  .info-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-space {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2.5rem 1.25rem;
  }

  .section-headline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer,
  .info-hero,
  .info-copy {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-space {
    min-height: 10rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .value-strip {
    grid-template-columns: 1fr;
    margin: 0 1rem 2rem;
  }

  .header-icons {
    justify-content: flex-start;
  }

  .site-nav {
    gap: 1rem;
  }

  .brand-strip-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
