/* =========================================================
   Amar Kashimpur Food — Production marketplace UI
   Full-width · Astra/Elementor safe · Mobile-first
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

:root {
  --akf-primary: #00B795;
  --akf-primary-dark: #009F82;
  --akf-primary-soft: #e6f9f5;
  --akf-secondary: #F59E0B;
  --akf-secondary-dark: #d97706;
  --akf-bg: #F7FAF9;
  --akf-card: #ffffff;
  --akf-text: #1F2937;
  --akf-muted: #64748b;
  --akf-border: #e2e8f0;
  --akf-radius: 16px;
  --akf-radius-sm: 12px;
  --akf-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --akf-header-h: 64px;
  --akf-nav-h: 64px;
  --akf-max: 1280px;
  --akf-font: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* ---------- App shell: FULL WIDTH ---------- */
.akf-app {
  width: 100%;
  max-width: none;
  min-height: 60vh;
  margin: 0;
  padding: 0 0 calc(var(--akf-nav-h) + 12px);
  background: var(--akf-bg);
  color: var(--akf-text);
  font-family: var(--akf-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.akf-app a { color: var(--akf-primary); }

/* ---------- Header ---------- */
.akf-app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--akf-border);
  box-shadow: 0 1px 0 rgba(15,23,42,0.04);
}
.akf-app-header-inner {
  width: 100%;
  max-width: var(--akf-max);
  margin: 0 auto;
  padding: 0 16px;
  min-height: var(--akf-header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.akf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--akf-primary) !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.akf-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00B795, #14b8a6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.akf-header-search {
  flex: 1;
  display: none;
  max-width: 420px;
}
.akf-header-search form {
  display: flex;
  width: 100%;
  background: var(--akf-bg);
  border-radius: 999px;
  border: 1px solid var(--akf-border);
  overflow: hidden;
}
.akf-header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.akf-header-search button {
  border: 0;
  background: var(--akf-primary);
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.akf-header-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.akf-header-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--akf-text) !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.akf-header-nav a:hover {
  background: var(--akf-primary-soft);
  color: var(--akf-primary) !important;
}
.akf-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.akf-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  text-decoration: none !important;
  font-size: 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--akf-text);
}
.akf-icon-btn:hover { background: var(--akf-primary-soft); }
.akf-badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--akf-secondary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Main content: full width with inner max ---------- */
.akf-app-main {
  width: 100%;
  max-width: var(--akf-max);
  margin: 0 auto;
  padding: 16px;
}

/* Auth pages: centered card but still full-width shell */
.akf-auth-wrap {
  width: 100%;
  max-width: 440px;
  margin: 24px auto;
}

/* ---------- Bottom nav (mobile) ---------- */
.akf-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: var(--akf-nav-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--akf-border);
  box-shadow: 0 -4px 16px rgba(15,23,42,0.06);
}
.akf-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  text-decoration: none !important;
  color: var(--akf-muted) !important;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 4px;
}
.akf-bottom-nav a span:first-child { font-size: 1.25rem; line-height: 1; }
.akf-bottom-nav a.is-active,
.akf-bottom-nav a:hover {
  color: var(--akf-primary) !important;
  background: var(--akf-primary-soft);
}

/* ---------- Buttons ---------- */
.akf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--akf-primary);
  color: #fff !important;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.1s;
  line-height: 1.2;
}
.akf-btn:hover { background: var(--akf-primary-dark); }
.akf-btn:active { transform: scale(0.98); }
.akf-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.akf-btn-secondary { background: #334155; }
.akf-btn-secondary:hover { background: #1e293b; }
.akf-btn-outline {
  background: #fff;
  color: var(--akf-primary) !important;
  border: 2px solid var(--akf-primary);
}
.akf-btn-outline:hover { background: var(--akf-primary-soft); }
.akf-btn-accent { background: var(--akf-secondary); color: #fff !important; }
.akf-btn-accent:hover { background: var(--akf-secondary-dark); }
.akf-btn-block { display: flex; width: 100%; }
.akf-btn-sm { padding: 8px 14px; font-size: 0.875rem; border-radius: 10px; }

/* ---------- Cards ---------- */
.akf-card {
  background: var(--akf-card);
  border: 1px solid var(--akf-border);
  border-radius: var(--akf-radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--akf-shadow);
}
.akf-muted { color: var(--akf-muted); font-size: 0.9rem; }
.akf-price { font-weight: 700; color: var(--akf-text); }
.akf-price-lg { font-size: 1.4rem; color: var(--akf-primary); }

/* ---------- Badges ---------- */
.akf-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.akf-badge-pending { background: #fef3c7; color: #92400e; }
.akf-badge-confirmed,
.akf-badge-preparing,
.akf-badge-ready { background: #ccfbf1; color: #0f766e; }
.akf-badge-courier_pending,
.akf-badge-out_for_delivery { background: #e0e7ff; color: #3730a3; }
.akf-badge-delivered { background: #d1fae5; color: #065f46; }
.akf-badge-cancelled,
.akf-badge-failed { background: #fee2e2; color: #991b1b; }

/* ---------- Forms ---------- */
.akf-form-group { margin-bottom: 14px; }
.akf-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.akf-form-group input,
.akf-form-group textarea,
.akf-form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--akf-text);
}
.akf-form-group input:focus,
.akf-form-group textarea:focus,
.akf-form-group select:focus {
  outline: none;
  border-color: var(--akf-primary);
  box-shadow: 0 0 0 3px rgba(10, 124, 110, 0.15);
}
.akf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 0.9rem;
}
.akf-form-msg { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.9rem; }
.akf-form-msg.is-error { background: #fee2e2; color: #991b1b; }
.akf-form-msg.is-ok { background: #d1fae5; color: #065f46; }

/* ---------- Hero ---------- */
.akf-hero {
  width: 100%;
  background: linear-gradient(135deg, #00B795 0%, #0d9488 50%, #14b8a6 100%);
  color: #fff;
  border-radius: var(--akf-radius);
  padding: 28px 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--akf-shadow);
}
.akf-hero h1 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.akf-hero p { margin: 0 0 16px; opacity: 0.92; font-size: 0.95rem; color: #fff; }
.akf-search {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.akf-search input {
  flex: 1;
  border: 0;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  color: var(--akf-text);
}
.akf-search button {
  border: 0;
  background: var(--akf-secondary);
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Business type chips ---------- */
.akf-type-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.akf-type-scroll::-webkit-scrollbar { display: none; }
.akf-type-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 88px;
  padding: 14px 12px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--akf-text) !important;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--akf-shadow);
  transition: border-color 0.15s, transform 0.1s;
}
.akf-type-card:active { transform: scale(0.96); }
.akf-type-card.is-active {
  border-color: var(--akf-primary);
  background: var(--akf-primary-soft);
  color: var(--akf-primary) !important;
}
.akf-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.akf-type-card[data-type="restaurant"] .akf-type-icon { background: #fef3c7; }
.akf-type-card[data-type="grocery"] .akf-type-icon { background: #d1fae5; }
.akf-type-card[data-type="bakery"] .akf-type-icon { background: #fce7f3; }
.akf-type-card[data-type="fast_food"] .akf-type-icon { background: #ffedd5; }
.akf-type-card[data-type="drinks"] .akf-type-icon { background: #e0f2fe; }
.akf-type-card[data-type="other"] .akf-type-icon { background: #ede9fe; }

/* ---------- Section heads ---------- */
.akf-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 14px;
}
.akf-section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.akf-section-head a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--akf-primary) !important;
  text-decoration: none !important;
}

/* ---------- Vendor grid ---------- */
.akf-grid { display: grid; gap: 14px; }
.akf-grid-vendors {
  grid-template-columns: 1fr;
}
.akf-vendor-card {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--akf-border);
  border-radius: var(--akf-radius);
  padding: 16px;
  box-shadow: var(--akf-shadow);
  transition: transform 0.12s, box-shadow 0.12s;
  min-height: 140px;
}
.akf-vendor-card:active { transform: scale(0.99); }
.akf-vendor-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.akf-vendor-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00B795, #14b8a6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.akf-vendor-logo-lg {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  margin-bottom: 12px;
}
.akf-vendor-meta { flex: 1; min-width: 0; }
.akf-vendor-meta strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.akf-clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0 8px;
}
.akf-link {
  color: var(--akf-primary) !important;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
}

/* ---------- Product scroll / cards ---------- */
.akf-product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.akf-product-scroll::-webkit-scrollbar { display: none; }
.akf-product-mini {
  flex: 0 0 168px;
  background: #fff;
  border: 1px solid var(--akf-border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--akf-shadow);
}
.akf-product-mini-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
  flex: 1;
}
.akf-product-mini-body strong { font-size: 0.92rem; }

/* ---------- Item rows ---------- */
.akf-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}
.akf-item-row:last-child { border-bottom: 0; }
.akf-cat-title {
  font-size: 0.8rem;
  margin: 18px 0 6px;
  color: var(--akf-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.akf-warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: var(--akf-radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}

/* ---------- Empty / CTA ---------- */
.akf-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--akf-muted);
  background: #fff;
  border-radius: var(--akf-radius);
  border: 1px dashed var(--akf-border);
}
.akf-empty-icon { font-size: 2.5rem; margin-bottom: 8px; }
.akf-cta-banner {
  background: linear-gradient(135deg, #0f766e, #00B795);
  color: #fff;
  border-radius: var(--akf-radius);
  padding: 24px 20px;
  text-align: center;
  margin: 24px 0 8px;
}
.akf-cta-banner h3 { margin: 0 0 8px; color: #fff; font-size: 1.15rem; }
.akf-cta-banner p { margin: 0 0 14px; opacity: 0.9; color: #fff; }
.akf-cta-banner .akf-btn { background: var(--akf-secondary); }

/* ---------- Store ---------- */
.akf-store-hero {
  text-align: center;
  padding: 24px 16px;
}
.akf-store-hero h1 { margin: 8px 0; font-size: 1.4rem; }

/* ---------- Tabs ---------- */
.akf-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.akf-tab {
  flex: 1 0 auto;
  text-align: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--akf-muted) !important;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--akf-border);
  white-space: nowrap;
}
.akf-tab.is-active {
  background: var(--akf-primary);
  color: #fff !important;
  border-color: var(--akf-primary);
}

/* ---------- Vendor dashboard ---------- */
.akf-vendor-dash { width: 100%; }
.akf-vendor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.akf-vendor-title { font-size: 1.2rem; }
.akf-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.akf-stat {
  background: #fff;
  border-radius: var(--akf-radius);
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--akf-border);
  box-shadow: var(--akf-shadow);
}
.akf-stat-n {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--akf-primary);
}
.akf-stat-l { font-size: 0.72rem; color: var(--akf-muted); font-weight: 600; }

/* ---------- Orders ---------- */
.akf-order-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.akf-order-card {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}
.akf-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.akf-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.akf-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--akf-border);
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Timeline ---------- */
.akf-timeline { list-style: none; padding: 0; margin: 0; }
.akf-timeline li {
  padding: 10px 0 10px 24px;
  border-left: 3px solid #e2e8f0;
  margin-left: 8px;
  color: var(--akf-muted);
  font-size: 0.92rem;
  position: relative;
}
.akf-timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 14px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e2e8f0;
}
.akf-timeline li.is-done {
  border-color: var(--akf-primary);
  color: var(--akf-text);
  font-weight: 600;
}
.akf-timeline li.is-done::before { background: var(--akf-primary); }

/* ---------- Modal / Toast ---------- */
.akf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.akf-modal-overlay[hidden] { display: none !important; }
.akf-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px;
  width: 100%;
  max-width: 480px;
  font-family: var(--akf-font);
}
.akf-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.akf-modal-actions .akf-btn { flex: 1; min-width: 120px; }
.akf-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--akf-nav-h) + 16px);
  transform: translateX(-50%);
  background: #1F2937;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 210;
  font-size: 0.9rem;
  font-family: var(--akf-font);
  max-width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.akf-toast[hidden] { display: none !important; }

.akf-product-img-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  background: linear-gradient(135deg, #99f6e4, #00B795);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.akf-notif { padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.akf-notif.is-unread { font-weight: 600; }

/* Cart layout */
.akf-cart-layout {
  display: grid;
  gap: 16px;
}
.akf-cart-summary {
  position: sticky;
  bottom: calc(var(--akf-nav-h) + 8px);
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .akf-header-search { display: block; }
  .akf-header-nav { display: flex; }
  .akf-header-actions { margin-left: 0; }
  .akf-bottom-nav { display: none; }
  .akf-app { padding-bottom: 32px; }
  .akf-app-main { padding: 24px 24px 40px; }
  .akf-grid-vendors { grid-template-columns: repeat(2, 1fr); }
  .akf-stats { grid-template-columns: repeat(5, 1fr); }
  .akf-hero { padding: 40px 32px; text-align: left; }
  .akf-hero h1 { font-size: 1.85rem; }
  .akf-search { margin: 0; }
  .akf-cart-layout { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .akf-cart-summary { position: sticky; top: 80px; bottom: auto; }
  .akf-modal {
    border-radius: 20px;
    margin-bottom: 40px;
  }
  .akf-modal-overlay { align-items: center; }
  .akf-toast { bottom: 32px; }
}

@media (min-width: 1024px) {
  .akf-grid-vendors { grid-template-columns: repeat(3, 1fr); }
  .akf-app-main { padding: 28px 32px 48px; }
  .akf-type-scroll { justify-content: flex-start; }
}

@media (min-width: 1280px) {
  .akf-grid-vendors { grid-template-columns: repeat(4, 1fr); }
}

/* Vendor mode: hide customer bottom nav items handled in PHP */
.akf-app.is-vendor .akf-bottom-nav-customer { display: none; }
.akf-app.is-customer .akf-bottom-nav-vendor { display: none; }
@media (min-width: 768px) {
  .akf-app.is-vendor .akf-header-nav-customer { display: none; }
  .akf-app.is-customer .akf-header-nav-vendor { display: none !important; }
}


/* =========================================================
   HOMEPAGE (product-first) — no Food header; site header only
   ========================================================= */
.akf-home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 48px;
  background: var(--akf-bg);
  font-family: var(--akf-font);
  color: var(--akf-text);
}
.akf-home-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.akf-home-hero {
  width: 100%;
  background: linear-gradient(145deg, #00B795 0%, #009F82 55%, #0d9488 100%);
  color: #fff;
  padding: 36px 0 40px;
  margin-bottom: 8px;
}
.akf-home-hero-title {
  margin: 0 0 10px;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-align: center;
}
.akf-home-hero-sub {
  margin: 0 auto 20px;
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
  text-align: center;
  color: #fff;
}
.akf-home-search {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.akf-home-search-icon {
  padding-left: 16px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.akf-home-search input {
  flex: 1;
  border: 0;
  padding: 14px 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  color: var(--akf-text);
  min-width: 0;
}
.akf-btn-home-search {
  border-radius: 0;
  padding: 14px 20px;
  flex-shrink: 0;
  background: #F59E0B !important;
}
.akf-btn-home-search:hover { background: #d97706 !important; }
.akf-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.akf-home-hero-actions .akf-btn {
  background: #fff;
  color: #009F82 !important;
}
.akf-home-hero-actions .akf-btn:hover { background: #f0fdfa; }
.akf-btn-outline-light {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.85);
}
.akf-btn-outline-light:hover { background: rgba(255,255,255,0.12) !important; }

.akf-home-section { margin: 28px 0; }
.akf-home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}
.akf-home-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.akf-home-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--akf-primary) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.akf-home-empty {
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed var(--akf-border);
  color: var(--akf-muted);
}
.akf-home-empty-icon { font-size: 2rem; display: block; margin-bottom: 6px; }

/* Categories horizontal scroll */
.akf-home-cats {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.akf-home-cats::-webkit-scrollbar { display: none; }
.akf-home-cat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 84px;
  padding: 14px 12px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--akf-text) !important;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
  border: 1px solid var(--akf-border);
  position: relative;
}
.akf-home-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e6f9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.akf-home-cat-name { font-size: 0.78rem; font-weight: 600; text-align: center; }
.akf-home-cat-count {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #F59E0B;
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
}

/* Product grid — product first */
.akf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.akf-pcard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--akf-border);
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.akf-pcard:hover {
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
  transform: translateY(-2px);
}
.akf-pcard-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e6f9f5;
  overflow: hidden;
  text-decoration: none !important;
}
.akf-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.akf-pcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #00B795;
  background: linear-gradient(145deg, #ccfbf1, #99f6e4);
}
.akf-pcard-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #F59E0B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}
.akf-pcard-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.akf-pcard-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--akf-text) !important;
  text-decoration: none !important;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.akf-pcard-vendor {
  font-size: 0.78rem;
  color: var(--akf-muted) !important;
  text-decoration: none !important;
}
.akf-pcard-cat {
  font-size: 0.7rem;
  color: #009F82;
  font-weight: 600;
}
.akf-pcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 8px;
}
.akf-pcard-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #00B795;
}
.akf-pcard-old {
  font-size: 0.8rem;
  color: var(--akf-muted);
  text-decoration: line-through;
}
.akf-pcard .akf-btn {
  margin-top: auto;
  background: #00B795;
}

/* Vendor cards on home */
.akf-home-vendor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.akf-home-vendor-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--akf-border);
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}
.akf-home-vendor-cover {
  height: 72px;
  background: linear-gradient(135deg, #00B795, #14b8a6);
}
.akf-home-vendor-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  margin-top: -20px;
}
.akf-home-vendor-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #00B795;
  flex-shrink: 0;
}
.akf-home-vendor-meta { padding: 8px 12px; margin: 0; font-size: 0.85rem; }
.akf-home-vendor-card .akf-btn { margin: 0 12px; }

/* Promo bands */
.akf-home-promo {
  border-radius: 20px;
  padding: 28px 20px;
  margin: 28px 0;
  text-align: center;
}
.akf-home-promo-courier {
  background: linear-gradient(135deg, #0f766e, #00B795);
  color: #fff;
}
.akf-home-promo-vendor {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
}
.akf-home-promo h2 { margin: 0 0 8px; color: #fff; font-size: 1.25rem; }
.akf-home-promo p { margin: 0 0 16px; color: rgba(255,255,255,0.9); }
.akf-home-promo .akf-btn-accent { background: #F59E0B; }

@media (min-width: 640px) {
  .akf-product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .akf-home-vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .akf-home-hero-title { font-size: 1.85rem; }
}
@media (min-width: 900px) {
  .akf-product-grid { grid-template-columns: repeat(4, 1fr); }
  .akf-home-vendor-grid { grid-template-columns: repeat(3, 1fr); }
  .akf-home-hero { padding: 48px 0 52px; }
  .akf-home-hero-title { font-size: 2.1rem; text-align: left; }
  .akf-home-hero-sub { text-align: left; margin-left: 0; }
  .akf-home-search { margin-left: 0; }
  .akf-home-hero-actions { justify-content: flex-start; }
  .akf-home-inner { padding: 0 24px; }
}
@media (min-width: 1200px) {
  .akf-home-inner { padding: 0 16px; }
}

/* ========== HOMEPAGE v3.1.2 product-first ========== */
.akf-home {
  --akf-primary: #00B795;
  --akf-primary-dark: #009F82;
  --akf-secondary: #F59E0B;
  --akf-bg: #F7FAF9;
  --akf-text: #1F2937;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 40px;
  background: var(--akf-bg);
  color: var(--akf-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
}
.akf-home-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.akf-home-hero {
  background: linear-gradient(135deg, #00B795 0%, #009F82 100%);
  color: #fff;
  padding: 28px 0 32px;
  margin: 0 0 8px;
}
.akf-home-hero-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-align: center;
}
.akf-home-hero-sub {
  margin: 0 auto 16px;
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.95;
  text-align: center;
  color: #fff;
}
.akf-home-search {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.akf-home-search-icon { padding-left: 14px; flex-shrink: 0; }
.akf-home-search input {
  flex: 1;
  border: 0;
  padding: 12px 10px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  min-width: 0;
  color: #1F2937;
}
.akf-btn-home-search {
  border-radius: 0 !important;
  padding: 12px 18px !important;
  background: #F59E0B !important;
  flex-shrink: 0;
  font-weight: 700;
}
.akf-home-section { margin: 20px 0; }
.akf-home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.akf-home-section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1F2937;
}
.akf-home-section-sub {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.akf-home-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: #00B795 !important;
  text-decoration: none !important;
  white-space: nowrap;
  padding-top: 4px;
}
.akf-home-empty {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #e2e8f0;
  color: #64748b;
}
.akf-home-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.akf-home-cats::-webkit-scrollbar { display: none; }
.akf-home-cat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 76px;
  padding: 12px 10px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none !important;
  color: #1F2937 !important;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
  border: 1px solid #eef2f7;
  position: relative;
}
.akf-home-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6f9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.akf-home-cat-name { font-size: 0.75rem; font-weight: 600; text-align: center; }
.akf-home-cat-count {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #F59E0B;
  color: #fff;
  border-radius: 999px;
  padding: 1px 5px;
}
.akf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.akf-pcard {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
  display: flex;
  flex-direction: column;
}
.akf-pcard-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #e6f9f5;
  overflow: hidden;
  text-decoration: none !important;
}
.akf-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.akf-pcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: #00B795;
  background: linear-gradient(145deg, #ccfbf1, #99f6e4);
}
.akf-pcard-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #F59E0B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 8px;
}
.akf-pcard-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.akf-pcard-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1F2937 !important;
  text-decoration: none !important;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.akf-pcard-vendor {
  font-size: 0.75rem;
  color: #64748b !important;
  text-decoration: none !important;
}
.akf-pcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 8px;
}
.akf-pcard-price {
  font-size: 1rem;
  font-weight: 800;
  color: #00B795;
}
.akf-pcard-old {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.akf-pcard .akf-btn {
  margin-top: auto;
  background: #00B795;
  font-size: 0.8rem;
  padding: 8px 10px;
}
.akf-home-vendor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.akf-home-vendor-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}
.akf-home-vendor-cover {
  height: 56px;
  background: linear-gradient(135deg, #00B795, #14b8a6);
}
.akf-home-vendor-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  margin-top: -18px;
}
.akf-home-vendor-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #00B795;
  flex-shrink: 0;
}
.akf-home-vendor-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.akf-home-vendor-text strong { font-size: 0.95rem; }
.akf-home-vendor-cta { margin: 10px 12px 0; }
.akf-home-promo {
  border-radius: 16px;
  padding: 24px 18px;
  margin: 24px 0;
  text-align: center;
}
.akf-home-promo-delivery {
  background: linear-gradient(135deg, #0f766e, #00B795);
  color: #fff;
}
.akf-home-promo-vendor {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
}
.akf-home-promo h2 { margin: 0 0 8px; color: #fff; font-size: 1.15rem; }
.akf-home-promo p { margin: 0 0 14px; color: rgba(255,255,255,0.92); font-size: 0.9rem; }
.akf-home-promo .akf-btn-accent { background: #F59E0B; color: #fff !important; }
.akf-home-promo .akf-btn { background: #00B795; color: #fff !important; }

@media (min-width: 640px) {
  .akf-product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .akf-home-vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .akf-home-hero-title { font-size: 1.6rem; }
}
@media (min-width: 900px) {
  .akf-product-grid { grid-template-columns: repeat(4, 1fr); }
  .akf-home-vendor-grid { grid-template-columns: repeat(3, 1fr); }
  .akf-home-hero { padding: 36px 0 40px; }
  .akf-home-hero-title { font-size: 1.85rem; text-align: left; }
  .akf-home-hero-sub { text-align: left; margin-left: 0; }
  .akf-home-search { margin-left: 0; }
  .akf-home-inner { padding: 0 24px; }
}

/* ========== Homepage complete v3.1.3 ========== */
.akf-home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}
.akf-home-hero-art { display: none; }
.akf-home-hero-blob {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.akf-product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100%;
}
.akf-pcard { width: 100%; max-width: none; }
.akf-pcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e6f9f5 0%, #f0fdfa 50%, #ecfdf5 100%);
}
.akf-home-vendor-scroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.akf-home-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.akf-home-offer {
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}
.akf-home-offer-teal { background: linear-gradient(135deg, #00B795, #009F82); }
.akf-home-offer-amber { background: linear-gradient(135deg, #F59E0B, #d97706); }
.akf-home-offer-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.akf-home-offer strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.akf-home-offer p { margin: 0; opacity: 0.95; font-size: 0.88rem; }
.akf-home-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.akf-home-step {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #eef2f7;
  text-align: center;
}
.akf-home-step-n {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00B795;
  color: #fff;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.akf-home-step strong { display: block; margin-bottom: 4px; }
.akf-home-step p { margin: 0; font-size: 0.85rem; color: #64748b; }
.akf-home-footer {
  margin-top: 32px;
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 0 24px;
}
.akf-home-footer a { color: #99f6e4 !important; text-decoration: none !important; }
.akf-home-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.akf-home-footer-brand { color: #fff; font-size: 1.1rem; }
.akf-home-footer ul { list-style: none; padding: 0; margin: 8px 0 0; }
.akf-home-footer li { margin: 4px 0; }
.akf-home-footer-copy {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #64748b;
}
.akf-home-section { margin: 28px 0; }
@media (min-width: 640px) {
  .akf-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .akf-home-vendor-scroll { grid-template-columns: repeat(2, 1fr); }
  .akf-home-offers { grid-template-columns: repeat(2, 1fr); }
  .akf-home-steps { grid-template-columns: repeat(3, 1fr); }
  .akf-home-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .akf-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; }
  .akf-home-hero-grid { display: block !important; grid-template-columns: none !important; }
  .akf-home-hero-art {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
  }
  .akf-home-vendor-scroll { grid-template-columns: repeat(3, 1fr); }
  .akf-home-section { margin: 48px 0; }
  .akf-home-hero-title { text-align: left; font-size: 1.9rem; }
  .akf-home-hero-sub { text-align: left; margin-left: 0; }
  .akf-home-search { margin-left: 0; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .akf-home-vendor-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .akf-home-vendor-card { flex: 0 0 260px; }
}


/* =========================================================
   Homepage single-column stack — kill 2-col / empty right
   ========================================================= */
.ak-marketplace-home,
.akf-home,
.akf-marketplace {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
}
.ak-marketplace-home .ak-home-wrap,
.akf-marketplace {
  display: block !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  float: none !important;
}
/* Never 2-column around categories / sections */
.ak-marketplace-home .ak-section,
.ak-marketplace-home .ak-cats,
.ak-marketplace-home .ak-products-grid,
.ak-marketplace-home .ak-vendors-grid,
.akf-type-scroll {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}
.ak-marketplace-home .ak-cats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.akf-type-scroll {
  display: flex !important;
  flex-wrap: wrap !important;
  overflow-x: visible !important;
  width: 100% !important;
}
.akf-home-hero-grid,
.ak-home-hero-grid {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
}
.akf-home-hero-art,
.ak-home-hero-art {
  display: none !important;
}
/* Compact empty states — no giant boxes */
.ak-marketplace-home .ak-empty,
.akf-empty {
  padding: 16px 14px !important;
  min-height: 0 !important;
  margin: 0 0 8px !important;
}
/* Product grid full width of wrap */
.ak-marketplace-home .ak-products-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}
@media (min-width: 640px) {
  .ak-marketplace-home .ak-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 900px) {
  .ak-marketplace-home .ak-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
/* If Home shortcode sits inside Elementor 2-column layout, expand columns */
body.akf-page .elementor-section > .elementor-container {
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
}
body.akf-page .elementor-section .elementor-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
body.akf-page .elementor-section .elementor-widget-wrap {
  width: 100% !important;
}
