:root {
  --ink: #17201b;
  --muted: #5d6e64;
  --line: #dce4dd;
  --paper: #fbfaf5;
  --soft: #edf4ea;
  --green: #1f6b43;
  --green-dark: #13452c;
  --gold: #d99a22;
  --brick: #a84d35;
  --blue: #1d5d86;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 35, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: #33463a;
  font-weight: 700;
}

.cart-button,
.filter,
.icon-button,
.add-button,
.link-button {
  border: 0;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.cart-button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 76px));
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 23, 18, 0.8), rgba(13, 23, 18, 0.36) 58%, rgba(13, 23, 18, 0.04));
}

.hero-overlay {
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(48px, 10vh, 110px) clamp(18px, 6vw, 76px);
  color: var(--white);
}

.hero-overlay .eyebrow {
  color: #f2c56e;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.seller-section h2,
.payment-band h2,
.service-band h2,
.admin-section h2,
.order-section h2 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 6.3vw, 6rem);
}

.hero p {
  max-width: 670px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions,
.filters,
.seller-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 14px;
  margin-top: 16px;
}

.location-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.primary-action,
.secondary-action,
.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.primary-action {
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.contact-action {
  color: var(--blue);
  background: #edf6fb;
  border: 1px solid #cbe1ef;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  padding: 18px;
  text-align: center;
  font-weight: 800;
  background: var(--white);
}

.section,
.seller-section,
.payment-band,
.service-band,
.admin-section,
.order-section {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-heading h2,
.seller-section h2,
.payment-band h2,
.service-band h2,
.admin-section h2,
.order-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.search-box {
  display: grid;
  gap: 6px;
  width: min(390px, 100%);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-box input,
.location-filters select,
.seller-form input,
.seller-form select,
.seller-form textarea,
.boost-form input,
.boost-form select,
.boost-form textarea,
.admin-form input,
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
}

.seller-form input[type="file"] {
  padding: 11px;
}

.filter {
  padding: 10px 16px;
  color: var(--green-dark);
  background: var(--soft);
  border-radius: 999px;
  font-weight: 800;
}

.filter.active {
  color: var(--white);
  background: var(--green);
}

.status-line {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 35, 25, 0.07);
}

.product-photo {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  padding: 16px;
  color: var(--white);
  background: #d8e5d4;
}

.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 33, 29, 0.02), rgba(24, 33, 29, 0.72));
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  background: #f6f8f5;
  border-bottom: 1px solid var(--line);
}

.photo-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 6px;
}

.photo-thumb.active {
  border-color: var(--green);
}

.photo-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge,
.status-badge,
.boost-badge,
.verified-badge {
  width: fit-content;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.status-badge {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.9);
}

.boost-badge,
.verified-badge {
  color: var(--ink);
  background: #f2c56e;
  border-color: #f2c56e;
}

.verified-badge {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.sold-badge {
  color: var(--white);
  background: var(--brick);
  border-color: var(--brick);
}

.product-card.sold .product-photo img {
  filter: grayscale(0.45);
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.product-body p,
.seller-copy p,
.payment-band p,
.service-grid p,
.order-section p {
  color: var(--muted);
  line-height: 1.62;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
  color: var(--muted);
}

.seller-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.price {
  color: var(--green-dark);
  font-size: 1.28rem;
  font-weight: 900;
}

.add-button,
.link-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 800;
}

.add-button {
  color: var(--white);
  background: var(--brick);
}

.add-button:disabled {
  color: #8a928d;
  background: #e1e5e1;
  cursor: not-allowed;
}

.link-button {
  color: var(--blue);
  background: #edf6fb;
}

.seller-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: #f4f7f2;
}

.seller-copy {
  position: sticky;
  top: 106px;
}

.seller-steps span {
  padding: 9px 12px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.seller-form,
.boost-form,
.admin-form,
.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seller-form label,
.boost-form label,
.admin-form label,
.order-form label {
  display: grid;
  gap: 7px;
  color: #314138;
  font-weight: 800;
}

.seller-form small {
  color: var(--muted);
  font-weight: 400;
}

.wide {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.form-message.error {
  color: var(--brick);
}

.form-message a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  text-decoration: underline;
}

.seller-receipt {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--ink);
  background: #f4fbf5;
  border: 2px solid var(--green);
  border-radius: 8px;
}

.seller-receipt span {
  color: var(--green-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.seller-receipt strong {
  font-size: 1.35rem;
}

.seller-receipt small {
  color: var(--muted);
  font-weight: 700;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.receipt-actions a {
  min-height: 42px;
  align-items: center;
}

.payment-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.payment-band .eyebrow,
.payment-band p {
  color: #c8d4cc;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.payment-grid article {
  min-height: 132px;
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.payment-grid strong {
  color: #f2c56e;
  font-size: 1.18rem;
}

.boost-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background: #f8f3e7;
}

.boost-section p {
  color: var(--muted);
  line-height: 1.62;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.plan-grid article {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid #ead7ad;
  border-radius: 8px;
}

.plan-grid strong {
  color: var(--green-dark);
}

.plan-grid span {
  color: var(--brick);
  font-weight: 900;
}

.service-band {
  background: #e8efe5;
}

.admin-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: #eef4f8;
}

.admin-section[hidden] {
  display: none;
}

.admin-section p {
  color: var(--muted);
  line-height: 1.62;
}

.admin-panel {
  display: grid;
  gap: 14px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-card h3,
.admin-card p {
  margin: 0;
}

.admin-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  color: var(--muted);
}

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

.danger-action {
  color: var(--white);
  background: var(--brick);
  border: 1px solid var(--brick);
}

.compact {
  max-width: 840px;
}

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

.service-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.order-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(430px, 100%);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  transition: transform 180ms ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--soft);
  border-radius: 999px;
  font-size: 1.6rem;
}

.cart-items {
  overflow: auto;
  padding: 12px 20px;
}

.cart-item {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item button {
  width: fit-content;
  padding: 0;
  color: var(--brick);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.cart-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-footer p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 1.1rem;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  background: rgba(0, 0, 0, 0.32);
}

.scrim.open {
  display: block;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #101714;
}

@media (max-width: 980px) {
  .site-header,
  .section-heading,
  .seller-section,
  .boost-section,
  .admin-section,
  .payment-band,
  .order-section {
    align-items: stretch;
  }

  .site-header,
  .section-heading {
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .cart-button {
    align-self: flex-start;
  }

  .trust-strip,
  .catalog-grid,
  .location-filters,
  .seller-section,
  .boost-section,
  .admin-section,
  .payment-band,
  .payment-grid,
  .plan-grid,
  .service-grid,
  .order-section {
    grid-template-columns: 1fr;
  }

  .seller-copy {
    position: static;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(13, 23, 18, 0.3), rgba(13, 23, 18, 0.8));
  }

  .hero-overlay {
    margin: 0 auto 42px;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 600px) {
  .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 3px;
  }

  .brand {
    min-width: 0;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .seller-form,
  .boost-form,
  .admin-form,
  .order-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .price-line {
    align-items: stretch;
    flex-direction: column;
  }

  .add-button,
  .link-button {
    width: 100%;
  }
}
