/* Futura Catalog — Frontend Styles */
.futura-catalog { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f3ef; color: #1a1a1a; min-height: 100vh; }
.fc-header { background: #fff; border-bottom: 1px solid #e8e4dd; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; position: sticky; top: 0; z-index: 100; }
.fc-header h1 { font-size: 20px; font-weight: 700; margin: 0; }
.fc-header h1 small { font-size: 13px; font-weight: 400; color: #7a7066; }
.fc-header-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fc-filter-group { display: flex; gap: 4px; background: #f5f3ef; padding: 3px; border-radius: 10px; }
.fc-filter-btn { padding: 6px 16px; border: none; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; background: transparent; color: #7a7066; transition: all 0.15s; }
.fc-filter-btn:hover { color: #1a1a1a; }
.fc-filter-btn.active { background: #fff; color: #1a1a1a; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.fc-search { padding: 7px 14px; border: 1px solid #e8e4dd; border-radius: 10px; font-size: 13px; background: #f5f3ef; color: #1a1a1a; outline: none; width: 200px; }
.fc-search:focus { border-color: #5a4f44; }
.fc-stats { font-size: 12px; color: #9a8f82; white-space: nowrap; }
.fc-container { max-width: 1320px; margin: 0 auto; padding: 24px 32px; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.fc-card { background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.04); border: 1px solid #e8e4dd; }
.fc-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.fc-card-image { height: 200px; background: #e8e4dd; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fc-card-image img { width: 100%; height: 100%; object-fit: cover; }
.fc-no-img { color: #9a8f82; font-size: 13px; }
.fc-card-body { padding: 16px 18px 18px; }
.fc-card-id { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: #9a8f82; }
.fc-card-tags { display: flex; gap: 6px; margin: 6px 0 8px; flex-wrap: wrap; }
.fc-tag { font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: 100px; }
.fc-tag-frame { background: #e3f0e3; color: #2d6a2d; }
.fc-tag-block { background: #e3e8f0; color: #2d4a6a; }
.fc-tag-stone { background: #f0e8e3; color: #6a4a2d; }
.fc-tag-other { background: #eee; color: #666; }
.fc-tag-unclassified { background: #eee; color: #666; }
.fc-card-stats { display: flex; gap: 16px; font-size: 13px; color: #7a7066; }
.fc-card-stats strong { color: #1a1a1a; font-weight: 600; }
.fc-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.fc-modal.open { opacity: 1; visibility: visible; }
.fc-modal-inner { background: #fff; border-radius: 18px; max-width: 960px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); transform: scale(0.96); transition: transform 0.25s; position: relative; }
.fc-modal.open .fc-modal-inner { transform: scale(1); }
.fc-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(0,0,0,0.5); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; }
.fc-modal-close:hover { background: rgba(0,0,0,0.7); }
.fc-modal-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: #e8e4dd; }
.fc-modal-gallery .fc-g-item { overflow: hidden; background: #e8e4dd; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.fc-modal-gallery .fc-g-item img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity 0.2s; }
.fc-modal-gallery .fc-g-item img:hover { opacity: 0.85; }
.fc-modal-body { padding: 28px 32px 32px; }
.fc-modal-body .fc-card-number { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #9a8f82; margin-bottom: 4px; }
.fc-modal-body .fc-card-title { font-size: 26px; font-weight: 700; margin-bottom: 2px; }
.fc-modal-body .fc-card-subtitle { font-size: 14px; color: #7a7066; margin-bottom: 20px; }
.fc-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.fc-stat-box { background: #f5f3ef; border-radius: 12px; padding: 16px; text-align: center; }
.fc-stat-box .fc-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: #9a8f82; margin-bottom: 4px; }
.fc-stat-box .fc-value { font-size: 22px; font-weight: 700; }
.fc-modal-body hr { border: none; height: 1px; background: #e8e4dd; margin-bottom: 20px; }
.fc-data-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #f5f3ef; border-radius: 12px; overflow: hidden; }
.fc-data-table td { padding: 8px 16px; border-bottom: 1px solid #e8e4dd; }
.fc-data-table tr:last-child td { border-bottom: none; }
.fc-data-table td:first-child { width: 200px; color: #7a7066; }
.fc-data-table td:last-child { font-weight: 500; color: #1a1a1a; }
.fc-modal-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e8e4dd; display: flex; justify-content: space-between; font-size: 12px; color: #9a8f82; }
.fc-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; cursor: zoom-out; padding: 40px; }
.fc-lightbox.open { opacity: 1; visibility: visible; }
.fc-lightbox img { max-width: 95%; max-height: 95%; object-fit: contain; border-radius: 6px; }
.fc-lb-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 28px; border-radius: 50%; cursor: pointer; z-index: 5; }
.fc-lb-close:hover { background: rgba(255,255,255,0.3); }
.fc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: none; background: rgba(255,255,255,0.1); color: #fff; font-size: 24px; border-radius: 50%; cursor: pointer; z-index: 5; }
.fc-lb-nav:hover { background: rgba(255,255,255,0.25); }
.fc-lb-prev { left: 20px; }
.fc-lb-next { right: 20px; }
.fc-lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 14px; background: rgba(0,0,0,0.5); padding: 4px 14px; border-radius: 100px; }
@media (max-width:700px) { .fc-header { flex-direction: column; padding: 12px 16px; gap: 8px; } .fc-header-controls { width: 100%; } .fc-filter-group { flex-wrap: wrap; justify-content: center; } .fc-filter-btn { flex: 1; min-width: 40%; text-align: center; padding: 8px 8px; font-size: 12px; } .fc-container { padding: 16px; } .fc-grid { grid-template-columns: 1fr; } .fc-stats { display: none; } .fc-search { width: 100%; } .fc-modal-gallery { grid-template-columns: repeat(2, 1fr); } .fc-modal-body { padding: 20px 18px; } .fc-stats-row { grid-template-columns: 1fr; } }
.fc-header-left { display: none; }
