.ozgs-grid { display: grid; gap: 20px; width: 100%; max-width: none; }
.ozgs-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ozgs-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ozgs-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .ozgs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ozgs-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

.ozgs-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: box-shadow .18s ease, transform .18s ease; }
.ozgs-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.ozgs-image { height: 200px; background: #f7f7f7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ozgs-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ozgs-placeholder { color: #94a3b8; font-size: 14px; }
.ozgs-content { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ozgs-title { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.4; }
.ozgs-price { color: #b91c1c; font-weight: 700; font-size: 18px; }
.ozgs-meta { display: flex; flex-direction: column; gap: 4px; }
.ozgs-badge { font-size: 12px; padding: 0; border: 0; border-radius: 0; color: #334155; background: transparent; }
.ozgs-badge.ozgs-ok { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.ozgs-badge.ozgs-bad { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.ozgs-empty { color: #6b7280; text-align: center; padding: 24px; border: 1px dashed #e5e7eb; border-radius: 8px; background: #fafafa; }
.ozgs-btn { display: inline-block; padding: 8px 12px; border: 1px solid #1e40af; color: #1e40af; text-decoration: none; border-radius: 4px; font-weight: 600; }
.ozgs-btn:hover { background: #e0e7ff; }

/* Lightbox Styles */
.ozgs-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.ozgs-lightbox-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer; 
}
.ozgs-lightbox-content { 
    position: relative; 
    max-width: 90vw; 
    max-height: 90vh; 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); 
    display: flex; 
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.ozgs-lightbox-close { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    background: none; 
    color: #374151; 
    border: none; 
    width: 32px; 
    height: 32px; 
    cursor: pointer; 
    z-index: 10; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s ease;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}
.ozgs-lightbox-close:hover { 
    background: rgba(0, 0, 0, 0.1); 
    border-radius: 50%;
    transform: scale(1.1);
}
.ozgs-lightbox-image-container { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #f8f9fa; 
    min-height: 300px; 
}
.ozgs-lightbox-image-container img { 
    max-width: 100%; 
    max-height: 70vh; 
    object-fit: contain; 
}
.ozgs-lightbox-info { 
    padding: 24px; 
    background: #fff; 
    border-top: 1px solid #e5e7eb; 
    text-align: center; 
}
.ozgs-lightbox-info h3 { 
    margin: 0 0 16px 0; 
    font-size: 20px; 
    font-weight: 600; 
    color: #1f2937; 
    line-height: 1.3;
}
.ozgs-lightbox-details {
    margin-bottom: 20px;
}
.ozgs-lightbox-price {
    font-size: 24px;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 12px;
}
.ozgs-lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.ozgs-lightbox-status {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.ozgs-lightbox-status:contains("SOLD") {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}
.ozgs-lightbox-caliber,
.ozgs-lightbox-condition {
    font-size: 14px;
    color: #6b7280;
}
.ozgs-lightbox-btn { 
    display: inline-block; 
    padding: 8px 12px; 
    border: 1px solid #1e40af; 
    color: #1e40af; 
    text-decoration: none; 
    border-radius: 4px; 
    font-weight: 600; 
    transition: background 0.2s ease;
    font-size: 14px;
}
.ozgs-lightbox-btn:hover { 
    background: #e0e7ff; 
    color: #1e40af;
}

/* Make images clickable */
.ozgs-lightbox-trigger { cursor: pointer; transition: opacity 0.2s ease; }
.ozgs-lightbox-trigger:hover { opacity: 0.9; }

/* Responsive lightbox */
@media (max-width: 768px) {
    .ozgs-lightbox-content { max-width: 95vw; max-height: 95vh; margin: 20px; }
    .ozgs-lightbox-image-container { min-height: 250px; }
    .ozgs-lightbox-image-container img { max-height: 60vh; }
    .ozgs-lightbox-info { padding: 20px; }
    .ozgs-lightbox-info h3 { font-size: 18px; }
    .ozgs-lightbox-price { font-size: 20px; }
    .ozgs-lightbox-meta { gap: 6px; }
    .ozgs-lightbox-close { 
        top: 15px; 
        right: 15px; 
        width: 28px; 
        height: 28px; 
        font-size: 20px;
    }
}

