/* Amar Kashimpur — Vendor Stores (customer marketplace cards) */
.akc-vsw {
  --vsw-p: #0A7C6E;
  --vsw-ph: #08695E;
  --vsw-accent: #F59E0B;
  --vsw-bg: #F7F9F8;
  --vsw-card: #fff;
  --vsw-text: #17312D;
  --vsw-muted: #6B7F7A;
  --vsw-border: #DDE9E6;
  font-family: "Noto Sans Bengali", system-ui, -apple-system, sans-serif;
  color: var(--vsw-text);
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 0 8px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.akc-vsw *, .akc-vsw *::before, .akc-vsw *::after { box-sizing: border-box; }

/* Section header */
.akc-vsw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}
.akc-vsw-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vsw-text);
  line-height: 1.3;
}
.akc-vsw-more {
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--vsw-p) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.akc-vsw-more:hover { color: var(--vsw-ph) !important; }

/* Grid */
.akc-vsw-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
}
.akc-vsw-m-1 { grid-template-columns: 1fr; }
.akc-vsw-m-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .akc-vsw-t-1 { grid-template-columns: 1fr; }
  .akc-vsw-t-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .akc-vsw-t-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .akc-vsw-grid { gap: 16px; }
  .akc-vsw-title { font-size: 1.2rem; }
}
@media (min-width: 1025px) {
  .akc-vsw-d-1 { grid-template-columns: 1fr; }
  .akc-vsw-d-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .akc-vsw-d-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .akc-vsw-d-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .akc-vsw-d-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .akc-vsw-d-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Single store: intentional width, not tiny left float */
.akc-vsw-grid.akc-vsw-single {
  grid-template-columns: 1fr;
  max-width: 360px;
}
@media (min-width: 768px) {
  .akc-vsw-grid.akc-vsw-single {
    max-width: 320px;
  }
}

/* Card */
.akc-vsw-card {
  background: var(--vsw-card);
  border: 1px solid var(--vsw-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(23, 49, 45, 0.05);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow .2s ease;
}
@media (hover: hover) {
  .akc-vsw-card:hover {
    box-shadow: 0 6px 18px rgba(10, 124, 110, 0.1);
  }
}

/* Compact banner */
.akc-vsw-banner {
  height: 88px;
  background: #EEF3F1;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) {
  .akc-vsw-banner { height: 128px; }
}
.akc-vsw-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.akc-vsw-banner-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A7C6E 0%, #0d9488 50%, #14b8a6 100%);
}
.akc-vsw-banner-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Body */
.akc-vsw-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.akc-vsw-identity {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.akc-vsw-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  flex-shrink: 0;
  background: #fff;
  margin-top: -22px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .akc-vsw-logo {
    width: 48px;
    height: 48px;
    margin-top: -26px;
    border-radius: 12px;
  }
}
.akc-vsw-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vsw-p);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.akc-vsw-titles {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}
.akc-vsw-name {
  margin: 0;
  font-size: .88rem;
  font-weight: 800;
  color: var(--vsw-text);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .akc-vsw-name { font-size: .95rem; }
}
.akc-vsw-open {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #16803D;
  background: #E8F7EE;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.3;
}
.akc-vsw-loc {
  margin: 0;
  font-size: 12px;
  color: var(--vsw-p);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.akc-vsw-meta {
  margin: 0;
  font-size: 11px;
  color: var(--vsw-muted);
  font-weight: 600;
}
.akc-vsw-desc { display: none; } /* keep compact cards */

.akc-vsw-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  text-align: center;
  text-decoration: none !important;
  background: var(--vsw-p);
  color: #fff !important;
  font-weight: 700;
  font-size: .8rem;
  padding: 8px 10px;
  border-radius: 11px;
  border: none;
  transition: background .15s;
}
.akc-vsw-btn:hover {
  background: var(--vsw-ph);
  color: #fff !important;
}

.akc-vsw-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--vsw-muted);
  background: var(--vsw-bg);
  border-radius: 14px;
  border: 1px dashed var(--vsw-border);
  font-family: "Noto Sans Bengali", system-ui, sans-serif;
}
