/* NLK Core Widget & Plugin Adapter — Zechan (tema29) */
:root {
    --nlk-primary: var(--zch-primary, #000000);
    --nlk-secondary: var(--zch-accent, #daee14);
    --nlk-bg: var(--zch-bg, #ffffff);
    --nlk-surface: var(--zch-surface, #f7f7f7);
    --nlk-text: var(--zch-text, #111111);
    --nlk-border: var(--zch-border, #e5e5e5);
    --nlk-radius: 0px;
    --nlk-font-heading: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
    --nlk-font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    --temarenkduzeni: var(--nlk-primary);
    --temagenelfont: var(--nlk-font-body);
    --temagenelrenk: var(--nlk-text);
}

.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,
.btn-theme {
    background-color: var(--nlk-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--nlk-primary) !important;
    font-family: var(--nlk-font-heading);
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 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,
.btn-theme: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);
}

.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;
}

.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-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; }

.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;
    background-color: var(--nlk-primary) !important;
    color: #ffffff !important;
}

/* QuickView Modal (#ModalquickView) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(15, 23, 42, 0.6);
    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.6);
    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: 0 !important;
    border: 2px solid #000000 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
    background: #ffffff !important;
    color: #111111 !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;
    background: #f3f4f6;
    border: 1px solid #d4d4d8;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1 !important;
    padding: 0;
}
#ModalquickView .close:hover { background: #000000; color: #ffffff; border-color: #000000; }
#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-2 { gap: 8px; }
#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-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-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 .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-32 { width: 124px; }
#ModalquickView .h-10 { height: 40px; }
#ModalquickView .h-12 { height: 48px; }
#ModalquickView .border { border: 1px solid #e2e8f0; }
#ModalquickView .border-t { border-top: 1px solid #f1f5f9; }
#ModalquickView .bg-white { background-color: #ffffff; }
#ModalquickView .bg-slate-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 .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-900 { color: #0f172a; }
#ModalquickView .text-emerald-700 { color: #047857; }
#ModalquickView .text-white { color: #ffffff; }
#ModalquickView .text-xs { font-size: 12px; }
#ModalquickView .text-sm { font-size: 14px; }
#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 #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: 24px; font-weight: 800; text-transform: uppercase; color: #000000; margin: 0; line-height: 1.15; }
#ModalquickView #qv-price { font-family: var(--nlk-font-heading); font-size: 28px; font-weight: 800; color: #000000 !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: #111111; }
#ModalquickView #qv-addtocart { width: 100%; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; }
#ModalquickView #qv-detail-link { width: 100%; padding: 10px 14px; border: 1px solid var(--nlk-border); background: var(--nlk-surface); color: var(--nlk-text); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
#ModalquickView #qv-detail-link:hover { border-color: #000000; color: #000000; }
#ModalquickView #qv-fav { height: 40px; padding: 0 14px; border: 1px solid var(--nlk-border); background: #ffffff; color: #111111; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
#ModalquickView #qv-badge-sale { background: #df3437; color: #ffffff; }
