html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #C29A74;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.market-home .market-hero-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(14, 20, 34, 0.18);
  background: #4a3325;
}

.market-home .market-hero-content.hero-content {
  max-width: none;
  width: 100%;
  height: 100%;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(110deg, #4a3325 0%, #6e4d33 58%, #7b5a40 100%);
}

.market-home .market-hero-badge.hero-badge {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #EDE9FE;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 12px;
}

.market-home .market-hero-content .hero-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 430px;
  color: #ffffff;
}

.market-home .market-hero-content .hero-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 20px;
  max-width: 460px;
}

.market-home .market-hero-features.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 460px;
}

.market-home .market-hero-feature {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.market-home .market-hero-feature i {
  font-size: 14px;
  line-height: 1;
  margin-top: 1px;
}

.market-home .market-hero-feature:nth-child(1) i {
  color: #8b5cf6;
}

.market-home .market-hero-feature:nth-child(2) i {
  color: #22c55e;
}

.market-home .market-hero-feature:nth-child(3) i {
  color: #facc15;
}

.market-home .market-hero-feature strong,
.market-home .market-hero-feature span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.market-home .market-hero-feature strong {
  font-weight: 600;
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.86);
}

.market-home .market-hero-feature span {
  color: rgba(255, 255, 255, 0.74);
}

.market-home .market-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-home .market-hero-actions .btn {
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
}

.market-home .market-hero-btn-primary {
  border: 1px solid #A9784F;
  background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
  color: #fff;
}

.market-home .market-hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  color: #1c2538;
}

.market-home .market-hero-media {
  position: relative;
  height: 100%;
  min-height: 360px;
  background: url('https://images.unsplash.com/photo-1520854221256-17451cc331bf?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.market-home .market-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(74, 51, 37, 0.94) 0%,
    rgba(74, 51, 37, 0.82) 20%,
    rgba(74, 51, 37, 0.62) 36%,
    rgba(74, 51, 37, 0.38) 48%,
    rgba(74, 51, 37, 0.16) 57%,
    rgba(74, 51, 37, 0) 63%
  );
}

.market-home .market-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991.98px) {
  .market-home .market-hero-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .market-home .market-hero-content.hero-content {
    max-width: none;
    padding: 26px 22px;
  }

  .market-home .market-hero-features.hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .market-home .market-hero-media {
    min-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .market-home .market-hero-content .hero-title {
    font-size: 26px;
  }

  .market-home .market-hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .market-home .market-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}