/*!
 * Wuffi — Cookie Banner Styles
 */
#wuffi-cookie-banner {
    position: fixed; bottom: 24px; left: 24px; right: 24px;
    z-index: 100000;
    max-width: 920px; margin: 0 auto;
    background: rgba(14, 9, 38, 0.96);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    color: #f5f0ff;
    font-family: 'Inter', -apple-system, sans-serif;
    animation: wcbSlideUp 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes wcbSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}.wcb-inner {
    display: flex; gap: 24px; align-items: center; padding: 20px 24px;
    flex-wrap: wrap;
}
.wcb-text { flex: 1; min-width: 280px; }
.wcb-text h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.wcb-text p { font-size: 13px; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.5; }.wcb-text a { color: #FFB923; text-decoration: underline; }
.wcb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wcb-btn {
    padding: 10px 18px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}
.wcb-btn-primary { background: #FFB923; color: #1a0800; border-color: #FFB923; }
.wcb-btn-primary:hover { background: #ffc846; transform: translateY(-1px); }
.wcb-btn-secondary { background: transparent; color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.18); }.wcb-btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.32); }/* Modal */
#wuffi-cookie-modal {
    position: fixed; inset: 0; z-index: 100001;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    animation: wcbFadeIn 0.3s ease;
}
@keyframes wcbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.wcm-inner {
    width: 100%; max-width: 560px;
    background: rgba(20, 14, 50, 0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    color: #f5f0ff;
    overflow: hidden;
    animation: wcbSlideUp 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}.wcm-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.wcm-header h3 { margin: 0; font-size: 17px; font-weight: 700; }
.wcm-close { background: none; border: none; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; opacity: 0.6; padding: 0; }
.wcm-close:hover { opacity: 1; }
.wcm-body { padding: 12px 24px; max-height: 60vh; overflow-y: auto; }
.wcm-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer; }
.wcm-row:last-child { border-bottom: none; }
.wcm-row input { margin-top: 4px; cursor: pointer; }
.wcm-row strong { display: block; font-size: 14px; margin-bottom: 4px; }
.wcm-row p { margin: 0; font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }.wcm-footer { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.08); text-align: right; }

@media (max-width: 600px) {
    /* v15.2 P0-FIX — Mobil ekranda 3 buton alt taşma sorunu çözüldü.
       Banner viewport'sığmaz boyutta + alt button (Accept All) erişilemiyor + sayfayla
       örtüşüyordu. Çözüm: kompakt typography, scroll fallback, button hierarchy. */
    #wuffi-cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        max-height: calc(100vh - 70px);   /* Safari toolbar + safe area */
        overflow-y: auto;                  /* fallback - taşma olursa scroll */
        -webkit-overflow-scrolling: touch;
    }
    .wcb-inner {
        padding: 14px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .wcb-text h3 { font-size: 14px; margin-bottom: 4px; }
    .wcb-text p { font-size: 12px; line-height: 1.45; }

    /* Button hierarchy: Accept All en üstte FULL WIDTH (en yaygın seçim),
       altında Essential Only + Customize yan yana (eşit pay). */
    .wcb-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .wcb-btn {
        padding: 11px 12px;
        font-size: 13px;
        font-weight: 600;
        width: 100%;
        min-height: 44px;                  /* iOS tap target accessibility */
    }
    .wcb-btn-primary {
        grid-column: 1 / -1;               /* tam genişlik üstte */
        order: -1;
        font-size: 14px;
    }
}

/* iPhone SE / 320px-class — daha sıkı padding */
@media (max-width: 360px) {
    #wuffi-cookie-banner { bottom: 4px; left: 4px; right: 4px; }
    .wcb-inner { padding: 12px; gap: 10px; }
    .wcb-btn { padding: 10px; font-size: 12px; min-height: 40px; }
}
