/* Okulunu Donat — Özel Stiller */

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prose stilleri (CMS içerikler için) */
.prose { color: #374151; line-height: 1.75; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: #0a0a0a; margin-top: 1.5em; margin-bottom: 0.5em; line-height: 1.2; }
.prose h1 { font-size: 2.25em; }
.prose h2 { font-size: 1.875em; }
.prose h3 { font-size: 1.5em; }
.prose p { margin-bottom: 1em; }
.prose a { color: #b88a3b; text-decoration: underline; }
.prose a:hover { color: #8f6826; }
.prose strong { color: #0a0a0a; font-weight: 600; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.5em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose blockquote { border-left: 4px solid #b88a3b; padding-left: 1em; font-style: italic; color: #4b5563; }
.prose img { max-width: 100%; border-radius: 0.5rem; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: 0.5em; text-align: left; }
.prose th { background: #f9fafb; font-weight: 600; }

/* Scrollbar stilleri */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #b88a3b; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #8f6826; }

/* Selection */
::selection { background: #b88a3b; color: white; }

/* Container helper - default Tailwind container'a maksimum genişlik veriyoruz */
.container { max-width: 1280px; }

/* Form input default focus override */
input:focus, textarea:focus, select:focus { outline: none; }

/* Loading shimmer */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Smooth page transitions */
main { animation: pageIn 0.4s ease-out; }
@keyframes pageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print stilleri */
@media print {
    header, footer, .no-print { display: none !important; }
}

/* Okulunu Donat: yapıyı koruyan hafif siyah-altın tema ayrımı */
body { background-color: #fffdf9; }
header.bg-white { box-shadow: 0 8px 28px rgba(24,18,7,.06); }
.product-card, .category-card { border-color: rgba(184,138,59,.16); }

/* Okulunu Donat v3: merkez logo ve özgün katalog kartları */
.okd-header-logo { position: relative; z-index: 2; }
.okd-header-nav a { position: relative; border-radius: 999px; }
.okd-header-nav a::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 1px; background: #b88a3b; transform: scaleX(0); transition: transform .25s ease; }
.okd-header-nav a:hover::after { transform: scaleX(1); }
.okd-products-section { background: linear-gradient(180deg,#fff 0%,#fbf8f1 100%); }
.okd-product-card { border-radius: 28px 8px 28px 8px !important; border-color: rgba(184,138,59,.20) !important; box-shadow: 0 12px 35px rgba(27,20,8,.07); }
.okd-product-card:hover { transform: translateY(-7px); border-color: rgba(184,138,59,.48) !important; box-shadow: 0 22px 48px rgba(27,20,8,.14); }
.okd-product-media { aspect-ratio: 4 / 3 !important; background: #f2eee5; }
.okd-product-media img { transition-duration: .7s !important; }
.okd-product-card:hover .okd-product-media img { transform: scale(1.035); }
.okd-card-light .okd-product-body { background: linear-gradient(145deg,#fff 0%,#fffdf8 100%); }
.okd-category-card { border-radius: 32px 8px 32px 8px !important; border: 1px solid rgba(184,138,59,.25); }
.okd-category-card:hover { transform: translateY(-5px); }
.okd-filter-card { border: 1px solid rgba(184,138,59,.18); border-radius: 22px 8px 22px 8px !important; box-shadow: 0 14px 36px rgba(27,20,8,.06); }
@media (max-width: 1023px) { .okd-header-row { grid-template-columns: 1fr auto 1fr; } }
@media (max-width: 639px) { .okd-header-row { gap: .25rem; } .okd-product-media { aspect-ratio: 1 / 1 !important; } }
