:root {
  color-scheme: light;
  --bg: #fdf7ef;
  --surface: #fffdf8;
  --card: #fff7ea;
  --ink: #2b1c10;
  --muted: #6c5845;
  --accent: #dd8a2c;
  --accent-dark: #ab6f2b;
  --border: #ebd7c4;
  --shadow: 0 24px 60px -42px rgba(53, 33, 18, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", "Open Sans", "Roboto", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, rgba(221, 138, 44, 0.18), transparent 38%), linear-gradient(180deg, #fff7ec, var(--bg));
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.hero {
  padding: 56px 24px 52px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(221, 138, 44, 0.18), rgba(255, 255, 255, 0.92));
}

.hero__content {
  max-width: 1080px;
  margin: 0 auto;
}

.hero__topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.hero__eyebrow,
.section-heading__eyebrow,
.contact-panel__eyebrow,
.article-card__eyebrow,
.collection-card__eyebrow,
.product-card__eyebrow,
.article-view__eyebrow {
  margin: 0;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.hero__title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  margin: 16px 0 10px;
}

.hero__subtitle {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__search {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__search input,
.hero__search button,
.support-form input,
.support-form textarea {
  font: inherit;
}

.hero__search input {
  flex: 1 1 300px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1rem;
}

.hero__search button,
.support-form__actions button,
.article-links a,
.product-card__links a {
  text-decoration: none;
  cursor: pointer;
}

.hero__search button,
.support-form__actions button {
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.hero__tip {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2,
.results__header h2,
.contact-panel h2,
.related-block h3,
.article-view h2 {
  margin: 8px 0 0;
}

.product-strip,
.results,
.related-block {
  margin-top: 40px;
}

.product-grid,
.collection-grid,
.article-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card,
.collection-card,
.article-card,
.contact-panel,
.status,
.article-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-card,
.collection-card,
.article-card {
  border-radius: 20px;
  padding: 22px;
}

.product-card h3,
.collection-card h3,
.article-card h4,
.status h2 {
  margin: 10px 0 8px;
}

.product-card__summary,
.collection-card__summary,
.collection-card__meta,
.article-card__summary,
.article-view__summary,
.article-surface p,
.article-surface li,
.support-status,
.contact-panel p,
.results__header p,
.status p {
  color: var(--muted);
}

.product-card__links,
.article-links,
.footer__links,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-card__links {
  margin-top: 18px;
}

.product-card__links a,
.article-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--accent-dark);
  font-weight: 700;
}

.collection-card,
.article-card {
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.collection-card__meta {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 22px;
}

.status__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 700;
}

.results__header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.is-hidden {
  display: none;
}

.article-view {
  margin-top: 32px;
}

.back-link {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.breadcrumbs {
  margin: 18px 0 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--accent-dark);
  font-weight: 700;
}

.article-surface {
  margin-top: 20px;
  padding: 28px;
  border-radius: 24px;
}

.article-surface h2,
.article-surface h3 {
  margin: 24px 0 8px;
}

.article-surface ul {
  margin: 0;
  padding-left: 20px;
}

.article-links {
  margin-top: 20px;
}

.related-block {
  margin-top: 28px;
}

.contact-panel {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 28px;
  border-radius: 24px;
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.support-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
}

.support-form textarea {
  resize: vertical;
}

.support-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.support-form__actions button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.support-status.is-success {
  color: #177245;
}

.support-status.is-error {
  color: #b32727;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
}

.footer__links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 44px;
  }

  .hero__topbar {
    align-items: flex-start;
  }

  .status,
  .contact-panel {
    padding: 22px;
  }

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