body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  margin: 0;
  color: #1f2937 !important;
  background: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

header,
section,
footer {
  padding: 16px;
}

.hdd {
  padding: 0px 20px;
}

.container {
  max-width: 1195px !important;
  margin: 0 auto;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

/* Flash Deals */
.flash-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.deal-card {
  min-width: 229px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.deal-thumb {
  aspect-ratio: 1/1;
  border-radius: 8px;
  background: #f1f5f9;
}

.title-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.discount-pill {
  font-size: 10px;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 6px;
  border-radius: 9999px;
  white-space: nowrap;
}

.deal-body {
  margin-top: 8px;
}

.deal-title {
  font-size: 14px;
  font-weight: 600;
}

.deal-vendor {
  font-size: 12px;
  color: #64748b;
}

.price-row {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.price {
  font-weight: 700;
}

.old-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.deal-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 640px) {
  .deal-card {
    min-width: 240px;
  }
}

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #059669;
  color: #fff;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

nav a {
  /* margin-right: 12px; */
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 8px 0;
}

.topbar {
  background: #047857;
  color: #fff;
  font-size: 14px;
}

@media(max-width: 768px) {
  .topbar {
    background: #047857;
    color: #fff;
    font-size: 9px;
  }

  .mob-ml-1 {
    margin-left: 10px;
  }
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
}

.footer a {
  color: #e2e8f0;
}

.footer li {
  margin-bottom: 5px;
}

.bot-form {
  border-radius: 16px;
  background: #059669;
  color: #fff;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.btn2 {
  padding: 10px 27px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.btn1 {
  padding: 10px 24px;
  border-radius: 0px 10px 10px 0px;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  color: #fff;
  background: radial-gradient(80% 80% at 80% 20%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 60%), linear-gradient(90deg, #047857, #059669, #10b981);
}

.hero-grid {
  padding: 32px 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.hero-kicker {
  opacity: .9;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  color: #fff;
}

.hero-title {
  font-size: 55px;
  line-height: 1.08;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.hero-sub {
  margin-top: 10px;
  opacity: .95;
  max-width: 62ch;
  color: #fff;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn-light {
  background: #fff;
  color: #047857;
  font-weight: 600;
}

.hero-btn-ghost {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-weight: 600;
}

.hero-board {
  padding: 16px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.1);
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.tiles {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: rgba(255, 255, 255, .85);
}

/* Featured Categories */
.fc-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fc-card {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  transition: box-shadow .2s ease, transform .2s ease;
}

.fc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
}

a:hover {
  text-decoration: none !important;
}

.fc-tile {
  aspect-ratio: 1/1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.fc-mint {
  background: #e6fff4;
  color: #047857;
}

.fc-lime {
  background: #f1ffdb;
  color: #3f6212;
}

.fc-amber {
  background: #fff2cc;
  color: #b45309;
}

.fc-sky {
  background: #e6f4ff;
  color: #0ea5e9;
}

.fc-rose {
  background: #ffe6ea;
  color: #e11d48;
}

.fc-violet {
  background: #f4e8ff;
  color: #7c3aed;
}

.fc-title {
  font-weight: 700;
  margin: 4px 0 2px 0;
}

.fc-sub {
  font-size: 13px;
  color: #64748b;
}

.d-nn a {
  color: #fff !important;
}

.cart-badge a {
  color: #fff !important;
}

@media (max-width: 1200px) {
  .fc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .d-nn {
    display: none;
  }
}

@media (max-width: 480px) {
  .fc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 30px;
  }

  .tiles {
    gap: 12px;
  }
}

/* Header responsive tweaks */
.header-search {
  max-width: 775px;
}

@media (max-width: 992px) {
  .header-search {
    margin: 12px 0;
  }
}

.categories-row {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .categories-row {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .categories-row>* {
    flex: 0 0 auto;
  }
}

/* Bot form responsive tweaks */
.bot-form form {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

/* New header search pill */
.search-pill {
  display: flex;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: visible;
  background: #f8fbff;
}

.search-cat {
  flex: 0 0 auto;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f0f5ff !important;
  border: none;
  border-right: 1px solid #e5e7eb;
  outline: none;
  cursor: pointer;
  border-radius: 15px 0px 0px 15px;
}

.cat-icon {
  display: none;
}

.cat-label {
  font-weight: 400;
}

.cat-caret {
  opacity: .7;
}

.search-input {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.search-btn {
  background: #0b8a67;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 0 12px 12px 0;
}

.search-pill .dropdown-menu {
  z-index: 1060;
}

.cart {
  position: relative;
  display: inline-block;
  margin-left: 8px;
}

.cart-icon {
  font-size: 20px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e11d48 !important;
  color: #fff !important;
  font-size: 11px;
  border-radius: 9999px;
  padding: 0 5px;
  line-height: 16px;
  min-width: 16px;
  text-align: center;
}

@media (max-width: 992px) {
  .search-pill {
    margin: 12px 0;
  }
}

@media (max-width: 640px) {

  /* Hide category dropdown inside search on mobile */
  .search-cat {
    display: none;
  }

  .search-input {
    padding-left: 14px;
  }

  /* Make search button fully rounded when category is hidden */
  .search-btn {
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .bot-form {
    flex-direction: column;
    align-items: stretch;
  }

  .bot-form form {
    flex-direction: column;
  }

  .bot-form input[type="email"],
  .bot-form .btn2,
  .bot-form button {
    width: 100% !important;
  }
}

.ddp a {
  font-size: 14px;
  font-weight: 500;
  padding: 0 4px;
  color: #544f4f;
}




.featured-vendors {
  max-width: 1200px;
  margin: 0px auto;
  font-family: 'Segoe UI', sans-serif;
  color: #0f172a;
}

/* Header with Browse vendors link */
.fv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.fv-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.browse-link {
  font-size: 1rem;
  font-weight: 600;
  color: #0a7b50;
  text-decoration: none;
  transition: color 0.2s;
}

.browse-link:hover {
  color: #0d9c64;
}

/* Card layout */
.vendors-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.vendor-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 20px;
  flex: 1 1 300px;
  min-width: 280px;
}

/* Top row: icon + title side-by-side */
.vendor-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.vendor-top h3 {
  margin: 0;
  font-size: 1.1rem;
}

/* Icon styles */
.vendor-header {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.vendor-header.green {
  background: #1a9d68;
}

.vendor-header.olive {
  background: #7ab648;
}

.vendor-header.orange {
  background: #d97917;
}

/* Subtext and images */
.sub {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.product-images {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.placeholder {
  flex: 1;
  background: #f1f5f9;
  border-radius: 6px;
  height: 105px;
}

/* Footer with link + product count */
.vendor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visit {
  color: #0a7b50;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.visit:hover {
  color: #0d9c64;
}

.count {
  color: #475569;
  font-size: 0.85rem;
}