/* ═══════════════════════════════════════════════════════════
   LB Product Grid – Shop Design (E-Commerce Style)
   Inspired by followershark.de – clean, minimal, professional
   ═══════════════════════════════════════════════════════════ */

.lb-fd-shop .lb-grid-section {
    padding: 48px 24px;
    background: #f8fafc;
}

.lb-fd-shop .lb-grid-header {
    text-align: center;
    margin-bottom: 36px;
}

.lb-fd-shop .lb-grid-pill {
    display: inline-block;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.lb-fd-shop .lb-grid-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.lb-fd-shop .lb-grid-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Grid Layout ── */
.lb-fd-shop .lb-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.lb-fd-shop .lb-card {
    flex: unset;
    max-width: none;
    min-width: unset;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lb-fd-shop .lb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
    border-color: rgba(var(--card-rgb), 0.4);
}

/* ── Card Header ── */
.lb-fd-shop .lb-card-head {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    border-top: 3px solid var(--card-color);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-height: unset;
}

/* Hide shine sweep */
.lb-fd-shop .lb-card-head::after { display: none; }

.lb-fd-shop .lb-card-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.lb-fd-shop .lb-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
}

.lb-fd-shop .lb-card-count {
    font-size: 11px;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 2px 8px;
    font-weight: 600;
}

/* ── Badge ── */
.lb-fd-shop .lb-badge {
    top: 8px;
    right: 10px;
    left: auto;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ── Products (Body) ── */
.lb-fd-shop .lb-card-body {
    padding: 0;
    background: #ffffff;
}

.lb-fd-shop .lb-card-product {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
    text-decoration: none;
}

.lb-fd-shop .lb-card-product:last-child {
    border-bottom: none;
}

.lb-fd-shop .lb-card-product:hover {
    background: #f8fafc;
}

.lb-fd-shop .lb-card-product-name {
    flex: 1;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 6px;
}

.lb-fd-shop .lb-card-product-price {
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    margin-left: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.lb-fd-shop .lb-card-product-arrow {
    font-size: 14px;
    color: #cbd5e1;
    margin-left: 6px;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.lb-fd-shop .lb-card-product:hover .lb-card-product-arrow {
    transform: translateX(3px);
    color: rgba(var(--card-rgb), 0.7);
}

/* Entrance animation */
.lb-fd-shop .lb-card {
    animation: lbShopFadeIn 0.4s ease both;
    animation-delay: calc(var(--card-index, 0) * 60ms);
}

@keyframes lbShopFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .lb-fd-shop .lb-card-grid {
        grid-template-columns: 1fr;
    }
    .lb-fd-shop .lb-grid-title { font-size: 26px; }
}
