/* ═══════════════════════════════════════════
   LIS DE JUIN, Consent Banner & Modal (acik tema)
═══════════════════════════════════════════ */

.lj-consent-root,
.lj-consent-modal-root {
    font-family: var(--font-heading);
    color: var(--clr-ink, #22181C);
}

/* ── Banner ── */
.lj-consent-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 9990;
    width: min(960px, calc(100vw - 32px));
    background: rgba(247, 244, 238, 0.97);
    border: 1px solid rgba(34, 24, 28, 0.14);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(34, 24, 28, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: lj-consent-slide-up 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes lj-consent-slide-up {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.lj-consent-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 22px 26px;
}

.lj-consent-text h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 6px;
    color: var(--clr-ink, #22181C);
}

.lj-consent-text p {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(34, 24, 28, 0.72);
    margin: 0;
    max-width: 620px;
}

.lj-consent-text a {
    color: var(--clr-rose-dark, #A66A74);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lj-consent-text a:hover { color: var(--clr-ink, #22181C); }

.lj-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.lj-consent-btn {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
    color: var(--clr-ink, #22181C);
}

.lj-consent-btn.primary {
    background: var(--clr-ink, #22181C);
    color: var(--clr-on-dark, #F4EFE7);
    border-color: var(--clr-ink, #22181C);
}
.lj-consent-btn.primary:hover {
    background: var(--clr-rose-dark, #A66A74);
    border-color: var(--clr-rose-dark, #A66A74);
    transform: translateY(-1px);
}

.lj-consent-btn.outline {
    border-color: rgba(34, 24, 28, 0.35);
    color: var(--clr-ink, #22181C);
}
.lj-consent-btn.outline:hover {
    border-color: var(--clr-ink, #22181C);
    background: rgba(34, 24, 28, 0.04);
}

.lj-consent-btn.ghost {
    color: rgba(34, 24, 28, 0.7);
    padding-left: 8px;
    padding-right: 8px;
}
.lj-consent-btn.ghost:hover { color: var(--clr-ink, #22181C); }

/* ── Modal ── */
.lj-consent-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(34, 24, 28, 0.55);
    z-index: 9998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: lj-consent-fade 0.25s ease;
}

@keyframes lj-consent-fade { from { opacity: 0; } to { opacity: 1; } }

.lj-consent-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--clr-bg-card, #F7F4EE);
    border: 1px solid rgba(34, 24, 28, 0.16);
    border-radius: 10px;
    padding: 36px 32px;
    box-shadow: 0 30px 80px rgba(34, 24, 28, 0.28);
    animation: lj-consent-zoom 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes lj-consent-zoom {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.lj-consent-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(34, 24, 28, 0.55);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
    transition: color 0.2s;
}
.lj-consent-modal-close:hover { color: var(--clr-ink, #22181C); }

.lj-consent-modal h2 {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0 0 8px;
    color: var(--clr-ink, #22181C);
}

.lj-consent-modal-lead {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(34, 24, 28, 0.7);
    margin: 0 0 24px;
}

.lj-consent-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 24px;
    border-top: 1px solid rgba(34, 24, 28, 0.1);
}

.lj-consent-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px 2px;
    border-bottom: 1px solid rgba(34, 24, 28, 0.1);
    cursor: pointer;
}

.lj-consent-row strong {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-ink, #22181C);
    display: block;
    margin-bottom: 4px;
}

.lj-consent-row p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(34, 24, 28, 0.6);
    margin: 0;
}

/* Switch */
.lj-consent-switch {
    position: relative;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}
.lj-consent-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.lj-consent-slider {
    position: absolute;
    inset: 0;
    background: rgba(34, 24, 28, 0.18);
    border-radius: 22px;
    transition: background 0.25s ease;
    cursor: pointer;
}
.lj-consent-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(34, 24, 28, 0.3);
}
.lj-consent-switch input:checked + .lj-consent-slider {
    background: var(--clr-ink, #22181C);
}
.lj-consent-switch input:checked + .lj-consent-slider::before {
    transform: translateX(20px);
}
.lj-consent-switch input:disabled + .lj-consent-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.lj-consent-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid rgba(34, 24, 28, 0.1);
    padding-top: 20px;
}

/* ── Inline form consent checkboxes (checkout / kayit / iletisim) ── */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    font-family: var(--font-heading);
    font-size: 12px;
    line-height: 1.5;
    color: rgba(34, 24, 28, 0.75);
    cursor: pointer;
}
.form-consent input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--clr-ink, #22181C);
    flex-shrink: 0;
    cursor: pointer;
}
.form-consent a {
    color: var(--clr-rose-dark, #A66A74);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-consent a:hover { color: var(--clr-ink, #22181C); }

/* ── Mobile ── */
@media (max-width: 720px) {
    .lj-consent-banner {
        bottom: 12px;
        width: calc(100vw - 16px);
    }
    .lj-consent-inner {
        grid-template-columns: 1fr;
        padding: 18px 20px;
        gap: 14px;
    }
    .lj-consent-actions {
        justify-content: stretch;
    }
    .lj-consent-btn {
        flex: 1;
        padding: 12px 12px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    .lj-consent-btn.ghost {
        flex: 0 0 100%;
        order: 3;
        text-align: center;
    }
    .lj-consent-modal {
        padding: 28px 22px;
    }
}
