.ecla-card {
    background : var(--card-bg);
    border : 1px solid var(--border-color);
    border-radius : 8px;
    overflow : hidden;
    display : flex;
    flex-direction : column;
    transition : box-shadow 0.3s ease;
}
.ecla-card:hover {
    box-shadow : 0 4px 15px rgba(0, 0, 0, 0.1);
}
.ecla-card.is-featured {
    border : 2px solid var(--featured-border);
    box-shadow : 0 0 10px rgba(255, 215, 0, 0.5);
}
.ecla-card-image {
    position : relative;
}
.ecla-card-image img {
    width : 100%;
    height : 180px;
    object-fit : cover;
    display : block;
}
.ecla-card-badges {
    position : absolute;
    top : 10px;
    left : 10px;
    display : flex;
    gap : 4px;
    flex-wrap: wrap;
    max-width: 60%;
}
.ecla-card-badges--tr {
    left : auto;
    right : 8px;
    top : 8px;
    flex-direction: column;
    align-items : flex-end;
    max-width: 55%;
}
.ecla-badge {
    background : var(--primary-color, #e07800);
    color : #fff;
    padding : 2px 6px;
    font-size : 10px;
    border-radius : 4px;
    font-weight : 700;
    white-space : nowrap;
    letter-spacing: 0.02em;
    line-height : 1.4;
}
.ecla-badge--sale { background: #d9534f; }
.ecla-badge--new { background: #2196f3; }
.ecla-badge--occa { background: #ff9800; }
.ecla-badge--swap { background: #9c27b0; }
.ecla-badge--gift { background: #e91e63; }
.ecla-badge--fini { background: #2e7d32; }
.ecla-badge--hourly { background: #0288d1; }
.ecla-badge--day { background: #f57c00; }
.ecla-badge--month { background: #7b1fa2; }
.ecla-badge--quote { background: #546e7a; }
.ecla-badge.sale { background: #d9534f; }
.ecla-badge.new { background: #2196f3; }
.ecla-card-content {
    padding : 15px;
    flex-grow : 1;
}
.ecla-card-title {
    color : var(--secondary-color);
}
.ecla-card-price .sale-price {
    font-weight : bold;
    color : #d9534f;
}
.ecla-card-price .regular-price-striked {
    margin-left : 5px;
    color : #777;
}
.ecla-card-promo-until {
    font-size : 11px;
    font-weight : 700;
    color : #d9534f;
    margin-top : 2px;
}
.ecla-card-vendor-info {
    font-size : 13px;
    color : #777;
    margin-top : 8px;
}
.ecla-card-actions {
    padding : 0 15px 15px;
    display : flex;
    gap : 10px;
}
.ecla-action-btn {
    width : 100%;
    padding : 8px;
    text-align : center;
    border : 1px solid var(--primary-color);
    background : transparent;
    color : var(--primary-color);
    cursor : pointer;
    border-radius : 3px;
    font-weight : 600;
}
.ecla-action-btn.contact-vendor {
    background : var(--primary-color);
    color : #fff;
}
.ecla-share-btn {
    flex-shrink : 0;
    width : 40px;
    min-width : 40px;
    padding : 0;
    display : flex;
    align-items : center;
    justify-content : center;
    background : transparent;
    border : 1px solid var(--primary-color);
    color : var(--primary-color);
    border-radius : 4px;
    cursor : pointer;
    transition : background 0.2s, color 0.2s;
}
.ecla-share-btn:hover {
    background : var(--primary-color);
    color : #fff;
}
.ecla-share-icon {
    width : 18px;
    height : 18px;
    display : block;
    flex-shrink : 0;
    fill : none;
    stroke : currentColor;
}
.ecla-wishlist-btn--center {
    position : absolute;
    top : 50%;
    left : 50%;
    transform : translate(-50%, -50%);
    background : rgba(255, 255, 255, 0.85);
    border : none;
    border-radius : 50%;
    width : 38px;
    height : 38px;
    display : flex;
    align-items : center;
    justify-content : center;
    cursor : pointer;
    font-size : 20px;
    box-shadow : 0 2px 8px rgba(0,0,0,0.18);
    transition : background 0.15s, transform 0.15s;
    z-index : 5;
}
.ecla-wishlist-btn--center:hover {
    background : rgba(255,255,255,1);
    transform : translate(-50%, -50%) scale(1.1);
}
.ecla-wishlist-btn--center.is-wishlisted .ecla-wishlist-icon { color: #e91e63; }
.ecla-action-btn.contact-vendor {
    background : #25d366;
    border-color : #25d366;
    color : #fff;
    display : inline-flex;
    align-items : center;
    justify-content: center;
    gap : 4px;
    padding : 8px 10px;
}
.ecla-action-btn.contact-vendor:hover { background: #1da851; border-color: #1da851; }
.ecla-action-btn.contact-vendor svg { fill: #fff; flex-shrink: 0; }
.ecla-card-thumbs {
    display : flex;
    gap : 4px;
    padding : 6px 8px;
    background : rgba(0,0,0,0.03);
    overflow-x : auto;
    scrollbar-width : none;
}
.ecla-card-thumbs::-webkit-scrollbar { display: none; }
.ecla-card-thumb {
    width : 44px;
    height : 36px;
    object-fit : cover;
    border-radius : 3px;
    cursor : pointer;
    opacity : 0.75;
    transition : opacity 0.15s, outline 0.15s;
    flex-shrink: 0;
    outline : 2px solid transparent;
}
.ecla-card-thumb:hover,
.ecla-card-thumb.is-active {
    opacity : 1;
    outline : 2px solid var(--primary-color, #e07800);
}
.ecla-card-view-count {
    position : absolute;
    top : 8px;
    left : 8px;
    background : rgba(0,0,0,0.55);
    color : #fff;
    font-size : 11px;
    font-weight : 600;
    padding : 2px 7px;
    border-radius : 20px;
    display : flex;
    align-items : center;
    gap : 3px;
    pointer-events: none;
    z-index : 5;
}
.ecla-card-view-count svg { flex-shrink: 0; }
.ecla-wishlist-btn {
    position : absolute;
    top : 8px;
    right : 8px;
    z-index : 5;
}
@media (max-width: 768px) {
    .ecla-share-btn {
        width : 44px;
        min-width : 44px;
        height : 44px;
    }
    .ecla-share-icon {
        width : 20px;
        height : 20px;
    }
}
@media (max-width: 480px) {
    #ecla-content-grid {
        grid-template-columns : repeat(2, 1fr) !important;
        gap : 10px !important;
    }
    .ecla-card-image img {
        height : 130px;
    }
    .ecla-card-content {
        padding : 8px;
    }
    .ecla-card-title {
        font-size : 0.85rem;
        margin : 0 0 4px;
        overflow : hidden;
        display : -webkit-box;
        -webkit-line-clamp : 2;
        -webkit-box-orient : vertical;
    }
    .ecla-card-price {
        font-size : 0.82rem;
    }
    .ecla-card-vendor-info {
        font-size : 0.75rem;
    }
    .ecla-card-actions {
        padding : 0 8px 8px;
        gap : 5px;
    }
    .ecla-action-btn {
        padding : 6px 4px;
        font-size : 12px;
    }
    .ecla-card-thumb {
        width : 36px;
        height : 28px;
    }
}
