/* ============================================================
   Social Feed Plugin — social-feed.css
   ZIKO Art Creative Agency
   ============================================================ */

/* ---------- Feed container ---------- */
.sf-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------- Card base ---------- */
.sf-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow 0.2s ease;
}
.sf-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ---------- Card header ---------- */
.sf-card-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

/* ---------- Avatar ---------- */
.sf-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sf-avatar svg {
    width: 18px;
    height: 18px;
}
.sf-avatar--blog    { background: #EEEDFE; color: #3C3489; }
.sf-avatar--review  { background: #E1F5EE; color: #085041; }
.sf-avatar--product { background: #E6F1FB; color: #0C447C; }
.sf-avatar--sale    { background: #FCEBEB; color: #791F1F; }

/* ---------- Meta text ---------- */
.sf-card-meta {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
    font-size: 13px;
    line-height: 1.4;
}
.sf-author {
    font-weight: 600;
    color: #1a1a1a;
}
.sf-action {
    color: #555;
}
.sf-product-link {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}
.sf-product-link:hover {
    text-decoration: underline;
}
.sf-date {
    display: block;
    width: 100%;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.sf-discount-inline {
    font-size: 12px;
    font-weight: 600;
    color: #A32D2D;
    background: #FCEBEB;
    padding: 1px 6px;
    border-radius: 20px;
}

/* ---------- Badges ---------- */
.sf-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}
.sf-badge--blog    { background: #EEEDFE; color: #3C3489; }
.sf-badge--review  { background: #E1F5EE; color: #085041; }
.sf-badge--new     { background: #E6F1FB; color: #0C447C; }
.sf-badge--sale    { background: #FCEBEB; color: #A32D2D; }

/* ---------- Blog card ---------- */
.sf-card-image {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}
.sf-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.sf-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}
.sf-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.sf-card-title a:hover {
    color: #333;
    text-decoration: underline;
}
.sf-card-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.sf-read-more {
    font-size: 13px;
    font-weight: 500;
    color: #1a73e8;
    text-decoration: none;
}
.sf-read-more:hover {
    text-decoration: underline;
}

/* ---------- Review card ---------- */
.sf-stars {
    font-size: 16px;
    color: #EF9F27;
    margin-bottom: 6px;
    letter-spacing: 2px;
}
.sf-review-text {
    font-style: italic;
    color: #444;
}

/* ---------- Product cards (new + sale) ---------- */
.sf-product-card {
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-top: 4px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: background 0.15s;
}
.sf-product-card:hover {
    background: #f0f0f0;
}
.sf-product-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sf-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sf-no-img {
    font-size: 10px;
    color: #aaa;
}
.sf-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sf-product-info strong {
    font-size: 14px;
    color: #1a1a1a;
}
.sf-price {
    font-size: 13px;
}
.sf-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #A32D2D;
}
.sf-price del {
    color: #999;
    font-size: 12px;
    margin-right: 4px;
}

/* ---------- Empty state ---------- */
.sf-empty {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 24px 0;
}

/* ============================================================
   Sidebar widgets
   ============================================================ */
.sf-sidebar-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.sf-sidebar-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin: 0 0 10px 0;
}

.sf-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 13px;
}
.sf-sidebar-item:last-child {
    border-bottom: none;
}
.sf-sidebar-item a {
    color: #1a1a1a;
    text-decoration: none;
    flex: 1;
    line-height: 1.4;
}
.sf-sidebar-item a:hover {
    text-decoration: underline;
}

.sf-sidebar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sf-sidebar-dot--red  { background: #E24B4A; }
.sf-sidebar-dot--blue { background: #378ADD; }
.sf-sidebar-dot--green{ background: #639922; }

.sf-sidebar-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
    margin-left: auto;
}
.sf-sidebar-badge--sale { background: #FCEBEB; color: #A32D2D; }
.sf-sidebar-badge--new  { background: #E6F1FB; color: #0C447C; }

/* Banner */
.sf-sidebar-banner {
    text-align: center;
    background: #f7f7f7;
}
.sf-banner-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}
.sf-banner-text {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 600px) {
    .sf-card {
        padding: 12px 14px;
    }
    .sf-product-thumb {
        width: 50px;
        height: 50px;
    }
    .sf-card-image img {
        height: 150px;
    }
}

/* ---------- Sidebar items cu thumbnail ---------- */
.sf-sidebar-item--with-img {
    padding: 8px 0;
}

.sf-sb-product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}
.sf-sb-product-link:hover .sf-sb-name {
    text-decoration: underline;
}

.sf-sb-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sf-sb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sf-sb-no-img {
    display: block;
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

.sf-sb-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.sf-sb-name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sf-sb-price {
    font-size: 11px;
    color: #666;
}
.sf-sb-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #A32D2D;
}
.sf-sb-price del {
    color: #aaa;
    margin-right: 2px;
}
/* Titluri articole */
.sf-card-title {
    font-size: 20px;
}

/* Excerpt blog + text recenzii */
.sf-card-excerpt {
    font-size: 15px;
}

/* Numele produselor în cardurile din feed */
.sf-product-info strong {
    font-size: 16px;
}

/* Numele produselor în sidebar */
.sf-sb-name {
    font-size: 16px;
}
