:root {
  --ink: #1b1714;
  --muted: #6b625a;
  --line: #e5dbd0;
  --paper: #fffdf9;
  --soft: #f4efe7;
  --sage: #dfe8dc;
  --moss: #1f4a3f;
  --rust: #a24f2c;
  --denim: #2f5f87;
  --gold: #bf8b3d;
  --shadow: 0 22px 58px rgba(31, 74, 63, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 5vw, 72px);
  background: rgba(255, 253, 249, .92);
  border-bottom: 1px solid rgba(31, 74, 63, .12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--moss);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(31, 74, 63, .24);
}

.brand strong, .brand small { display: block; }
.brand small { max-width: 300px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #3f3933;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover, .main-nav a.is-active {
  color: var(--moss);
  background: var(--sage);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--moss);
  font-size: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(42px, 7vw, 86px) clamp(16px, 5vw, 72px) 46px;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, .98), rgba(255, 253, 249, .72)),
    url("https://images.unsplash.com/photo-1489987707025-afc232f7ea0f?q=80&w=1800&auto=format&fit=crop") center/cover;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--rust);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--moss);
  font-size: clamp(27px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.3; }
.lead { max-width: 650px; color: #4b443d; font-size: clamp(18px, 2vw, 22px); }

.hero-actions, .product-actions, .section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button, .button-soft, .button-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.button { color: #fff; background: var(--moss); box-shadow: 0 14px 28px rgba(31, 74, 63, .22); }
.button:hover { transform: translateY(-1px); }
.button-soft { color: var(--moss); background: #fff; border: 1px solid rgba(31, 74, 63, .18); }
.button-mini { min-height: 40px; padding: 9px 12px; color: #fff; background: var(--moss); font-size: 14px; }
.button-mini.soft { color: var(--moss); background: var(--sage); }

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(31, 74, 63, .02), rgba(31, 74, 63, .44)),
    url("https://images.unsplash.com/photo-1479064555552-3ef4979f8908?q=80&w=1400&auto=format&fit=crop") center/cover;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: rgba(31, 74, 63, .84);
}

.hero-note span, .hero-note strong { display: block; }
.hero-note span { margin-bottom: 6px; color: #f1d19b; font-weight: 900; }
.hero-note strong { font-size: 22px; line-height: 1.25; }

.section, .page-hero { padding: 72px clamp(16px, 5vw, 72px); }
.section-muted { background: var(--soft); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head.center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.text-link { color: var(--rust); font-weight: 900; text-decoration: none; }

.grid, .product-grid, .category-grid {
  display: grid;
  gap: 18px;
}

.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-grid.large { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-card, .product-card, .category-card, .empty-state, .filter-panel, .contact-list, .contact-form, .terms article {
  border: 1px solid rgba(31, 74, 63, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(27, 23, 20, .06);
}

.feature-card { padding: 24px; }
.feature-card i { color: var(--rust); font-size: 30px; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.product-card { overflow: hidden; min-width: 0; }
.product-image { position: relative; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; text-decoration: none; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }

.status-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--moss);
  font-size: 12px;
  font-weight: 900;
}

.status-badge.is-sold { background: #6b625a; }
.product-body { padding: 18px; }
.product-category { margin-bottom: 6px; color: var(--rust); font-size: 13px; font-weight: 900; }
.price { display: block; margin: 10px 0 12px; color: var(--denim); font-size: 22px; }

.product-meta, .detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.product-meta div, .detail-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

dt { color: var(--muted); font-weight: 800; }
dd { margin: 0; font-weight: 800; }

.category-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(31, 74, 63, .92), rgba(162, 79, 44, .75)),
    url("https://images.unsplash.com/photo-1512436991641-6745cdb1723f?q=80&w=900&auto=format&fit=crop") center/cover;
  text-decoration: none;
}

.category-card span { font-size: 22px; font-weight: 900; }
.category-card small { color: rgba(255, 255, 255, .86); font-weight: 800; }

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 300px;
  padding: 36px 22px;
  text-align: center;
}

.empty-state i { color: var(--rust); font-size: 48px; }
.empty-state p { max-width: 540px; color: var(--muted); }

.page-hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(31, 74, 63, .94), rgba(47, 95, 135, .78)),
    url("https://images.unsplash.com/photo-1523398002811-999ca8dec234?q=80&w=1800&auto=format&fit=crop") center/cover;
}

.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; color: rgba(255, 255, 255, .86); font-size: 19px; }

.shop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.filter-panel form, .contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--moss);
  font-weight: 900;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea { resize: vertical; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reset-link { width: 100%; }

.result-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
}

.result-bar strong { color: var(--ink); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pagination a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.pagination a.is-active { color: #fff; background: var(--moss); border-color: var(--moss); }

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 28px;
}

.split, .contact-wrap, .product-detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(31, 74, 63, .12);
  border-radius: 8px;
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--rust);
  font-weight: 900;
}

.contact-list { display: grid; gap: 14px; padding: 22px; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-item i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--moss); }
.contact-item strong, .contact-item span { display: block; }
.contact-item span { color: var(--muted); }
.contact-form { padding: 22px; }
.form-status { margin: 0; color: var(--moss); font-weight: 800; }

.terms { display: grid; gap: 16px; }
.terms article { padding: 24px; }
.terms p { margin-bottom: 0; color: var(--muted); }

.detail-image { overflow: hidden; border-radius: 8px; background: var(--soft); box-shadow: var(--shadow); }
.detail-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.detail-copy { padding-top: 8px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(16px, 5vw, 72px);
  color: rgba(255, 255, 255, .82);
  background: #1b1714;
}

.site-footer strong { color: #fff; }
.site-footer p { margin: 6px 0 0; }
.footer-contact { display: grid; gap: 4px; text-align: right; }
.footer-contact a { color: #fff; }

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--rust);
  box-shadow: 0 16px 34px rgba(162, 79, 44, .34);
  text-decoration: none;
  font-size: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .product-grid, .product-grid.compact, .grid.four, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { padding-inline: 9px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .hero, .shop-layout, .split, .contact-wrap, .product-detail { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 430px; }
  .filter-panel { position: static; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 12px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .section, .page-hero, .hero { padding-inline: 16px; }
  h1 { font-size: 38px; }
  .section-head { display: block; }
  .product-grid, .product-grid.compact, .grid.four, .category-grid, .category-grid.large, .search-panel, .range-row { grid-template-columns: 1fr; }
  .site-footer { display: grid; }
  .footer-contact { text-align: left; }
}
