/* NLK Core Widget & Plugin Adapter — Neytiri (tema32) */
:root {
    --nlk-primary: var(--nytr-primary, #000000);
    --nlk-secondary: var(--nytr-warm, #f1e3d5);
    --nlk-bg: var(--nytr-bg, #ffffff);
    --nlk-surface: var(--nytr-surface, #f6f6f6);
    --nlk-text: var(--nytr-text, #111111);
    --nlk-border: var(--nytr-border, #e5e5e5);
    --nlk-radius: var(--nytr-radius, 6px);
    --nlk-font-heading: 'Archivo Narrow', Arial, sans-serif;
    --nlk-font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
    --temarenkduzeni: var(--nlk-primary);
    --temagenelfont: var(--nlk-font-body);
    --temagenelrenk: var(--nlk-text);
}

/* Core Widget & Plugin Containers */
.nlk-core-widget,
.nlk-sanalpos-box,
.modern-sanalpos,
.widget-sanalpos,
.nlk-secenek-wrap,
.widget-secenek,
form.secenek,
.nlk-ozellestirme-wrap,
.nlk-sf-personalize,
.nlk-yorum-wrap,
.widget-yorum,
.nlk-filtreler-wrap,
.widget-filtreler,
.filter-sidebar-container,
.nlk-adres-wrap,
.widget-adres,
.nlk-chatbot-widget,
#nlk-chatbot-root,
.nlk-b2b-badge,
.nlk-badge-b2b,
#ModalquickView,
#nlk-quickview-modal {
    font-family: var(--nlk-font-body);
    color: var(--nlk-text);
}

.nlk-core-widget h1,
.nlk-core-widget h2,
.nlk-core-widget h3,
.nlk-core-widget h4,
#ModalquickView #qv-title {
    font-family: var(--nlk-font-heading);
    color: var(--nlk-text);
}

.nlk-core-widget .nlk-btn-primary,
.modern-sanalpos button[type="submit"],
.nlk-sanalpos-box button[type="submit"],
.widget-adres button[type="submit"],
.nlk-adres-wrap button[type="submit"],
.widget-yorum button[type="submit"],
.nlk-yorum-wrap button[type="submit"],
#ModalquickView #qv-addtocart {
    background-color: var(--nlk-primary) !important;
    color: #ffffff !important;
    border-radius: var(--nlk-radius) !important;
    border: 1px solid var(--nlk-primary) !important;
    font-family: var(--nlk-font-body);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nlk-core-widget .nlk-btn-primary:hover,
.modern-sanalpos button[type="submit"]:hover,
.nlk-sanalpos-box button[type="submit"]:hover,
#ModalquickView #qv-addtocart:hover {
    background-color: #262626 !important;
    border-color: #262626 !important;
    color: #ffffff !important;
}

.nlk-core-widget .nlk-card,
.nlk-sanalpos-box,
.modern-sanalpos .checkout-card,
.widget-adres,
.widget-adres ul.adres li.nlk-addr-card,
.nlk-adres-wrap .adres-card,
.nlk-ozellestirme-wrap,
.nlk-sf-box {
    background-color: var(--nlk-surface);
    border: 1px solid var(--nlk-border);
    border-radius: var(--nlk-radius);
}

.modern-sanalpos .nav-tabs > li.active > a,
.modern-sanalpos .nav-tabs > li > a.active,
.modern-sanalpos .odemetab-btn.active {
    background-color: var(--nlk-primary) !important;
    border-color: var(--nlk-primary) !important;
    color: #ffffff !important;
    border-radius: var(--nlk-radius);
}

.modern-sanalpos input:focus,
.modern-sanalpos select:focus,
.widget-adres input:focus,
.widget-adres select:focus,
.widget-adres textarea:focus,
.nlk-ozellestirme-wrap input:focus,
.nlk-ozellestirme-wrap textarea:focus {
    border-color: var(--nlk-primary) !important;
    outline: none;
}

.nlk-secenek-wrap .secenek-item.active,
form.secenek .active > a,
form.secenek .tags-list li.active,
form.secenek input:checked + label,
form.secenek label:has(input:checked) {
    border-color: var(--nlk-primary) !important;
    color: var(--nlk-primary) !important;
}

.widget-adres a.adresekle,
.widget-adres ul.adres li.adresbos .adresekle2 {
    border-color: var(--nlk-primary) !important;
    color: var(--nlk-primary) !important;
    border-radius: var(--nlk-radius) !important;
}
.widget-adres a.adresekle:hover,
.widget-adres ul.adres li.adresbos .adresekle2 {
    background-color: var(--nlk-primary) !important;
    color: #ffffff !important;
}

.widget-yorum .icon-star,
.reviews-comments .icon-star { font-style: normal; line-height: 1; }
.widget-yorum .icon-star::before,
.reviews-comments .icon-star::before { content: "\2605"; color: #f59e0b; }
.widget-yorum .icon-star.empty-star::before,
.reviews-comments .icon-star.empty-star::before { content: "\2606"; color: #cbd5e1; }

.filter-sidebar-container label:has(input:checked),
.widget-filtreler label:has(input:checked) {
    border-color: var(--nlk-primary) !important;
    background-color: var(--nlk-surface) !important;
}

.nlk-chatbot-widget .nlk-cb-launcher,
.nlk-chatbot-widget .nlk-cb-header,
.nlk-chatbot-widget .nlk-cb-send,
#nlk-chatbot-root .nlk-cb-launcher,
#nlk-chatbot-root .nlk-cb-header,
#nlk-chatbot-root .nlk-cb-send {
    background: var(--nlk-primary) !important;
    color: #ffffff !important;
}

.nlk-b2b-badge,
.nlk-badge-b2b {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--nlk-radius);
    background-color: var(--nlk-primary) !important;
    color: #ffffff !important;
}

/* QuickView Modal (#ModalquickView) — Self-Contained Homepage + Inner Pages */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}
#ModalquickView {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
    padding: 16px;
    box-sizing: border-box;
    font-family: var(--nlk-font-body);
}
#ModalquickView.show,
#ModalquickView.in {
    display: block !important;
}
#ModalquickView *,
#ModalquickView *::before,
#ModalquickView *::after {
    box-sizing: border-box;
}
#ModalquickView .modal-dialog {
    max-width: 920px !important;
    width: 95% !important;
    margin: 24px auto !important;
    position: relative;
}
#ModalquickView .modal-content {
    display: block !important;
    width: 100%;
    border-radius: 18px !important;
    border: 1px solid var(--nlk-border) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24) !important;
    background: var(--nlk-bg, #ffffff) !important;
    color: var(--nlk-text) !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 0 !important;
}
#ModalquickView .close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 30;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1 !important;
    padding: 0;
}
#ModalquickView .close:hover { background: var(--nlk-primary); color: #ffffff; border-color: var(--nlk-primary); }
#ModalquickView .grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    #ModalquickView .grid.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#ModalquickView .grid.grid-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#ModalquickView .hidden { display: none !important; }
#ModalquickView .relative { position: relative; }
#ModalquickView .absolute { position: absolute; }
#ModalquickView .block { display: block; }
#ModalquickView .flex { display: flex; }
#ModalquickView .inline-flex { display: inline-flex; }
#ModalquickView .flex-col { flex-direction: column; }
#ModalquickView .flex-wrap { flex-wrap: wrap; }
#ModalquickView .flex-1 { flex: 1 1 0%; }
#ModalquickView .flex-shrink-0 { flex-shrink: 0; }
#ModalquickView .items-center { align-items: center; }
#ModalquickView .items-stretch { align-items: stretch; }
#ModalquickView .items-baseline { align-items: baseline; }
#ModalquickView .justify-between { justify-content: space-between; }
#ModalquickView .justify-center { justify-content: center; }
#ModalquickView .gap-0 { gap: 0; }
#ModalquickView .gap-1 { gap: 4px; }
#ModalquickView .gap-1\.5 { gap: 6px; }
#ModalquickView .gap-2 { gap: 8px; }
#ModalquickView .gap-2\.5 { gap: 10px; }
#ModalquickView .gap-3 { gap: 12px; }
#ModalquickView .space-y-3 > * + * { margin-top: 12px; }
#ModalquickView .space-y-4 > * + * { margin-top: 16px; }
#ModalquickView .p-2 { padding: 8px; }
#ModalquickView .p-3 { padding: 12px; }
#ModalquickView .p-3\.5 { padding: 14px; }
#ModalquickView .p-4, #ModalquickView .p-6 { padding: 20px; }
#ModalquickView .px-2 { padding-left: 8px; padding-right: 8px; }
#ModalquickView .px-2\.5 { padding-left: 10px; padding-right: 10px; }
#ModalquickView .px-3\.5 { padding-left: 14px; padding-right: 14px; }
#ModalquickView .px-6 { padding-left: 24px; padding-right: 24px; }
#ModalquickView .py-0\.5 { padding-top: 2px; padding-bottom: 2px; }
#ModalquickView .py-1 { padding-top: 4px; padding-bottom: 4px; }
#ModalquickView .py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
#ModalquickView .pt-3 { padding-top: 12px; }
#ModalquickView .pr-8 { padding-right: 32px; }
#ModalquickView .top-3 { top: 12px; }
#ModalquickView .left-3 { left: 12px; }
#ModalquickView .bottom-3 { bottom: 12px; }
#ModalquickView .w-full { width: 100%; }
#ModalquickView .h-full { height: 100%; }
#ModalquickView .w-1\.5 { width: 6px; }
#ModalquickView .h-1\.5 { height: 6px; }
#ModalquickView .w-7 { width: 28px; }
#ModalquickView .h-7 { height: 28px; }
#ModalquickView .w-8 { width: 32px; }
#ModalquickView .h-8 { height: 32px; }
#ModalquickView .w-10 { width: 40px; }
#ModalquickView .w-32 { width: 124px; }
#ModalquickView .h-10 { height: 40px; }
#ModalquickView .h-12 { height: 48px; }
#ModalquickView .rounded-lg { border-radius: 8px; }
#ModalquickView .rounded-xl { border-radius: 12px; }
#ModalquickView .rounded-2xl { border-radius: 16px; }
#ModalquickView .rounded-full { border-radius: 9999px; }
#ModalquickView .border { border: 1px solid #e2e8f0; }
#ModalquickView .border-t { border-top: 1px solid #f1f5f9; }
#ModalquickView .bg-white { background-color: #ffffff; }
#ModalquickView .bg-slate-50, #ModalquickView .bg-slate-50\/90, #ModalquickView .bg-slate-50\/70, #ModalquickView .bg-slate-50\/50 { background-color: #f8fafc; }
#ModalquickView .bg-slate-100 { background-color: #f1f5f9; }
#ModalquickView .bg-emerald-50 { background-color: #ecfdf5; }
#ModalquickView .bg-emerald-500 { background-color: #10b981; }
#ModalquickView .bg-blue-50 { background-color: #eff6ff; }
#ModalquickView .bg-amber-50\/80 { background-color: #fffbeb; }
#ModalquickView .text-slate-400 { color: #94a3b8; }
#ModalquickView .text-slate-500 { color: #64748b; }
#ModalquickView .text-slate-600 { color: #475569; }
#ModalquickView .text-slate-700 { color: #334155; }
#ModalquickView .text-slate-800 { color: #1e293b; }
#ModalquickView .text-slate-900 { color: #0f172a; }
#ModalquickView .text-emerald-700 { color: #047857; }
#ModalquickView .text-emerald-600 { color: #059669; }
#ModalquickView .text-blue-600 { color: #2563eb; }
#ModalquickView .text-amber-500 { color: #f59e0b; }
#ModalquickView .text-white { color: #ffffff; }
#ModalquickView .text-xs { font-size: 12px; }
#ModalquickView .text-sm { font-size: 14px; }
#ModalquickView .text-\[10px\] { font-size: 10px; }
#ModalquickView .text-\[11px\] { font-size: 11px; }
#ModalquickView .font-bold { font-weight: 700; }
#ModalquickView .font-semibold { font-weight: 600; }
#ModalquickView .font-extrabold { font-weight: 800; }
#ModalquickView .uppercase { text-transform: uppercase; }
#ModalquickView .line-through { text-decoration: line-through; }
#ModalquickView .overflow-hidden { overflow: hidden; }
#ModalquickView .overflow-y-auto { overflow-y: auto; }
#ModalquickView .max-h-24 { max-height: 96px; }
#ModalquickView #qv-image { width: 100%; max-height: 360px; object-fit: contain; display: block; margin: 0 auto; }
#ModalquickView #qv-title { font-family: var(--nlk-font-heading); font-size: 20px; font-weight: 700; color: var(--nlk-text); margin: 0; line-height: 1.35; }
#ModalquickView #qv-price { font-size: 24px; font-weight: 800; color: var(--nlk-primary) !important; }
#ModalquickView #qv-oldprice { font-size: 14px; color: #94a3b8; text-decoration: line-through; }
#ModalquickView #qv-qty { width: 42px; text-align: center; border: 0; background: transparent; font-weight: 700; color: var(--nlk-text); }
#ModalquickView #qv-addtocart { width: 100%; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; }
#ModalquickView #qv-detail-link { width: 100%; padding: 10px 14px; border-radius: var(--nlk-radius); border: 1px solid var(--nlk-border); background: var(--nlk-surface); color: var(--nlk-text); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
#ModalquickView #qv-detail-link:hover { border-color: var(--nlk-primary); color: var(--nlk-primary); }
#ModalquickView #qv-fav { height: 40px; padding: 0 14px; border-radius: var(--nlk-radius); border: 1px solid var(--nlk-border); background: #ffffff; color: var(--nlk-text); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
#ModalquickView #qv-fav:hover { border-color: var(--nlk-primary); color: var(--nlk-primary); }
#ModalquickView #qv-badge-sale { background: linear-gradient(135deg, #f43f5e, #dc2626); color: #ffffff; }

/* Prevent XO WebComponents SVG defs sprite appended to body from adding bottom whitespace */
body > svg {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
