/* Mercan Tarim - Ozel Stiller */

#cookie-banner.hidden {
    display: none !important;
}

html { scroll-behavior: smooth; }

.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }

.gallery-thumb.active {
    border-color: #16a34a;
    ring: 2px;
    ring-color: #bbf7d0;
}

.variant-btn.active {
    border-color: #16a34a;
    background-color: #f0fdf4;
    color: #166534;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .btn-interactive {
        transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        will-change: transform;
    }

    .btn-interactive:hover {
        transform: translateY(-1px);
    }

    .btn-interactive:active {
        transform: translateY(0) scale(0.98);
    }

    .nav-link-underline {
        background-image: linear-gradient(currentColor, currentColor);
        background-size: 0% 2px;
        background-repeat: no-repeat;
        background-position: 0 100%;
        transition: background-size 0.25s ease;
    }

    .nav-link-underline:hover {
        background-size: 100% 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Admin sidebar scroll */
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
