.shop-card-rich {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.shop-row-top {
  align-items: flex-start;
}

.shop-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f6f1e8;
  color: #6d655e;
  font-size: 12px;
  font-weight: 700;
}

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

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.chip.is-active {
    background: #0f766e;
    color: #fff;
    border-color: #0f766e;
}

.category-badges {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #c7d2fe;
}

.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.shop-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-tag-meta {
    background: #f6f1e8;
    color: #6d655e;
    border-color: #eadfce;
}

.shop-tag-category {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.shop-tag-category:hover {
    background: #4338ca;
    color: #ffffff;
    border-color: #4338ca;
    transform: translateY(-1px);
}


.shop-hero {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 35%),
        linear-gradient(160deg, #0f766e 0%, #155e75 100%);
}

.hero-shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.seller-card-rich {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.seller-row-top {
    align-items: flex-start;
}

.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.shop-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
}

.shop-tag-meta {
    background: #f6f1e8;
    color: #6d655e;
    border-color: #eadfce;
}

.shop-tag-category {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.pill-btn-primary {
    background: var(--primary);
    color: #fff;
}

.pill-btn-primary:hover {
    background: var(--primary-strong);
}

@media (min-width: 900px) {
    #shop-products,
    #shop-seller {
        align-self: start;
    }
}

.chip-payment,
.shop-tag-payment {
    background: #eef6ff;
    color: #0f4c81;
    border: 1px solid #cfe3ff;
}

.payment-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e8e8e8);
    border-radius: 12px;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.payment-chip:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.payment-chip-icon {
    font-size: 22px;
    line-height: 1;
    flex: 0 0 auto;
}

.payment-chip-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text, #1a1a1a);
}

.payment-chip-desc {
    font-size: 11px;
    color: var(--muted, #888);
    margin-top: 2px;
}

/*  */
.product-media {
    position: relative;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
}

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

.product-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    background: #f3f4f6;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
}