:root {
  --bg-main: #f7f3ee;
  --bg-alt: #efe9e2;
  --bg-soft: #fbf8f4;
  --panel: rgba(255, 255, 255, 0.92);

  --text-main: #111111;
  --text-muted: #6f6a64;
  --text-soft: #8b8379;

  --accent: #4f5d4a;
  --accent-dark: #3f4b3b;

  --border-light: #e3ddd5;
  --border-strong: #d6cec5;

  --dark: #111111;
  --white: #ffffff;

  --shadow-sm: 0 10px 22px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 18px 38px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.16);

  --radius: 24px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(to bottom, #faf7f2, var(--bg-main));
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner,
.footer-inner,
.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 92px;
}

.brand {
  display: inline-block;
  text-transform: uppercase;
  line-height: 1;
}

.brand-main {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-sub {
  display: block;
  margin-top: 4px;
  padding-left: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a[target="_blank"]::after {
  display: none;
}

.main-nav a[target="_blank"] {
  opacity: 0.85;
}

.main-nav a[target="_blank"]:hover {
  opacity: 1;
}

/* Typography helpers */
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.hero,
.section {
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero h1,
.section-heading h2,
.contact-strip h2 {
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 88px);
  margin-bottom: 22px;
}

.hero p,
.section-heading p,
.contact-strip p,
.card p,
.product-meta,
.review p,
.form-wrap p,
.info-pill {
  color: var(--text-muted);
}

.hero p {
  font-size: clamp(17px, 2vw, 21px);
  max-width: 650px;
  margin-bottom: 30px;
}

.hero-actions,
.contact-actions,
.shop-hero-actions,
.sell-hero-actions,
.contact-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero meta */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.hero-meta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.hero-meta span {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
}

/* Hero image */
.hero-image {
  min-height: 620px;
  border-radius: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.16)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

/* Shop hero */
.shop-hero {
  padding: 90px 0 50px;
}

.shop-hero-inner {
  max-width: 820px;
}

.shop-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  color: var(--text-main);
}

.shop-hero p {
  max-width: 620px;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.shop-hero-actions {
  margin-bottom: 24px;
}

/* Sell hero */
.sell-hero {
  padding: 90px 0 60px;
}

.sell-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.sell-hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.sell-hero-copy p {
  max-width: 620px;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.sell-hero-panel {
  display: flex;
}

.sell-panel-card {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.sell-panel-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.sell-steps {
  display: grid;
  gap: 18px;
}

.sell-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sell-step h3 {
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.sell-step p {
  color: var(--text-muted);
}

.sell-heading {
  margin-bottom: 32px;
}

.sell-form {
  max-width: 100%;
}

/* Contact hero */
.contact-hero {
  padding: 90px 0 40px;
}

.contact-hero-inner {
  max-width: 760px;
}

.contact-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.contact-hero p {
  max-width: 620px;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-info-card {
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.contact-info-item span {
  color: var(--text-muted);
}

.contact-form-wrap {
  max-width: 100%;
}

.contact-form-wrap h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  color: var(--text-main);
}

/* Section heading */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 40px;
}

.section-heading h2,
.contact-strip h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 660px;
  font-size: 18px;
}

.shop-heading {
  margin-bottom: 32px;
}

/* Alternate sections */
.alt {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)), var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Grids */
.card-grid.three,
.product-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

/* Cards */
.card,
.product-card {
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-top: 2px solid rgba(79, 93, 74, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card {
  padding: 30px 28px;
  min-height: 250px;
}

.card-no,
.card-meta,
.review-name,
.product-brand,
.badge,
.step,
.mini-btn {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.card-no,
.product-brand,
.review-name {
  color: var(--text-soft);
}

.card h3 {
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
  color: var(--text-main);
}

.card p,
.review p {
  margin-bottom: 16px;
}

.card-meta {
  color: var(--accent);
}

/* Process step */
.step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  margin-bottom: 16px;
}

/* Info strip */
.info-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.info-pill {
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Product cards */
.product-image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.img-1 {
  background-image:
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.12)),
    url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=900&q=80");
}

.img-2 {
  background-image:
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.12)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=900&q=80");
}

.img-3 {
  background-image:
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.12)),
    url("https://images.unsplash.com/photo-1503341338985-a1f9806f1c4d?auto=format&fit=crop&w=900&q=80");
}

.img-4 {
  background-image:
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.12)),
    url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=900&q=80");
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-main);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.badge.sold {
  background: rgba(17, 17, 17, 0.9);
  color: #ffffff;
  border-color: rgba(17, 17, 17, 0.9);
}

.product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.product-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-soft);
}

.product-content h4 {
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--text-main);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f1ec;
  color: var(--text-muted);
  border: 1px solid rgba(17, 17, 17, 0.04);
}

.product-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

/* Buttons */
.btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn {
  min-width: 190px;
  padding: 15px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
}

.mini-btn {
  min-height: 42px;
  padding: 10px 14px;
  white-space: nowrap;
  border-radius: 999px;
  background: transparent;
  color: var(--dark);
}

.mini-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.7;
  background: #ece7e1;
  border-color: #ece7e1;
  color: #7a746d;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.mini-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Reviews */
.review .stars {
  margin-bottom: 14px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* Facebook feed */
#facebook-feed iframe {
  box-shadow: var(--shadow-md);
}

/* Contact strip */
.contact-strip-inner {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--dark), #1d1d1d);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-strip .kicker,
.contact-strip p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-strip .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.contact-strip .btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.contact-strip .btn-dark,
.contact-strip .btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.contact-strip .btn-dark:hover,
.contact-strip .btn-accent:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.contact-actions a {
  flex: 1;
  text-align: center;
}

.contact-actions .btn-accent {
  min-width: 200px;
}

/* Footer */
.site-footer {
  padding: 20px 0 40px;
}

.footer-inner {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.footer-brand .brand-main {
  font-size: 24px;
}

.footer-brand .brand-sub {
  font-size: 8px;
  letter-spacing: 0.28em;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-soft);
}

.footer-divider {
  opacity: 0.5;
}

.footer-meta a {
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.footer-meta a:hover {
  color: var(--accent);
}

/* Floating message button */
.chat-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow: var(--shadow-lg);
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.chat-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

/* Forms */
.form-page {
  padding: 80px 0;
}

.form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.form-wrap h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.contact-email {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--accent);
}

.contact-email:hover {
  color: var(--accent-dark);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 93, 74, 0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

/* Notices */
.notice {
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.notice.success {
  background: #eef7ee;
  border: 1px solid #cfe3cf;
  color: #215c26;
}

.notice.error {
  background: #fff1f1;
  border: 1px solid #ebcaca;
  color: #8a2f2f;
}

/* Accessibility */
a:focus-visible,
.btn:focus-visible,
.mini-btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(79, 93, 74, 0.25);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .card-grid.three,
  .sell-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-strip-inner {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 18px;
  }

  .header-btn {
    display: none;
  }

  .hero,
  .section {
    padding: 70px 0;
  }

  .shop-hero {
    padding: 70px 0 40px;
  }

  .sell-hero {
    padding: 70px 0 40px;
  }

  .contact-hero {
    padding: 70px 0 30px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid.two,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 420px;
  }

  .product-image {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .brand-main {
    font-size: 28px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.28em;
  }

  .hero-actions,
  .contact-actions,
  .shop-hero-actions,
  .sell-hero-actions,
  .contact-hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 18px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-row {
    flex-direction: column;
    align-items: stretch;
  }

  .product-image {
    height: 300px;
  }

  .product-content h4 {
    font-size: 20px;
  }

  .price {
    font-size: 24px;
  }

  .mini-btn {
    width: 100%;
  }

  .shop-hero-actions .btn,
  .sell-hero-actions .btn,
  .contact-hero-actions .btn {
    width: 100%;
  }

  .sell-step {
    gap: 12px;
  }

  .chat-btn {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
}