/*
 * Ocean — uyum katmanı.
 *
 * Sepet (checkout), ürün kartı ve tema tarafından ezilmeyen diğer ortak
 * sayfalar Tailwind sınıflarıyla yazılmış. Ocean Tailwind yüklemediği için
 * bu sayfalar stilsiz kalıyordu.
 *
 * Bu dosya o sayfaların kullandığı sınırlı sınıf kümesine karşılık verir.
 * Sipariş akışını riske atmamak için şablon markup'ına dokunulmadı:
 * form alanları, route'lar ve Blade mantığı ortak sürümle birebir aynı.
 *
 * Kurallar yalnızca .ocean-compat kapsayıcısı içinde geçerlidir; böylece
 * Bootstrap'in .container / .btn gibi sınıflarıyla çakışmaz.
 */

.ocean-compat { color: #334155; }

/* ---------------- Proje bileşen sınıfları ---------------- */
.ocean-compat .card { background: #fff; border: 1px solid #e0e7f1; border-radius: 12px; }

.ocean-compat .input,
.ocean-compat input[type=text], .ocean-compat input[type=email],
.ocean-compat input[type=password], .ocean-compat input[type=number],
.ocean-compat select, .ocean-compat textarea {
    width: 100%; border: 1px solid #ddd; border-radius: 9px;
    padding: 10px 13px; font-size: 15px; background: #fff; color: #0f172a;
}
.ocean-compat .input:focus, .ocean-compat input:focus,
.ocean-compat select:focus, .ocean-compat textarea:focus {
    outline: none; border-color: var(--ocean-accent, #2f6ae1);
    box-shadow: 0 0 0 3px rgba(47,106,225,.15);
}
.ocean-compat .label { display: block; font-weight: 600; font-size: 14px; color: #334155; margin-bottom: 6px; }

.ocean-compat .btn {
    display: inline-block; text-align: center; text-decoration: none;
    border: 1px solid transparent; border-radius: 9px; font-weight: 700;
    padding: 10px 22px; cursor: pointer; transition: background .2s ease;
}
.ocean-compat .btn-primary { background: var(--ocean-accent, #2f6ae1); color: #fff; }
.ocean-compat .btn-primary:hover { background: var(--ocean-accent-dark, #1e4bb8); color: #fff; text-decoration: none; }
.ocean-compat .btn-secondary { background: #eef2f7; color: #334155; }
.ocean-compat .btn-secondary:hover { background: #e2e8f0; color: #334155; text-decoration: none; }
.ocean-compat .btn-lg { padding: 13px 28px; font-size: 16px; }

.ocean-compat .badge {
    display: inline-block; padding: 3px 10px; border-radius: 9999px;
    font-size: 12px; font-weight: 700; background: #eef5ff; color: var(--ocean-accent, #2f6ae1);
}
.ocean-compat .badge-orange { background: #fef3c7; color: #92400e; }
.ocean-compat .badge-green  { background: #dcfce7; color: #166534; }
.ocean-compat .badge-blue   { background: #dbeafe; color: #1e40af; }

/* ---------------- Yerleşim ---------------- */
.ocean-compat .flex { display: flex; }
.ocean-compat .flex-col { flex-direction: column; }
.ocean-compat .flex-1 { flex: 1 1 0%; }
.ocean-compat .flex-shrink-0 { flex-shrink: 0; }
.ocean-compat .items-center { align-items: center; }
.ocean-compat .items-start { align-items: flex-start; }
.ocean-compat .items-baseline { align-items: baseline; }
.ocean-compat .justify-between { justify-content: space-between; }
.ocean-compat .justify-center { justify-content: center; }
.ocean-compat .grid { display: grid; }
.ocean-compat .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ocean-compat .gap-2 { gap: .5rem; }
.ocean-compat .gap-3 { gap: .75rem; }
.ocean-compat .gap-6 { gap: 1.5rem; }
.ocean-compat .relative { position: relative; }
.ocean-compat .absolute { position: absolute; }
.ocean-compat .sticky { position: sticky; }
.ocean-compat .top-20 { top: 5rem; }
.ocean-compat .left-6 { left: 1.5rem; }
.ocean-compat .-top-3 { top: -.75rem; }
.ocean-compat .mx-auto { margin-left: auto; margin-right: auto; }
.ocean-compat .max-w-5xl { max-width: 64rem; }
.ocean-compat .w-full { width: 100%; }
.ocean-compat .w-5 { width: 1.25rem; }
.ocean-compat .h-5 { height: 1.25rem; }

@media (min-width: 640px) {
    .ocean-compat .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .ocean-compat .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ocean-compat .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

/* ---------------- Boşluk ---------------- */
.ocean-compat .p-3 { padding: .75rem; }
.ocean-compat .p-6 { padding: 1.5rem; }
.ocean-compat .px-3 { padding-left: .75rem; padding-right: .75rem; }
.ocean-compat .px-4 { padding-left: 1rem; padding-right: 1rem; }
.ocean-compat .py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.ocean-compat .py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.ocean-compat .py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.ocean-compat .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.ocean-compat .pr-2 { padding-right: .5rem; }
.ocean-compat .pt-1 { padding-top: .25rem; }
.ocean-compat .pt-2 { padding-top: .5rem; }
.ocean-compat .mb-1 { margin-bottom: .25rem; }
.ocean-compat .mb-2 { margin-bottom: .5rem; }
.ocean-compat .mb-4 { margin-bottom: 1rem; }
.ocean-compat .mb-5 { margin-bottom: 1.25rem; }
.ocean-compat .mb-6 { margin-bottom: 1.5rem; }
.ocean-compat .mt-1 { margin-top: .25rem; }
.ocean-compat .mt-2 { margin-top: .5rem; }
.ocean-compat .mt-3 { margin-top: .75rem; }
.ocean-compat .mt-6 { margin-top: 1.5rem; }
.ocean-compat .ml-1 { margin-left: .25rem; }
.ocean-compat .ml-2 { margin-left: .5rem; }
.ocean-compat .my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.ocean-compat .my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.ocean-compat .last\:mb-0:last-child { margin-bottom: 0; }
.ocean-compat .mt-0\.5 { margin-top: .125rem; }

.ocean-compat .space-y-1\.5 > * + * { margin-top: .375rem; }
.ocean-compat .space-y-2 > * + * { margin-top: .5rem; }
.ocean-compat .space-y-2\.5 > * + * { margin-top: .625rem; }
.ocean-compat .space-y-3 > * + * { margin-top: .75rem; }
.ocean-compat .space-y-4 > * + * { margin-top: 1rem; }
.ocean-compat .space-y-6 > * + * { margin-top: 1.5rem; }

/* ---------------- Tipografi ---------------- */
.ocean-compat .text-xs { font-size: .75rem; }
.ocean-compat .text-sm { font-size: .875rem; }
.ocean-compat .text-lg { font-size: 1.125rem; }
.ocean-compat .text-2xl { font-size: 1.5rem; }
.ocean-compat .text-3xl { font-size: 1.875rem; }
.ocean-compat .text-4xl { font-size: 2.25rem; }
.ocean-compat .font-normal { font-weight: 400; }
.ocean-compat .font-medium { font-weight: 500; }
.ocean-compat .font-semibold { font-weight: 600; }
.ocean-compat .font-bold { font-weight: 700; }
.ocean-compat .font-extrabold { font-weight: 800; }
.ocean-compat .font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ocean-compat .uppercase { text-transform: uppercase; }
.ocean-compat .tracking-wide { letter-spacing: .025em; }
.ocean-compat .tracking-wider { letter-spacing: .05em; }
.ocean-compat .text-center { text-align: center; }
.ocean-compat .text-right { text-align: right; }
.ocean-compat .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ocean-compat .whitespace-nowrap { white-space: nowrap; }
.ocean-compat .list-disc { list-style-type: disc; }
.ocean-compat .list-inside { list-style-position: inside; }
.ocean-compat .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.ocean-compat .cursor-pointer { cursor: pointer; }
.ocean-compat .transition { transition: all .15s ease; }
.ocean-compat .hover\:underline:hover { text-decoration: underline; }

/* ---------------- Renkler ---------------- */
.ocean-compat .text-white { color: #fff; }
/* Tailwind'in slate-400 tonu beyaz zeminde okunmuyordu (2.4:1);
   ortak sayfalardaki açıklama notları için bir ton koyulaştırıldı. */
.ocean-compat .text-slate-400 { color: #64748b; }
.ocean-compat .text-slate-500 { color: #64748b; }
.ocean-compat .text-slate-600 { color: #475569; }
.ocean-compat .text-slate-700 { color: #334155; }
.ocean-compat .text-slate-900 { color: #0f172a; }
.ocean-compat .text-red-500 { color: #ef4444; }
.ocean-compat .text-red-600 { color: #dc2626; }
.ocean-compat .text-red-700 { color: #b91c1c; }
.ocean-compat .text-amber-700 { color: #b45309; }
.ocean-compat .text-emerald-500 { color: #10b981; }
.ocean-compat .text-emerald-600 { color: #059669; }
.ocean-compat .text-emerald-700 { color: #047857; }
.ocean-compat .text-emerald-800 { color: #065f46; }
.ocean-compat .bg-slate-50 { background-color: #f8fafc; }
.ocean-compat .bg-red-50 { background-color: #fef2f2; }
.ocean-compat .bg-emerald-50 { background-color: #ecfdf5; }
.ocean-compat .bg-brand-600 { background-color: var(--ocean-accent, #2f6ae1); }
.ocean-compat .hover\:bg-slate-50:hover { background-color: #f8fafc; }

/* ---------------- Kenarlık ---------------- */
.ocean-compat .border { border: 1px solid #e2e8f0; }
.ocean-compat .border-t { border-top: 1px solid #e2e8f0; }
.ocean-compat .border-slate-100 { border-color: #f1f5f9; }
.ocean-compat .border-slate-200 { border-color: #e2e8f0; }
.ocean-compat .border-red-200 { border-color: #fecaca; }
.ocean-compat .border-emerald-200 { border-color: #a7f3d0; }
.ocean-compat .rounded-lg { border-radius: .5rem; }
.ocean-compat .rounded-xl { border-radius: .75rem; }
.ocean-compat .rounded-full { border-radius: 9999px; }
