/* ============================================
   categories/VidGallery.css - گالری ویدئو
   ============================================ */

.vid-gallery-section { position: relative; width: 100%; max-width: 100%; margin: 1.5rem 0; padding: 0; box-sizing: border-box; overflow: hidden; }
.vid-gallery-scroll-wrapper { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; padding: 16px 24px 24px 24px; margin: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; }
.vid-gallery-scroll-wrapper::-webkit-scrollbar { display: none; }

.vid-gallery-card { flex: 0 0 200px; width: 200px; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: #222; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.vid-gallery-image-box { position: relative; width: 100%; height: 120px; background: #f0f0f0; overflow: hidden; flex-shrink: 0; }
.vid-gallery-image-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-gallery-badge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 8px; font-size: 0.65rem; font-weight: 700; color: #fff; background: #b91c1c; z-index: 4; }
.vid-gallery-bookmark { position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 4; }

.vid-gallery-content { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vid-gallery-title { font-size: 0.85rem; font-weight: 700; line-height: 1.5; margin: 0; color: #333; }
.vid-gallery-description { font-size: 0.72rem; line-height: 1.6; color: #888; margin: 0; }
.vid-gallery-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: #777; margin-top: auto; padding-top: 6px; border-top: 1px dashed #eee; }
.vid-gallery-footer { padding: 8px 10px; background: #fafafa; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.vid-gallery-price { font-weight: 700; font-size: 0.8rem; color: #b91c1c; }

@media (max-width: 480px) {
    .vid-gallery-card { flex: 0 0 160px; width: 160px; }
    .vid-gallery-image-box { height: 100px; }
    .vid-gallery-scroll-wrapper { gap: 8px; padding: 12px 16px 20px 16px; }
}