:root { --vfg-primary: #111; --vfg-secondary: #888; --vfg-bg: #fff; --vfg-border: #e5e5e5; --vfg-success: #28a745; --vfg-font-size: 24px; --vfg-col-count: 3; --vfg-card-height: 140px; }
.vfg-wrapper { max-width: 1100px; margin: 40px auto; font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif; color: var(--vfg-primary); }

/* INPUT */
.vfg-input-section input {
    width: 100%; padding: 18px 24px !important; font-size: 24px !important; font-weight: 400 !important;
    border: 1px solid #e0e0e0 !important; background: #fff !important; transition: all 0.3s ease; margin-bottom: 40px;
    border-radius: 12px !important; color: #111 !important; box-shadow: none !important;
}
.vfg-input-section input:focus { border-color: #000 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important; outline: none !important; }
.vfg-input-section input::placeholder { color: #ccc !important; font-weight: 300 !important; }

/* CONTROLS */
.vfg-controls-area { margin-bottom: 40px; }
.vfg-controls-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.vfg-ctrl-right, .vfg-bottom-left, .vfg-bottom-right { display: flex; align-items: center; gap: 20px; }

/* DROPDOWNS */
.vfg-dropdown-container { position: relative; font-size: 14px; font-weight: 500; z-index: 20; min-width: 130px; }
.vfg-dropdown-trigger { 
    cursor: pointer; display: inline-flex; align-items: center; justify-content: flex-start; 
    gap: 6px; padding: 8px 10px; margin-left: -10px;
    border: 1px solid transparent !important; background: transparent !important; box-shadow: none !important;
    transition: color 0.2s; user-select: none; width: fit-content;
}
.vfg-dropdown-trigger:hover { background: transparent !important; color: #000; } /* Hover BG Yok */

.arrow-icon { transition: transform 0.2s; transform: rotate(90deg); }
.vfg-dropdown-container.open .arrow-icon { transform: rotate(0deg); }

.vfg-dropdown-content { 
    display: none; position: absolute; top: -1px; left: -11px; width: auto; min-width: 200px;
    background: var(--vfg-bg); border: 1px solid #000; box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    z-index: 999; padding: 5px 0;
}
.vfg-dropdown-container.open .vfg-dropdown-trigger { visibility: hidden; }
.vfg-dropdown-container.open .vfg-dropdown-content { display: block; }

/* LIST ITEMS & CLEAN HOVER */
.vfg-option-list { max-height: 300px; overflow-y: auto; }
.vfg-option, .vfg-size-option { 
    padding: 8px 18px; cursor: pointer; display: flex; align-items: center; gap: 10px; 
    color: var(--vfg-secondary); font-weight: 400; font-size: 13px; 
    transition: color 0.2s; background: transparent !important; 
}
/* Sadece Yazı Rengi Değişsin, Arkaplan Yok */
.vfg-option:hover, .vfg-size-option:hover { 
    background: transparent !important; 
    color: #000 !important; 
}

/* DOTS LOGIC */
.vfg-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #ccc; background: transparent; transition: all 0.2s; }

/* Seçili Olanlar */
.vfg-option.selected { color: var(--vfg-primary); }
.vfg-option.selected .vfg-dot { background: var(--vfg-primary); border-color: var(--vfg-primary); }
.vfg-size-option.selected { color: var(--vfg-primary); }
.vfg-size-option.selected .vfg-dot { background: var(--vfg-primary); border-color: var(--vfg-primary); }

/* ALL SELECTED (YENİ): Eğer All Categories seçiliyse listedeki TÜM noktalar dolsun */
.vfg-dropdown-container.all-selected .vfg-option .vfg-dot { 
    background: var(--vfg-primary); 
    border-color: var(--vfg-primary); 
}

#vfg-size-dropdown { min-width: 70px; }
#vfg-size-dropdown .vfg-dropdown-content { min-width: 100px; left: auto; right: -10px; top: -1px; }
.size-trigger { justify-content: flex-end; margin-left: 0; margin-right: -10px;}

/* SLIDER */
.vfg-slider-group { display: flex; align-items: center; gap: 20px; }
#vfg-size-slider {
    -webkit-appearance: none; width: 150px; height: 2px; outline: none;
    background: #e0e0e0; background-image: linear-gradient(var(--vfg-primary), var(--vfg-primary)); background-repeat: no-repeat;
}
#vfg-size-slider::-webkit-slider-thumb {
    -webkit-appearance: none; height: 14px; width: 14px; border-radius: 50%; background: #fff; cursor: pointer;
    border: 2px solid var(--vfg-primary); box-shadow: 0 1px 3px rgba(0,0,0,0.1); transition: transform 0.1s, background-color 0.2s;
}
#vfg-size-slider:active::-webkit-slider-thumb { background-color: #000; }

/* SORT & GRID */
.sort-label { color: var(--vfg-secondary); font-size: 12px; font-weight: 500; white-space: nowrap;}
.sort-separator { display: inline-block; height: 1px; width: 100px; background: #e0e0e0; margin: 0 15px; }
.vfg-sort-list { display: flex; list-style: none; padding: 0; margin: 0; gap: 15px; }
.vfg-sort-link { cursor: pointer; color: var(--vfg-secondary); transition: color 0.2s; font-weight: 500; font-size: 12px; }
.vfg-sort-link:hover, .vfg-sort-link.active { color: var(--vfg-primary); }
.vfg-sort-link.active { font-weight: 700; }
.vfg-grid-switcher { display: flex; gap: 10px; color: #ccc; }
/* Grid Icons Clean */
.grid-option { 
    cursor: pointer; transition: color 0.2s; position: relative; padding: 5px;
    background: transparent !important; border: none !important; box-shadow: none !important;
}
.grid-option:hover, .grid-option.active { color: var(--vfg-primary); }

/* CARD */
.vfg-grid { display: grid; grid-template-columns: repeat(var(--vfg-col-count), 1fr); gap: 25px; }
.vfg-card { 
    background: var(--vfg-bg); border: 1px solid var(--vfg-border); border-radius: 12px; padding: 25px; 
    position: relative; cursor: pointer; transition: all 0.2s ease; user-select: none; 
    height: var(--vfg-card-height); display: flex; flex-direction: column; justify-content: center; overflow: hidden; 
}
.vfg-card:hover { border-color: #000; box-shadow: 0 6px 20px rgba(0,0,0,0.05); transform: translateY(-3px); }
.vfg-card:active { transform: scale(0.99); }
.vfg-font-name { font-size: 10px; font-weight: 700; color: var(--vfg-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.vfg-output { font-size: var(--vfg-font-size); font-weight: 400; color: var(--vfg-primary); line-height: 1.2; padding-right: 30px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vfg-icon-wrapper { position: absolute; top: 25px; right: 25px; width: 16px; height: 16px; color: #e0e0e0; transition: color 0.3s; pointer-events: none; }
.vfg-card:hover .vfg-icon-wrapper { color: var(--vfg-primary); }
.vfg-svg-copy, .vfg-svg-check { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: all 0.3s; }
.vfg-svg-copy { opacity: 1; transform: scale(1); } .vfg-svg-check { opacity: 0; transform: scale(0); color: var(--vfg-success); }
.vfg-card.copied .vfg-svg-copy { opacity: 0; transform: scale(0); } .vfg-card.copied .vfg-svg-check { opacity: 1; transform: scale(1.1); }
.vfg-feedback-toast { position: absolute; bottom: 15px; right: 20px; font-size: 12px; font-weight: 600; color: var(--vfg-success); background: #fff; padding: 4px 10px; border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); opacity: 0; transform: translateY(10px); transition: all 0.3s; pointer-events: none; }
.vfg-card.copied .vfg-feedback-toast { opacity: 1; transform: translateY(0); }

.vfg-load-more-container { text-align: center; margin: 60px 0; }
#vfg-load-more { background: var(--vfg-primary) !important; color: #fff !important; padding: 16px 40px; border-radius: 40px; border: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.2s; }
#vfg-load-more:hover { background: #333 !important; }
.grid-option[data-tooltip]:hover::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: 5px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; animation: tooltipFade 0.2s forwards; }
@keyframes tooltipFade { to { opacity: 1; margin-bottom: 8px; } }

@media (max-width: 768px) { .desktop-only { display: none !important; } :root { --vfg-font-size: 22px !important; --vfg-col-count: 1 !important; --vfg-card-height: auto !important; } .vfg-card { height: auto; padding: 25px 20px; } .vfg-output { -webkit-line-clamp: unset; } .vfg-input-section input { font-size: 20px; padding: 15px 0; } .vfg-dropdown-content { position: fixed; bottom: 0; left: 0; width: 100%; top: auto; border-radius: 20px 20px 0 0; padding: 20px; z-index: 9999; margin: 0; border: none; border-top: 1px solid #000; box-shadow: 0 -10px 40px rgba(0,0,0,0.15); } .vfg-option-list { max-height: 50vh; } }