﻿/* =====================================================================
   VERDANT CLARITY — Model Kütüphanesi tasarım sistemi
   Kaynak: design/verdant_clarity/DESIGN.md
   - Beyaz/buzlu cam yüzeyler, zümrüt vurgular
   - Başlıklar: Plus Jakarta Sans, gövde & kontroller: Inter
   Not: Metronic/Bootstrap (style.bundle.css) SONRASINDA yüklenir.
   Katalog kartları (#cardArea .PageCard) bilinçli olarak bu dosyanın
   kapsamı dışında bırakılmıştır; görünümleri değişmez.
   ===================================================================== */

:root {
    --vc-bg: #fafaf8;
    --vc-surface: #ffffff;
    --vc-surface-glass: rgba(255, 255, 255, 0.80);
    --vc-surface-low: #f5f4f0;
    --vc-surface-container: #eeece6;
    --vc-surface-high: #e7e5dd;
    --vc-surface-highest: #dfdcd2;

    --vc-on-surface: #0d1c2f;
    --vc-on-surface-variant: #46443f;
    --vc-outline: #78756d;
    --vc-outline-variant: #cdc8bb;
    --vc-slate: #334155;
    --vc-muted: #64748b;
    --vc-placeholder: #94a3b8;

    --vc-primary: #424242;
    --vc-primary-hover: #2e2e2e;
    --vc-emerald: #e2c164;
    --vc-emerald-deep: #7d5f12;
    --vc-on-primary-container: #3a2c00;
    --vc-secondary-container: #f4e39c;
    --vc-on-secondary-container: #6a500f;
    --vc-tertiary: #424242;
    --vc-mint: #fefbef;
    --vc-mint-2: #fbf2d2;
    --vc-mint-3: #f6e8b4;

    --vc-error: #ba1a1a;
    --vc-error-container: #ffdad6;
    --vc-on-error-container: #93000a;
    --vc-warning: #b45309;
    --vc-warning-container: #fef3c7;
    --vc-info: #1d4ed8;
    --vc-info-container: #dbeafe;

    --vc-hairline: rgba(51, 65, 85, 0.08);
    --vc-hairline-emerald: rgba(214, 180, 80, 0.15);

    --vc-shadow-1: 0 4px 24px -2px rgba(214, 180, 80, 0.06), 0 2px 8px -1px rgba(13, 28, 47, 0.04);
    --vc-shadow-2: 0 12px 32px -4px rgba(51, 65, 85, 0.08), 0 4px 12px -2px rgba(214, 180, 80, 0.06);
    --vc-shadow-3: 0 24px 48px -12px rgba(51, 65, 85, 0.16);
    --vc-ring: 0 0 0 3px rgba(214, 180, 80, 0.4);

    --vc-r-sm: 6px;
    --vc-r: 8px;
    --vc-r-md: 12px;
    --vc-r-lg: 16px;
    --vc-r-xl: 24px;

    --vc-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --vc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --vc-header-h: 64px;
    --vc-max: 1440px;
    --vc-gutter: 40px;
}

/* ---------------------------------------------------------------------
   TEMEL
   --------------------------------------------------------------------- */
body.vc-body {
    --bs-body-font-family: var(--vc-font-body);
    --bs-body-bg: var(--vc-bg);
    --bs-body-color: var(--vc-on-surface);
    --bs-primary: var(--vc-emerald);
    --bs-primary-rgb: 226, 193, 100;
    --bs-link-color: var(--vc-primary);
    --bs-link-hover-color: var(--vc-emerald-deep);
    font-family: var(--vc-font-body);
    font-size: 14px;
    line-height: 22px;
    color: var(--vc-on-surface);
    background: var(--vc-bg) !important;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    height: auto !important;
    display: flex;
    flex-direction: column;
    margin: 0;
}

html:has(> body.vc-body) { height: auto !important; }

.vc-body h1, .vc-body h2, .vc-body h3, .vc-body h4, .vc-body h5, .vc-body h6 {
    font-family: var(--vc-font-head);
    color: var(--vc-on-surface);
    letter-spacing: -0.01em;
}

.vc-body a {
    color: inherit;
    text-decoration: none;
}

.vc-body ::selection {
    background: var(--vc-mint-2);
    color: var(--vc-on-primary-container);
}

/* Katalog kartları eski tipografisini korur */
#cardArea .PageCard {
    font-family: Poppins, Helvetica, sans-serif;
}

/* Material Symbols */
.ms {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    vertical-align: middle;
    user-select: none;
    flex-shrink: 0;
}

.ms--fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.ms--xs { font-size: 14px; }
.ms--sm { font-size: 16px; }
.ms--md { font-size: 18px; }
.ms--lg { font-size: 24px; }
.ms--xl { font-size: 32px; }

/* ---------------------------------------------------------------------
   YERLEŞİM
   --------------------------------------------------------------------- */
.vc-container {
    width: 100%;
    max-width: var(--vc-max);
    margin: 0 auto;
    padding-left: var(--vc-gutter);
    padding-right: var(--vc-gutter);
}

.vc-container--narrow { max-width: 1040px; }

.vc-main {
    flex: 1 0 auto;
    padding-top: calc(var(--vc-header-h) + 24px);
    padding-bottom: 48px;
}

.vc-stack { display: flex; flex-direction: column; gap: 24px; }
.vc-stack--sm { gap: 12px; }
.vc-stack--lg { gap: 40px; }

@media (max-width: 1023.98px) {
    :root { --vc-gutter: 24px; }
}

@media (max-width: 767.98px) {
    :root { --vc-gutter: 16px; }
    .vc-main { padding-top: calc(var(--vc-header-h) + 16px); padding-bottom: 32px; }
}

/* ---------------------------------------------------------------------
   ÜST MENÜ (HEADER)
   --------------------------------------------------------------------- */
.vc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--vc-header-h);
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.vc-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.vc-header__left {
    display: flex;
    align-items: center;
    gap: 32px;
    min-width: 0;
}

.vc-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.vc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* BAYKA logosu (img/brand/bayka.svg, ~4.3:1; amblem solda, BAYKA / KAPAK SİSTEMLERİ sağda) yataydır:
   yükseklik sabit, genişlik orana göre. Alt yazı küçük kalmasın diye FSD işaretinden (28 px) yüksek. */
.vc-brand img {
    width: auto;
    height: 40px;
    flex-shrink: 0;
    display: block;
}

.vc-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.vc-brand__name {
    font-family: var(--vc-font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--vc-primary);
    white-space: nowrap;
}

.vc-brand__sub {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vc-muted);
    white-space: nowrap;
}

.vc-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vc-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--vc-r);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--vc-on-surface-variant);
    background: transparent;
    border: 0;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
    cursor: pointer;
}

.vc-nav__link:hover,
.vc-nav__link:focus-visible,
.vc-nav .show > .vc-nav__link {
    color: var(--vc-on-surface);
    background: var(--vc-surface-high);
}

.vc-nav__link.is-active {
    background: var(--vc-emerald);
    color: var(--vc-on-primary-container);
}

.vc-nav__link .ms { font-size: 18px; }
.vc-nav__link .vc-caret { font-size: 18px; margin-right: -4px; opacity: .7; }

.vc-header-search {
    position: relative;
    width: 240px;
}

.vc-header-search .ms {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--vc-outline);
    pointer-events: none;
}

.vc-header-search input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 36px;
    border-radius: var(--vc-r);
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(214, 180, 80, 0.2);
    font-size: 13px;
    color: var(--vc-on-surface);
    transition: box-shadow .15s ease;
}

.vc-header-search input::placeholder { color: var(--vc-outline); }
.vc-header-search input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px rgba(214, 180, 80, 0.35); }

.vc-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--vc-on-surface-variant);
    background: transparent;
    border: 0;
    transition: background-color .15s ease, color .15s ease;
    cursor: pointer;
}

.vc-icon-btn:hover { background: var(--vc-surface-high); color: var(--vc-on-surface); }

.vc-icon-btn__dot {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--vc-emerald);
    box-shadow: 0 0 0 2px #fff;
}

.vc-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: rgba(245, 244, 240, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 0;
    cursor: pointer;
    transition: background-color .15s ease;
}

.vc-user:hover { background: var(--vc-surface-container); }

.vc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--vc-mint-2);
    color: var(--vc-on-primary-container);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--vc-font-head);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.vc-avatar--lg { width: 44px; height: 44px; font-size: 17px; }
.vc-avatar--xl { width: 88px; height: 88px; font-size: 32px; }

.vc-user__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.vc-user__name { font-size: 12.5px; font-weight: 600; color: var(--vc-on-surface); }
.vc-user__role { font-size: 11px; color: var(--vc-muted); }

.vc-burger { display: none; }

/* Mobil çekmece menü */
.vc-drawer {
    position: fixed;
    inset: 0;
    z-index: 1040;
    visibility: hidden;
    pointer-events: none;
}

.vc-drawer.is-open { visibility: visible; pointer-events: auto; }

.vc-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(51, 65, 85, 0.25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .2s ease;
}

.vc-drawer.is-open .vc-drawer__scrim { opacity: 1; }

.vc-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    box-shadow: var(--vc-shadow-3);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
}

.vc-drawer.is-open .vc-drawer__panel { transform: translateX(0); }

.vc-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vc-drawer__label {
    margin: 16px 8px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vc-outline);
}

.vc-drawer .vc-nav__link { width: 100%; justify-content: flex-start; }

/* Üst çubuk araması: yöneticinin menüsü kalabalık olduğundan 1280 px altında gizlenir;
   ziyaretçide menü hafif, arama menü çekmeceye dönene (1100 px) kadar görünür.
   Daha dar ekranlarda arama mobil menü çekmecesindedir. */
/* Firma logosu geniş (FSD işaretinin 3-4 katı): yönetici araması 1400 px altında gizlenir. */
@media (max-width: 1399.98px) {
    .vc-header--admin .vc-header-search { display: none; }
}

/* Yönetici menüsü kalabalık: firma logosu zaten adı taşıdığından yanındaki
   "Model Kütüphanesi / FİRMA · 3D KATALOG" yazısı gösterilmez (menü taşmasın). */
.vc-header--admin .vc-brand__text { display: none; }

/* BAYKA logosu (~4.3:1, 40 px yükseklikte 171 px): telefonda yanındaki yazı gizlenir, dar telefonda
   logo küçülür (menü düğmesine binmesin); mobil menü çekmecesinde logo üstte, "Model Kütüphanesi" altında. */
@media (max-width: 767.98px) {
    .vc-header .vc-brand__text { display: none; }
}
@media (max-width: 399.98px) {
    .vc-header .vc-brand img { height: 34px; }
}
.vc-drawer__head .vc-brand { flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.vc-drawer__head .vc-brand img { height: 36px; max-width: 100%; }

@media (max-width: 1099.98px) {
    .vc-header-search { display: none; }
    .vc-nav { display: none; }
    .vc-burger { display: inline-flex; }
    .vc-user__meta { display: none; }
    .vc-user { padding-right: 4px; }
}

@media (max-width: 575.98px) {
    .vc-header__right > .vc-btn { display: none; }
    .vc-header__left { min-width: 0; flex: 1; }
    .vc-brand { min-width: 0; }
    .vc-brand__text { min-width: 0; }
    .vc-brand__name, .vc-brand__sub { overflow: hidden; text-overflow: ellipsis; }
}

/* Açılır menüler (Bootstrap dropdown) */
.vc-body .dropdown-menu {
    border: 0;
    border-radius: var(--vc-r-md);
    padding: 6px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--vc-shadow-2), 0 0 0 1px var(--vc-hairline);
    font-size: 13.5px;
}

.vc-body .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--vc-r);
    font-weight: 500;
    color: var(--vc-slate);
    transition: background-color .12s ease, color .12s ease;
}

.vc-body .dropdown-item .ms { font-size: 18px; color: var(--vc-outline); }

.vc-body .dropdown-item:hover,
.vc-body .dropdown-item:focus,
.vc-body .dropdown-item.active {
    background: var(--vc-mint);
    color: var(--vc-emerald-deep);
}

.vc-body .dropdown-item:hover .ms,
.vc-body .dropdown-item.active .ms { color: var(--vc-emerald-deep); }

.vc-body .dropdown-divider { border-color: var(--vc-hairline); margin: 6px 4px; }

.vc-body .dropdown-header {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vc-outline);
    padding: 8px 12px 4px;
}

.vc-body .dropdown-item-text { padding: 8px 12px; font-size: 12.5px; color: var(--vc-muted); }

.vc-menu-badge {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--vc-surface-low);
    color: var(--vc-muted);
    font-size: 11px;
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   ALT BİLGİ (FOOTER)
   --------------------------------------------------------------------- */
.vc-footer {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.02);
}

.vc-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
    flex-wrap: wrap;
}

.vc-footer__brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vc-footer__name { font-family: var(--vc-font-head); font-weight: 700; font-size: 16px; color: var(--vc-primary); }
.vc-footer__tag { font-size: 12px; color: var(--vc-outline); }

.vc-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12.5px; font-weight: 500; color: var(--vc-on-surface-variant); }
.vc-footer__nav a:hover { color: var(--vc-on-surface); }

.vc-footer__copy { font-size: 12px; color: var(--vc-outline); display: inline-flex; align-items: center; gap: 6px; }
.vc-footer__copy img { height: 16px; width: auto; opacity: .85; }

@media (max-width: 767.98px) {
    .vc-footer__inner { flex-direction: column; text-align: center; padding-top: 24px; padding-bottom: 24px; }
}

/* ---------------------------------------------------------------------
   YÜZEYLER
   --------------------------------------------------------------------- */
.vc-card {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--vc-r-lg);
    box-shadow: var(--vc-shadow-1);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.vc-card--solid { background: #fff; }
.vc-card--pad { padding: 24px; }
.vc-card--pad-sm { padding: 16px; }
.vc-card--hero { border-radius: var(--vc-r-xl); }
.vc-card--elevated { box-shadow: var(--vc-shadow-2); }

.vc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--vc-hairline);
    flex-wrap: wrap;
}

.vc-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--vc-font-head);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--vc-on-surface);
}

.vc-card__title .ms { color: var(--vc-emerald-deep); font-size: 20px; }
.vc-card__body { padding: 24px; }
.vc-card__foot { padding: 16px 24px; border-top: 1px solid var(--vc-hairline); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.vc-soft {
    background: var(--vc-surface-low);
    border-radius: var(--vc-r-md);
    padding: 16px;
}

.vc-divider { height: 1px; background: var(--vc-hairline); border: 0; margin: 0; }

/* ---------------------------------------------------------------------
   SAYFA BAŞLIĞI
   --------------------------------------------------------------------- */
.vc-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.vc-page-head__title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.vc-page-head h1 {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.vc-page-head__sub { margin: 4px 0 0; color: var(--vc-muted); font-size: 13.5px; }
.vc-page-head__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.vc-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vc-outline);
}

.vc-section-title {
    margin: 0;
    font-family: var(--vc-font-head);
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.vc-section-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--vc-muted); }

/* Yol haritası */
.vc-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--vc-on-surface-variant);
}

.vc-crumbs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border-radius: var(--vc-r-sm);
    transition: color .15s ease, background-color .15s ease;
}

.vc-crumbs a:hover { color: var(--vc-emerald-deep); background: rgba(214, 180, 80, 0.06); }
.vc-crumbs__sep { color: var(--vc-outline-variant); padding: 0 2px; user-select: none; }
.vc-crumbs__current { color: var(--vc-on-surface); font-weight: 600; padding: 4px 6px; }

/* ---------------------------------------------------------------------
   BUTONLAR
   --------------------------------------------------------------------- */
.vc-btn {
    --vc-btn-h: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--vc-btn-h);
    padding: 0 16px;
    border-radius: var(--vc-r);
    border: 1px solid transparent;
    font-family: var(--vc-font-body);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.005em;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease, transform .1s ease;
}

.vc-btn:active { transform: scale(0.98); }
.vc-btn:focus-visible { outline: none; box-shadow: var(--vc-ring); }
.vc-btn[disabled], .vc-btn.is-disabled { opacity: .55; pointer-events: none; }
.vc-btn .ms { font-size: 18px; }

.vc-btn--sm { --vc-btn-h: 32px; padding: 0 12px; font-size: 12.5px; border-radius: var(--vc-r); }
.vc-btn--sm .ms { font-size: 16px; }
.vc-btn--lg { --vc-btn-h: 48px; padding: 0 22px; font-size: 15px; }
.vc-btn--block { width: 100%; }
.vc-btn--icon { width: var(--vc-btn-h); padding: 0; }

.vc-btn--primary {
    background: var(--vc-emerald);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.vc-btn--primary:hover { background: var(--vc-emerald-deep); color: #fff; box-shadow: 0 4px 14px rgba(214, 180, 80, 0.3); }

.vc-btn--deep {
    background: var(--vc-primary);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(58, 44, 0, 0.15);
}

.vc-btn--deep:hover { background: var(--vc-primary-hover); color: #fff; box-shadow: 0 6px 18px rgba(66, 66, 66, 0.28); }

.vc-btn--secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--vc-slate);
    border-color: var(--vc-hairline-emerald);
    box-shadow: 0 1px 2px rgba(13, 28, 47, 0.04);
}

.vc-btn--secondary:hover { background: var(--vc-mint); color: var(--vc-emerald-deep); }

.vc-btn--tonal {
    background: rgba(244, 227, 156, 0.3);
    color: var(--vc-on-secondary-container);
}

.vc-btn--tonal:hover { background: rgba(244, 227, 156, 0.6); color: var(--vc-on-primary-container); }

.vc-btn--neutral {
    background: var(--vc-surface-low);
    color: var(--vc-on-surface-variant);
}

.vc-btn--neutral:hover { background: var(--vc-surface-high); color: var(--vc-on-surface); }

.vc-btn--ghost { background: transparent; color: var(--vc-muted); }
.vc-btn--ghost:hover { background: rgba(214, 180, 80, 0.06); color: var(--vc-emerald-deep); }

.vc-btn--danger { background: var(--vc-error-container); color: var(--vc-on-error-container); }
.vc-btn--danger:hover { background: #ffb4ab; color: var(--vc-on-error-container); }

.vc-btn--warn { background: var(--vc-warning-container); color: #92400e; }
.vc-btn--warn:hover { background: #fde68a; color: #78350f; }

.vc-link {
    color: var(--vc-tertiary);
    font-weight: 600;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vc-link:hover { text-decoration: underline; color: var(--vc-tertiary); }

/* ---------------------------------------------------------------------
   ROZET / ÇİP
   --------------------------------------------------------------------- */
.vc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 18px;
    white-space: nowrap;
    background: rgba(244, 227, 156, 0.5);
    color: var(--vc-on-secondary-container);
}

.vc-badge .ms { font-size: 14px; }
.vc-badge--mint { background: var(--vc-mint); color: var(--vc-emerald-deep); box-shadow: inset 0 0 0 1px rgba(214, 180, 80, 0.2); }
.vc-badge--neutral { background: rgba(51, 65, 85, 0.05); color: var(--vc-muted); box-shadow: inset 0 0 0 1px rgba(51, 65, 85, 0.06); }
.vc-badge--danger { background: var(--vc-error-container); color: var(--vc-on-error-container); }
.vc-badge--warn { background: var(--vc-warning-container); color: #92400e; }
.vc-badge--info { background: #e0ecff; color: #1d4ed8; box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.15); }
.vc-badge--dark { background: #16202c; color: #fff; }
.vc-badge--square { border-radius: var(--vc-r-sm); }

.vc-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--vc-emerald); display: inline-block; flex-shrink: 0; }
.vc-dot--danger { background: var(--vc-error); }
.vc-dot--pulse { animation: vc-pulse 1.6s ease-in-out infinite; }

@keyframes vc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.vc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: var(--vc-surface-low);
    color: var(--vc-on-surface-variant);
    border: 0;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    transition: background-color .15s ease, color .15s ease;
}

.vc-chip:hover { background: rgba(244, 227, 156, 0.4); color: var(--vc-on-secondary-container); }
.vc-chip .ms { font-size: 15px; }

.vc-chip input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.vc-chip.is-active,
.vc-chip:has(input:checked) {
    background: var(--vc-primary);
    color: #fff;
    font-weight: 600;
}

.vc-chip--square { border-radius: var(--vc-r-sm); padding: 0 10px; }

.vc-chip--square.is-active,
.vc-chip--square:has(input:checked) {
    background: rgba(244, 227, 156, 0.35);
    color: var(--vc-on-secondary-container);
}

.vc-chip--square .vc-chip__on { display: none; color: var(--vc-primary); }
.vc-chip--square:has(input:checked) .vc-chip__on { display: inline-block; }
.vc-chip--square:has(input:checked) .vc-chip__off { display: none; }

/* ---------------------------------------------------------------------
   FORM
   --------------------------------------------------------------------- */
.vc-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vc-slate);
}

.vc-label small { font-weight: 500; color: var(--vc-muted); }
.vc-req { color: var(--vc-error); }

.vc-help { margin-top: 6px; font-size: 12px; color: var(--vc-muted); }

.vc-input,
.vc-select,
.vc-textarea {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--vc-r);
    border: 1px solid rgba(51, 65, 85, 0.12);
    background: #fff;
    color: var(--vc-slate);
    font-family: var(--vc-font-body);
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.vc-textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 22px; resize: vertical; }

.vc-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c7a71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.vc-input::placeholder, .vc-textarea::placeholder { color: var(--vc-placeholder); }

.vc-input:focus, .vc-select:focus, .vc-textarea:focus {
    outline: none;
    border-color: var(--vc-emerald);
    box-shadow: var(--vc-ring);
}

.vc-input--soft, .vc-select--soft {
    background-color: var(--vc-surface-low);
    border-color: transparent;
    box-shadow: 0 0 0 1px rgba(214, 180, 80, 0.12);
}

.vc-input--soft:focus, .vc-select--soft:focus { background-color: #fff; border-color: transparent; box-shadow: 0 0 0 2px rgba(214, 180, 80, 0.35); }

.vc-input--sm, .vc-select--sm { height: 36px; font-size: 13px; }

.vc-field { position: relative; }

.vc-field > .ms {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vc-outline);
    font-size: 18px;
    pointer-events: none;
}

.vc-field > .vc-input,
.vc-field > .vc-select { padding-left: 40px; }

/* Süzgeç açılır menüsü (verdant.js data-vc-filter-menu): kapalıyken .vc-select gibi görünür,
   açılan liste katalogdaki menülerle aynıdır — yerel <select> listesi biçimlendirilemez. */
.vc-dd__btn { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-dd__btn[aria-expanded="true"] { background-color: #fff; box-shadow: 0 0 0 2px rgba(214, 180, 80, 0.35); }
.vc-body .vc-dd__menu {
    min-width: 240px;
    max-height: min(520px, 70vh);
    overflow-y: auto;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px -8px rgba(13, 28, 47, 0.18), 0 0 0 1px var(--vc-hairline);
    z-index: 1060;
}
.vc-body .vc-dd__menu .dropdown-header { padding: 8px 12px 6px; }
.vc-body .vc-dd__menu .dropdown-item { padding: 9px 12px; font-size: 13.5px; text-align: left; }
.vc-body .vc-dd__menu .dropdown-item.active { font-weight: 600; }
.vc-body .vc-dd__menu .dropdown-item.active .vc-menu-badge { background: #fff; color: var(--vc-emerald-deep); }
.vc-body .vc-dd__menu .dropdown-item.active::after {
    content: "check";
    margin-left: 2px;
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    color: var(--vc-emerald-deep);
}

.vc-field__action {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: var(--vc-r-sm);
    border: 0;
    background: transparent;
    color: var(--vc-outline);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vc-field__action:hover { color: var(--vc-on-surface); background: var(--vc-surface-low); }
.vc-field--action > .vc-input { padding-right: 42px; }

.vc-input-group { display: flex; align-items: stretch; }
.vc-input-group__addon {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(51, 65, 85, 0.12);
    border-right: 0;
    border-radius: var(--vc-r) 0 0 var(--vc-r);
    background: var(--vc-surface-low);
    color: var(--vc-muted);
    font-weight: 600;
}
.vc-input-group > .vc-input { border-radius: 0 var(--vc-r) var(--vc-r) 0; }

/* Onay kutusu / radyo */
.vc-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--vc-slate);
}

.vc-check input[type="checkbox"],
.vc-check input[type="radio"],
input.vc-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.vc-check input[type="radio"] { border-radius: 999px; }

.vc-check input[type="checkbox"]::before,
input.vc-checkbox::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: transform .12s ease;
    background: #fff;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.vc-check input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transform: scale(0);
    transition: transform .12s ease;
    background: #fff;
}

.vc-check input:checked,
input.vc-checkbox:checked { background: var(--vc-emerald); border-color: var(--vc-emerald); }
.vc-check input:checked::before,
input.vc-checkbox:checked::before { transform: scale(1); }
.vc-check input:focus-visible,
input.vc-checkbox:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.2); }

/* Anahtar */
.vc-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--vc-slate);
}

.vc-switch input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 40px;
    height: 22px;
    margin: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .15s ease;
}

.vc-switch input::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(13, 28, 47, 0.2);
    transition: transform .15s ease;
}

.vc-switch input:checked { background: var(--vc-emerald); }
.vc-switch input:checked::after { transform: translateX(18px); }
.vc-switch input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.2); }

.vc-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--vc-r);
    background: var(--vc-surface-low);
}

/* Segment kontrol */
.vc-segment {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: var(--vc-r);
    background: var(--vc-surface-low);
}

.vc-segment__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 10px;
    border-radius: var(--vc-r-sm);
    border: 0;
    background: transparent;
    color: var(--vc-on-surface-variant);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.vc-segment__btn:hover { color: var(--vc-on-surface); }
.vc-segment__btn .ms { font-size: 18px; }

.vc-segment__btn.active,
.vc-segment__btn.is-active {
    background: #fff;
    color: var(--vc-primary);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(13, 28, 47, 0.08);
}

.vc-segment__label { display: none; }
.vc-segment__btn.active .vc-segment__label { display: inline; }

.vc-chip:focus-within { box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.25); }

/* Aralık */
.vc-body input[type="range"].vc-range { accent-color: var(--vc-emerald); width: 100%; }

/* Dosya seçici */
.vc-file {
    display: block;
    width: 100%;
    font-size: 13px;
    color: var(--vc-muted);
    border: 1px dashed rgba(214, 180, 80, 0.35);
    border-radius: var(--vc-r);
    background: rgba(254, 251, 239, 0.5);
    padding: 8px;
}

.vc-file::file-selector-button {
    margin-right: 12px;
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--vc-r-sm);
    background: var(--vc-emerald);
    color: #fff;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
}

.vc-file::file-selector-button:hover { background: var(--vc-emerald-deep); }

/* ---------------------------------------------------------------------
   UYARI KUTULARI
   --------------------------------------------------------------------- */
.vc-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--vc-r-md);
    font-size: 13px;
    line-height: 20px;
}

.vc-alert > .ms { font-size: 20px; margin-top: 1px; }
.vc-alert__title { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.vc-alert p { margin: 0; }

.vc-alert--danger { background: #fdecec; color: #5f1b1b; }
.vc-alert--danger > .ms, .vc-alert--danger .vc-alert__title { color: var(--vc-error); }
.vc-alert--warn { background: #fff8e6; color: #5c3b06; }
.vc-alert--warn > .ms, .vc-alert--warn .vc-alert__title { color: var(--vc-warning); }
.vc-alert--success { background: var(--vc-mint); color: var(--vc-on-primary-container); }
.vc-alert--success > .ms, .vc-alert--success .vc-alert__title { color: var(--vc-emerald-deep); }
.vc-alert--info { background: var(--vc-surface-low); color: var(--vc-slate); }
.vc-alert--info > .ms, .vc-alert--info .vc-alert__title { color: var(--vc-tertiary); }

/* ---------------------------------------------------------------------
   TABLO
   --------------------------------------------------------------------- */
.vc-table-wrap {
    width: 100%;
    overflow: auto;
}

.vc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
    color: var(--vc-slate);
}

.vc-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 16px;
    background: rgba(250, 250, 248, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vc-muted);
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--vc-hairline);
}

.vc-table thead th[data-sort] { cursor: pointer; user-select: none; }
.vc-table thead th[data-sort]:hover { color: var(--vc-on-surface); }
.vc-table thead th .vc-sort-ico { font-size: 14px; opacity: .45; margin-left: 2px; }
.vc-table thead th.is-sorted .vc-sort-ico { opacity: 1; color: var(--vc-emerald-deep); }

.vc-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.05);
    vertical-align: middle;
}

.vc-table tbody tr { transition: background-color .12s ease; }
.vc-table tbody tr:hover { background: var(--vc-mint); }
.vc-table tbody tr:last-child td { border-bottom: 0; }

.vc-table .is-center { text-align: center; }
.vc-table .is-right { text-align: right; }
.vc-table .is-nowrap { white-space: nowrap; }
.vc-table .vc-cell-strong { font-weight: 600; color: var(--vc-on-surface); }
.vc-table .vc-cell-sub { display: block; font-size: 12px; color: var(--vc-muted); margin-top: 2px; }

.vc-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--vc-r);
    object-fit: cover;
    background: var(--vc-surface-low);
    cursor: zoom-in;
    transition: transform .2s ease;
    display: block;
}

.vc-thumb:hover { transform: scale(1.06); }

.vc-swatch {
    width: 44px;
    height: 44px;
    border-radius: var(--vc-r);
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(13, 28, 47, 0.08), 0 1px 3px rgba(13, 28, 47, 0.06);
    display: inline-block;
}

.vc-row-actions { display: inline-flex; gap: 6px; }

.vc-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--vc-muted);
}

.vc-empty .ms { font-size: 40px; color: var(--vc-outline-variant); display: block; margin: 0 auto 8px; }

/* ---------------------------------------------------------------------
   MODAL (Bootstrap)
   --------------------------------------------------------------------- */
.vc-body .modal-backdrop.show { opacity: 1; background: rgba(51, 65, 85, 0.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vc-body .modal-backdrop { background: rgba(51, 65, 85, 0.25); }

.vc-body .modal-content {
    border: 0;
    border-radius: var(--vc-r-xl);
    background: #fff;
    box-shadow: var(--vc-shadow-3);
    overflow: hidden;
}

.vc-body .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--vc-hairline);
    align-items: center;
}

.vc-body .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--vc-font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--vc-on-surface);
}

.vc-body .modal-title .ms { color: var(--vc-emerald-deep); }
.vc-body .modal-body { padding: 24px; }
.vc-body .modal-footer { padding: 16px 24px; border-top: 1px solid var(--vc-hairline); gap: 8px; background: rgba(250, 250, 248, 0.6); }
.vc-body .modal-footer > * { margin: 0; }

.vc-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: var(--vc-surface-low);
    color: var(--vc-on-surface-variant);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    transition: background-color .15s ease, color .15s ease;
}

.vc-modal-close:hover { background: var(--vc-error-container); color: var(--vc-on-error-container); }

/* ---------------------------------------------------------------------
   SELECT2 & SWEETALERT2 & QUILL (Metronic eklentileri)
   --------------------------------------------------------------------- */
.vc-body .select2-container .select2-selection--single,
.vc-body .select2-container .select2-selection--multiple {
    min-height: 42px;
    border-radius: var(--vc-r) !important;
    border: 1px solid rgba(51, 65, 85, 0.12) !important;
    background-color: #fff !important;
    box-shadow: none;
    font-size: 14px;
    color: var(--vc-slate);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.vc-body .select2-container .select2-selection--single { display: flex; align-items: center; }
.vc-body .select2-container .select2-selection--single .select2-selection__rendered { color: var(--vc-slate); font-weight: 500; }
.vc-body .select2-container .select2-selection__placeholder { color: var(--vc-placeholder); font-weight: 400; }

.vc-body .select2-container--focus .select2-selection,
.vc-body .select2-container--open .select2-selection {
    border-color: var(--vc-emerald) !important;
    box-shadow: var(--vc-ring) !important;
}

.vc-body .select2-container .select2-selection--multiple .select2-selection__choice {
    border-radius: 999px !important;
    background: var(--vc-mint) !important;
    color: var(--vc-emerald-deep) !important;
    border: 1px solid rgba(214, 180, 80, 0.2) !important;
    font-size: 12px;
    font-weight: 600;
}

.vc-body .select2-dropdown {
    border: 0 !important;
    border-radius: var(--vc-r-md) !important;
    box-shadow: var(--vc-shadow-2), 0 0 0 1px var(--vc-hairline) !important;
    overflow: hidden;
    padding: 4px;
}

.vc-body .select2-results__option { border-radius: var(--vc-r-sm); font-size: 13.5px; }

.vc-body .select2-container .select2-results__option--highlighted,
.vc-body .select2-container .select2-results__option--highlighted[aria-selected] {
    background: var(--vc-mint) !important;
    color: var(--vc-emerald-deep) !important;
}

.vc-body .select2-container .select2-results__option--selected,
.vc-body .select2-container .select2-results__option[aria-selected="true"] {
    background: var(--vc-emerald) !important;
    color: #fff !important;
}

.vc-body .select2-search__field { border-radius: var(--vc-r-sm) !important; }

.vc-body .swal2-popup { border-radius: var(--vc-r-xl); font-family: var(--vc-font-body); padding: 28px 24px 24px; }
.vc-body .swal2-title { font-family: var(--vc-font-head); font-weight: 600; color: var(--vc-on-surface); font-size: 22px; }
.vc-body .swal2-html-container { color: var(--vc-on-surface-variant); font-size: 14px; }

.vc-body .swal2-styled { border-radius: var(--vc-r) !important; font-weight: 600 !important; font-size: 14px !important; padding: 10px 20px !important; }
.vc-body .swal2-styled.swal2-confirm { background: var(--vc-emerald) !important; box-shadow: none !important; }
.vc-body .swal2-styled.swal2-confirm:hover { background: var(--vc-emerald-deep) !important; }
.vc-body .swal2-styled.swal2-cancel { background: var(--vc-surface-low) !important; color: var(--vc-on-surface-variant) !important; }
.vc-body .swal2-actions .btn.btn-primary { background: var(--vc-emerald); border-color: var(--vc-emerald); border-radius: var(--vc-r); }

.vc-body .ql-toolbar.ql-snow { border: 1px solid rgba(51, 65, 85, 0.12); border-radius: var(--vc-r) var(--vc-r) 0 0; background: var(--vc-surface-low); }
.vc-body .ql-container.ql-snow { border: 1px solid rgba(51, 65, 85, 0.12); border-top: 0; border-radius: 0 0 var(--vc-r) var(--vc-r); background: #fff; font-family: var(--vc-font-body); font-size: 14px; }

/* Tagify (FSD etiketleri) */
.vc-body .tagify {
    --tags-border-color: rgba(51, 65, 85, 0.12);
    --tags-hover-border-color: rgba(51, 65, 85, 0.2);
    --tags-focus-border-color: var(--vc-emerald);
    --tag-bg: var(--vc-mint);
    --tag-hover: var(--vc-mint-2);
    --tag-text-color: var(--vc-emerald-deep);
    border-radius: var(--vc-r);
    min-height: 42px;
    background: #fff;
}

/* Tooltip */
.vc-body .tooltip-inner { background: var(--vc-on-surface); border-radius: var(--vc-r-sm); font-size: 12px; padding: 6px 10px; }

/* ---------------------------------------------------------------------
   YÜKLEYİCİ
   --------------------------------------------------------------------- */
.loader-containerLib {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(250, 250, 248, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.loaderLib {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 999px;
    border: 4px solid var(--vc-mint-2);
    border-top-color: var(--vc-emerald);
    animation: vc-spin .8s linear infinite;
    box-shadow: 0 8px 24px rgba(214, 180, 80, 0.18);
}

@keyframes vc-spin { to { transform: rotate(360deg); } }

.vc-dots { width: 100%; text-align: center; padding: 20px 0; }
.vc-dots .dot, #loading .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    background-color: var(--vc-emerald);
    border-radius: 50%;
    animation: vc-bounce 1.4s infinite ease-in-out both;
}

#loading .dot:nth-child(2) { animation-delay: .2s; }
#loading .dot:nth-child(3) { animation-delay: .4s; }

@keyframes vc-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Yukarı çık butonu */
.vc-totop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1020;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: var(--vc-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(66, 66, 66, 0.3);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    cursor: pointer;
}

.vc-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------------------------------------------------------------
   KATALOG — FİLTRE / ARAMA ÇUBUĞU (catalog.js)
   --------------------------------------------------------------------- */
.cat-bar {
    position: relative;
    z-index: 20; /* açılır menüler kartların üstünde kalsın */
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
}

/* Başlık solda; Filtreler / Sıralama / Görünüm aynı satırda sağda. Sığmazsa alt satıra iner. */
.cat-bar__top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.cat-bar__title { margin: 0; font-size: 26px; line-height: 34px; font-weight: 600; letter-spacing: -0.02em; }
.cat-bar__count { margin: 2px 0 0; font-size: 13.5px; color: var(--vc-muted); }
.cat-bar__count strong { color: var(--vc-emerald-deep); font-weight: 700; }

.cat-bar__controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 1 1 auto; min-width: 0; }

.cat-bar__controls > .vc-btn,
.cat-bar__controls .cat-dd__btn { --vc-btn-h: 48px; border-radius: var(--vc-r-md); }

.cat-badge {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--vc-emerald); color: #fff;
    font-size: 11px; font-weight: 700; line-height: 1;
}
.cat-badge[hidden] { display: none; }
.cat-badge--light { background: rgba(255, 255, 255, 0.25); margin-left: 2px; }

/* Sıralama / görünüm açılır menüleri */
.cat-dd { position: relative; }
.cat-dd__btn { gap: 8px; padding: 0 12px 0 14px; min-width: 0; }
.cat-dd__btn .ms { font-size: 19px; color: var(--vc-outline); }
.cat-dd__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cat-dd__chev { font-size: 18px !important; transition: transform .2s ease; }
.cat-dd__btn[aria-expanded="true"] { background: var(--vc-mint); color: var(--vc-emerald-deep); box-shadow: inset 0 0 0 1.5px var(--vc-emerald); }
.cat-dd__btn[aria-expanded="true"] .ms { color: var(--vc-emerald-deep); }
.cat-dd__btn[aria-expanded="true"] .cat-dd__chev { transform: rotate(180deg); }

.vc-body .cat-dd__menu {
    min-width: 240px;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px -8px rgba(13, 28, 47, 0.18), 0 0 0 1px var(--vc-hairline);
    z-index: 1060;
}
.vc-body .cat-dd__menu .dropdown-header { padding: 8px 12px 6px; }
.vc-body .cat-dd__menu .dropdown-item { width: 100%; border: 0; background: transparent; text-align: left; padding: 9px 12px; font-size: 13.5px; }
.vc-body .cat-dd__menu .dropdown-item.active { background: var(--vc-mint); color: var(--vc-emerald-deep); font-weight: 600; }
.vc-body .cat-dd__menu .dropdown-item.active::after {
    content: "check";
    margin-left: auto;
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    -webkit-font-feature-settings: "liga";
    color: var(--vc-emerald-deep);
}

/* Kategori çipleri (sarılır, kaymaz) */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
    display: inline-flex; align-items: center; gap: 4px;
    height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
    background: var(--vc-surface-low); color: var(--vc-on-surface-variant);
    font: 500 13px var(--vc-font-body); cursor: pointer; white-space: nowrap; flex-shrink: 0;
    box-shadow: inset 0 0 0 1px transparent;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.cat-chip:hover { background: var(--vc-mint); color: var(--vc-emerald-deep); box-shadow: inset 0 0 0 1px rgba(214, 180, 80, 0.25); }
.cat-chip:active { transform: scale(0.97); }
.cat-chip:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.3); }
.cat-chip__check { font-size: 16px; width: 0; overflow: hidden; opacity: 0; transition: width .15s ease, opacity .15s ease; }
.cat-chip.is-on { background: var(--vc-primary); color: #fff; font-weight: 600; box-shadow: 0 4px 12px -4px rgba(66, 66, 66, 0.45); }
.cat-chip.is-on .cat-chip__check { width: 16px; opacity: 1; }
.cat-chip--more { background: transparent; color: var(--vc-tertiary); box-shadow: inset 0 0 0 1px rgba(214, 180, 80, 0.35); }
.cat-chip--more .ms { font-size: 16px; }

/* Aktif filtreler */
.cat-active {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding-top: 14px; border-top: 1px solid var(--vc-hairline);
}
.cat-active[hidden] { display: none; }
.cat-active__label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vc-outline); }
.cat-active__list { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tag {
    display: inline-flex; align-items: center; gap: 6px;
    height: 30px; padding: 0 6px 0 10px; border: 0; border-radius: var(--vc-r);
    background: var(--vc-mint); color: var(--vc-on-primary-container);
    box-shadow: inset 0 0 0 1px rgba(214, 180, 80, 0.25);
    font: 600 12.5px var(--vc-font-body); cursor: pointer;
}
.cat-tag .ms { font-size: 15px; color: var(--vc-emerald-deep); }
.cat-tag__x { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.cat-tag:hover { background: var(--vc-error-container); color: var(--vc-on-error-container); box-shadow: inset 0 0 0 1px rgba(186, 26, 26, 0.2); }
.cat-tag:hover .ms { color: var(--vc-on-error-container); }
.cat-active__reset {
    margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
    border: 0; background: none; color: var(--vc-tertiary);
    font: 600 12.5px var(--vc-font-body); cursor: pointer; padding: 4px 6px; border-radius: 6px;
}
.cat-active__reset .ms { font-size: 17px; }
.cat-active__reset:hover { background: rgba(214, 180, 80, 0.08); }

/* Yükleme çizgisi */
.cat-bar__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; overflow: hidden; border-radius: 0 0 var(--vc-r-lg) var(--vc-r-lg); opacity: 0; transition: opacity .2s ease; }
.cat-bar__progress span { position: absolute; top: 0; bottom: 0; width: 35%; background: linear-gradient(90deg, transparent, var(--vc-emerald), transparent); animation: cat-progress 1s ease-in-out infinite; }
.cat-bar.is-busy .cat-bar__progress { opacity: 1; }
@keyframes cat-progress { from { left: -35%; } to { left: 100%; } }

/* Sonuç alanı */
.cat-results { transition: opacity .2s ease; }
.cat-results.is-loading { opacity: .45; pointer-events: none; }
.cat-sentinel { min-height: 1px; }
.cat-sentinel .vc-dots[hidden] { display: none; }

.cat-empty { padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cat-empty__ico { width: 64px; height: 64px; border-radius: 999px; background: var(--vc-mint); color: var(--vc-emerald-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.cat-empty__ico .ms { font-size: 30px; }
.cat-empty__title { margin: 0; font-size: 18px; }
.cat-empty__text { margin: 0 0 10px; color: var(--vc-muted); }

/* Kompakt yapışkan çubuk */
.cat-sticky {
    position: fixed; left: 0; right: 0; top: calc(var(--vc-header-h) + 8px); z-index: 1025;
    display: flex; justify-content: center; padding: 0 16px;
    pointer-events: none; opacity: 0; transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
}
.cat-sticky.is-visible { opacity: 1; transform: none; }
.cat-sticky.is-visible .cat-sticky__inner { pointer-events: auto; }
.cat-sticky__inner {
    display: flex; align-items: center; gap: 12px; max-width: 760px; width: 100%;
    padding: 8px 8px 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: var(--vc-shadow-2), 0 0 0 1px var(--vc-hairline);
}
.cat-sticky__count { font-size: 13px; color: var(--vc-muted); white-space: nowrap; }
.cat-sticky__count strong { color: var(--vc-emerald-deep); }
.cat-sticky__summary { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--vc-on-surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-sticky__inner .vc-btn { border-radius: 999px; }

/* Filtre paneli */
html.cat-lock { overflow: hidden; }
.cat-drawer { position: fixed; inset: 0; z-index: 1050; visibility: hidden; pointer-events: none; }
.cat-drawer.is-open { visibility: visible; pointer-events: auto; }
.cat-drawer__scrim { position: absolute; inset: 0; background: rgba(51, 65, 85, 0.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.cat-drawer.is-open .cat-drawer__scrim { opacity: 1; }
.cat-drawer__panel {
    position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100vw - 24px));
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--vc-r-xl); box-shadow: var(--vc-shadow-3);
    transform: translateX(calc(100% + 24px)); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    overflow: hidden;
}
.cat-drawer.is-open .cat-drawer__panel { transform: none; }
.cat-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--vc-hairline); }
.cat-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; }
.cat-drawer__title .ms { color: var(--vc-emerald-deep); }
.cat-drawer__body { flex: 1; overflow-y: auto; padding: 4px 24px 24px; }
.cat-drawer__foot { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--vc-hairline); background: rgba(250, 250, 248, 0.8); }
.cat-drawer__apply { flex: 1; --vc-btn-h: 46px; }
.cat-drawer__foot .vc-btn--neutral { --vc-btn-h: 46px; }
.cat-drawer__apply.is-pending { opacity: .85; }
.cat-drawer__apply.is-empty { background: var(--vc-outline); }

.cat-group { padding: 20px 0; border-bottom: 1px solid var(--vc-hairline); }
.cat-group:last-child { border-bottom: 0; }
.cat-group__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cat-group__title { margin: 0; font-size: 15px; font-weight: 600; }
.cat-group__count { color: var(--vc-emerald-deep); font-weight: 600; }
.cat-group__clear { border: 0; background: none; color: var(--vc-tertiary); font: 600 12.5px var(--vc-font-body); cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.cat-group__clear:hover { background: rgba(214, 180, 80, 0.08); }
.cat-group__clear[hidden] { display: none; }
.cat-group__search { margin-bottom: 12px; }
.cat-group__empty { margin: 8px 0 0; font-size: 13px; color: var(--vc-muted); }

.cat-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-options--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-height: 320px; overflow-y: auto; padding: 2px; }
.cat-option {
    position: relative; display: flex; align-items: center; gap: 10px;
    min-height: 40px; padding: 8px 12px; margin: 0; border-radius: var(--vc-r);
    background: var(--vc-surface-low); color: var(--vc-slate);
    font-size: 13.5px; font-weight: 500; cursor: pointer; user-select: none;
    box-shadow: inset 0 0 0 1px transparent; transition: background-color .12s ease, box-shadow .12s ease;
}
.cat-options:not(.cat-options--grid) .cat-option { padding-right: 14px; }
.cat-option[hidden] { display: none; }
.cat-option:hover { background: var(--vc-mint); }
.cat-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.cat-option__box {
    width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; box-shadow: inset 0 0 0 1.5px #cbd5e1; color: #fff; transition: background-color .12s ease, box-shadow .12s ease;
}
.cat-option__box .ms { font-size: 14px; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .12s ease, transform .12s ease; }
.cat-option__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-option:has(input:checked) { background: var(--vc-mint); box-shadow: inset 0 0 0 1.5px rgba(214, 180, 80, 0.45); color: var(--vc-on-primary-container); font-weight: 600; }
.cat-option input:checked + .cat-option__box { background: var(--vc-emerald); box-shadow: none; }
.cat-option input:checked + .cat-option__box .ms { opacity: 1; transform: none; }
.cat-option input:focus-visible + .cat-option__box { box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.3); }

.cat-sorts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cat-sort {
    position: relative; display: flex; align-items: center; gap: 8px; margin: 0;
    min-height: 44px; padding: 8px 12px; border-radius: var(--vc-r);
    background: var(--vc-surface-low); font-size: 13px; font-weight: 500; color: var(--vc-slate); cursor: pointer;
}
.cat-sort input { position: absolute; opacity: 0; }
.cat-sort .ms { font-size: 18px; color: var(--vc-outline); }
.cat-sort:hover { background: var(--vc-mint); }
.cat-sort:has(input:checked) { background: var(--vc-primary); color: #fff; font-weight: 600; }
.cat-sort:has(input:checked) .ms { color: #fff; }
.cat-sort:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.3); }

@media (max-width: 575.98px) {
    .cat-bar { padding: 16px; gap: 14px; }
    .cat-bar__title { font-size: 21px; line-height: 28px; }
    /* Telefonda başlığın yanına sığmaz: düğmeler başlığın altında tam genişlik satır olur. */
    .cat-bar__controls { flex-basis: 100%; gap: 8px; }
    .cat-bar__controls > .vc-btn, .cat-bar__controls > .cat-dd { flex: 1 1 0; min-width: 0; }
    .cat-bar__controls > .cat-dd > .vc-btn { width: 100%; justify-content: space-between; }
    .cat-bar__controls > .vc-btn { padding: 0 10px; }
    .cat-bar__controls > .cat-dd:last-child { flex: 0 0 auto; }
    .cat-bar__controls > .cat-dd:last-child .cat-dd__label,
    .cat-bar__controls > .cat-dd:last-child .cat-dd__chev { display: none; }
    .cat-dd__btn { padding: 0 10px; font-size: 13px; }
    .cat-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .cat-chips::-webkit-scrollbar { display: none; }
    .cat-options--grid, .cat-sorts { grid-template-columns: 1fr; }
    .cat-drawer__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: var(--vc-r-xl) var(--vc-r-xl) 0 0; transform: translateY(100%); }
    .cat-sticky__summary { display: none; }
    .cat-sticky__inner { justify-content: space-between; }
}

.vc-catalog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--vc-on-surface-variant);
}

.vc-progress {
    width: 180px;
    height: 6px;
    border-radius: 999px;
    background: var(--vc-surface-low);
    overflow: hidden;
}

.vc-progress > span { display: block; height: 100%; background: var(--vc-emerald); border-radius: 999px; transition: width .3s ease; }


/* ---------------------------------------------------------------------
   DETAY SAYFASI
   --------------------------------------------------------------------- */
.vc-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.vc-viewer {
    position: relative;
    overflow: hidden;
    border-radius: var(--vc-r-lg);
    background: #fff;
    box-shadow: var(--vc-shadow-2);
}

.vc-viewer__stage {
    position: relative;
    background:
        radial-gradient(circle at 1px 1px, rgba(51, 65, 85, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
        linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.vc-viewer__bar {
    position: absolute;
    left: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
}

.vc-viewer__bar--top { top: 16px; }
.vc-viewer__bar--bottom { bottom: 16px; }
.vc-viewer__bar > * { pointer-events: auto; }

.vc-glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(13, 28, 47, 0.06);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--vc-on-surface);
}

.vc-glass-pill small { font-weight: 500; color: var(--vc-muted); letter-spacing: 0.02em; font-size: 11.5px; }

.vc-viewer__tools {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: var(--vc-r-md);
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(13, 28, 47, 0.06);
}

.vc-viewer__tool {
    width: 34px;
    height: 34px;
    border-radius: var(--vc-r);
    border: 0;
    background: transparent;
    color: var(--vc-on-surface-variant);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.vc-viewer__tool:hover, .vc-viewer__tool.is-active { background: var(--vc-mint); color: var(--vc-emerald-deep); }

/* Etiketli araç düğmesi ("Işık"); ışık varsayılandan değiştirildiyse küçük bir nokta görünür */
.vc-viewer__tool--label {
    position: relative;
    width: auto;
    gap: 6px;
    padding: 0 12px 0 9px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.vc-viewer__tool--label .ms { color: #f59e0b; }

/* Odanda Gör (AR): yalnızca iOS uygulamasında görünür; dışa aktarılırken soluklaşır */
.vc-viewer__tool[hidden] { display: none; }
.vc-viewer__tool--ar .ms { color: var(--vc-emerald-deep); }
.vc-viewer__tool.is-busy { cursor: progress; opacity: .7; }
.vc-viewer__tool.is-busy .ms { animation: vc-pulse 1.2s ease-in-out infinite; }

/* Favori / Teklife ekle (yalnızca mobil uygulamada; DetailPage.cshtml #vcAppActions) */
.vc-app-actions { display: flex; gap: 10px; }
.vc-app-actions[hidden], .vc-app-actions .vc-btn[hidden] { display: none; }
.vc-app-actions .vc-btn { flex: 1 1 0; justify-content: center; }
.vc-app-actions__fav.is-active { color: #e11d48; }
.vc-app-actions__fav.is-active .ms { color: #e11d48; }

.vc-viewer__tool.is-changed::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 2px #fff;
}

/* Detay sayfası ışık penceresi (davranış: Frontend/src/studio/LightPanel.js) */
.vc-lightpop {
    position: absolute;
    top: 64px;
    right: 16px;
    z-index: 6;
    width: 244px;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 14px;
    border-radius: var(--vc-r-md);
    background: rgba(255, 255, 255, 0.93);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--vc-shadow-3), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    animation: vc-lightpop-in .16s ease-out;
}

.vc-lightpop[hidden] { display: none; }

@keyframes vc-lightpop-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .vc-lightpop { animation: none; }
}

.vc-lightpop__head { align-self: stretch; display: flex; align-items: center; gap: 8px; }

.vc-lightpop__close {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--vc-r-sm);
    background: transparent;
    color: var(--vc-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vc-lightpop__close:hover { background: var(--vc-surface-low); color: var(--vc-on-surface); }
.vc-lightpop__close .ms { font-size: 18px; }

.vc-lightpop .vc-lightpad { width: 148px; height: 148px; }

.vc-lightpop__presets { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-lightpop__presets .vc-segment__btn { justify-content: center; padding: 0 4px; white-space: nowrap; }

.vc-lightpop .vc-lightpanel__slider { align-self: stretch; }
.vc-lightpop__reset { align-self: stretch; justify-content: center; }

@media (max-width: 575.98px) {
    .vc-viewer__tool--label { width: 34px; padding: 0; }
    .vc-viewer__tool-text { display: none; }
}

/* Kullanım ipucu: ziyaretçi sahneyle ilk kez etkileşime girince .is-gone alır ve
   yavaşça kaybolur (DetailPage betiği). Fareyi engellemez; sürükleme ipucunun
   üstünden de başlayabilir. */
.vc-viewer__bar > .vc-viewer__hint { pointer-events: none; }

.vc-viewer__hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--vc-r-md);
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(13, 28, 47, 0.06);
    font-size: 12.5px;
    color: var(--vc-on-surface-variant);
    transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}

.vc-viewer__hint span { display: inline-flex; align-items: center; gap: 6px; }
.vc-viewer__hint .ms { font-size: 16px; color: var(--vc-tertiary); }
.vc-viewer__hint.is-gone { opacity: 0; transform: translateY(8px); visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
    .vc-viewer__hint.is-gone { transform: none; }
}

.vc-viewer:fullscreen { border-radius: 0; }
.vc-viewer:fullscreen #stlPreview { height: 100vh !important; }

/* 3D sahne (Frontend/src/app.js): stüdyo fonu. Tuval şeffaftır; fon yalnızca
   ekranda görünür, alınan PNG'ye girmez. Üstten aydınlanan, köşelere doğru
   hafifçe koyulaşan kâğıt fon modelin arkasındaki gölgeyle derinlik verir. */
#stlPreview {
    background:
        radial-gradient(ellipse 70% 58% at 50% 40%, #ffffff 0%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(180deg, #f8fafd 0%, #eef2f8 58%, #e2e8f1 100%);
    cursor: grab;
}

#stlPreview:active { cursor: grabbing; }
#stlPreview canvas { display: block; outline: none; }

.vc-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.vc-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--vc-r-md);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--vc-shadow-1);
    min-width: 0;
}

.vc-spec__ico {
    width: 36px;
    height: 36px;
    border-radius: var(--vc-r);
    background: var(--vc-surface-low);
    color: var(--vc-tertiary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vc-spec__label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; color: var(--vc-muted); }
.vc-spec__value { display: block; font-family: var(--vc-font-head); font-weight: 600; font-size: 15px; color: var(--vc-on-surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vc-panel {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-model-id {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--vc-r-md);
    background: var(--vc-surface-low);
}

.vc-model-id__ico {
    width: 36px;
    height: 36px;
    border-radius: var(--vc-r);
    background: var(--vc-emerald);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vc-model-id__name {
    margin: 2px 0 0;
    font-family: var(--vc-font-head);
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--vc-on-surface);
    word-break: break-word;
}

.vc-model-id__name em { font-style: normal; color: var(--vc-emerald-deep); }
.vc-model-id__type { display: block; margin-top: 2px; font-family: var(--vc-font-body); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0; color: var(--vc-emerald-deep); }

.vc-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.vc-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--vc-font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--vc-on-surface);
}

.vc-block-title .ms { font-size: 18px; color: var(--vc-tertiary); }
.vc-block-meta { font-size: 11.5px; font-weight: 600; color: var(--vc-tertiary); text-align: right; }
.vc-block-meta--muted { color: var(--vc-muted); font-weight: 500; }

.vc-colors { position: relative; }

.vc-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 8px;
}

.vc-swatch-btn,
.vc-swatch-more {
    position: relative;
    aspect-ratio: 1.45 / 1;
    border-radius: var(--vc-r);
    border: 0;
    padding: 0;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(13, 28, 47, 0.08);
    transition: transform .12s ease, box-shadow .12s ease;
}

.vc-swatch-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(13, 28, 47, 0.12), 0 4px 10px rgba(13, 28, 47, 0.1); }
.vc-swatch-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.35); }

.vc-swatch-btn.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vc-emerald); }

/* Seçili işareti: her renkte okunabilen yeşil rozet */
.vc-swatch-btn.is-active::after,
.vc-color-opt.is-active .vc-color-opt__sw::after {
    content: "check";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vc-emerald);
    color: #fff;
    font-family: "Material Symbols Outlined";
    font-size: 14px;
    font-weight: 700;
    -webkit-font-feature-settings: "liga";
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* "Diğer" kutucuğu */
.vc-swatch-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background-color: var(--vc-surface-low);
    box-shadow: inset 0 0 0 1.5px rgba(214, 180, 80, 0.35);
    color: var(--vc-emerald-deep);
    line-height: 1.1;
}

.vc-swatch-more:hover,
.vc-swatch-more[aria-expanded="true"] { background-color: var(--vc-mint); transform: translateY(-1px); }
.vc-swatch-more__n { font-size: 13px; font-weight: 700; }
.vc-swatch-more__t { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; }

/* "Diğer" penceresi — düğmenin hemen altında açılır */
.vc-color-pop {
    position: absolute;
    z-index: 30;
    display: flex;
    flex-direction: column;
    max-height: min(460px, 70vh);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 48px -10px rgba(13, 28, 47, 0.28), 0 0 0 1px var(--vc-hairline);
    animation: vc-pop-in .16s ease;
}

.vc-color-pop[hidden] { display: none; }

.vc-color-pop::before {
    content: "";
    position: absolute;
    top: -7px;
    left: calc(var(--arrow-x, 50%) - 7px);
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 3px 0 0 0;
    box-shadow: -1px -1px 0 var(--vc-hairline);
}

@keyframes vc-pop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.vc-color-pop__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px 16px; }
.vc-color-pop__title { display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px var(--vc-font-head); }
.vc-color-pop__title .ms { font-size: 19px; color: var(--vc-emerald-deep); }
.vc-color-pop__close { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--vc-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.vc-color-pop__close:hover { background: var(--vc-surface-low); color: var(--vc-on-surface); }
.vc-color-pop__close .ms { font-size: 19px; }

.vc-color-pop__tools { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 10px; }
.vc-color-pop__types { width: 100%; }
.vc-color-pop__types .vc-segment__btn { flex: 1; justify-content: center; }

.vc-color-pop__grid {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 10px 8px;
    padding: 4px 14px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--vc-surface-high) transparent;
}

.vc-color-opt {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: center;
    min-width: 0;
}

.vc-color-opt[hidden] { display: none; }

.vc-color-opt__sw {
    position: relative;
    display: block;
    aspect-ratio: 1.45 / 1;
    border-radius: var(--vc-r);
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(13, 28, 47, 0.08);
    transition: transform .12s ease, box-shadow .12s ease;
}

.vc-color-opt:hover .vc-color-opt__sw { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(13, 28, 47, 0.12), 0 4px 10px rgba(13, 28, 47, 0.12); }
.vc-color-opt.is-active .vc-color-opt__sw { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vc-emerald); }
.vc-color-opt__name { font-size: 11px; line-height: 14px; color: var(--vc-slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-color-opt.is-active .vc-color-opt__name { color: var(--vc-emerald-deep); font-weight: 600; }
.vc-color-opt:focus-visible { outline: none; }
.vc-color-opt:focus-visible .vc-color-opt__sw { box-shadow: 0 0 0 3px rgba(214, 180, 80, 0.35); }

.vc-color-pop__empty { margin: 0; padding: 4px 16px 16px; font-size: 13px; color: var(--vc-muted); }

.vc-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.vc-dim {
    padding: 14px 16px;
    border-radius: var(--vc-r-md);
    background: var(--vc-surface-low);
}

.vc-dim__head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vc-on-surface);
}

.vc-dim__head .ms { font-size: 17px; color: var(--vc-tertiary); }

.vc-dim__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    border-radius: var(--vc-r-sm);
    background: #fff;
    font-size: 12px;
    color: var(--vc-muted);
}

.vc-dim__row + .vc-dim__row { margin-top: 6px; }
.vc-dim__row strong { font-family: var(--vc-font-head); font-size: 16px; font-weight: 600; color: var(--vc-on-surface); }
.vc-dim__row strong small { font-family: var(--vc-font-body); font-size: 11px; font-weight: 500; color: var(--vc-muted); margin-left: 2px; }

.vc-dim__bar { height: 4px; border-radius: 999px; background: var(--vc-surface-high); margin-top: 10px; position: relative; overflow: hidden; }
.vc-dim__bar > span { position: absolute; top: 0; bottom: 0; background: var(--vc-emerald); border-radius: 999px; }

.vc-note {
    padding: 14px 16px;
    border-radius: var(--vc-r-md);
    background: var(--vc-surface-low);
    font-size: 13.5px;
    line-height: 22px;
    color: var(--vc-slate);
    overflow-wrap: anywhere;
}

.vc-note p:last-child { margin-bottom: 0; }
.vc-note img { max-width: 100%; height: auto; border-radius: var(--vc-r); }

.vc-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Benzer modeller */
.vc-rail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.vc-rail-nav { display: inline-flex; gap: 8px; }

.vc-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 12px;
    margin: -4px;
    scrollbar-width: none;
}

.vc-rail::-webkit-scrollbar { display: none; }

.vc-variant {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: var(--vc-r-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--vc-shadow-1);
    transition: box-shadow .25s ease, transform .25s ease;
    color: inherit;
}

.vc-variant:hover { transform: translateY(-3px); box-shadow: var(--vc-shadow-2); color: inherit; }

.vc-variant__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--vc-r-md);
    overflow: hidden;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc-variant__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.vc-variant:hover .vc-variant__media img { transform: scale(1.03); }
/* Katalog kartında tek rozet vardır ve media'nın doğrudan çocuğudur: sağ üstte durur.
   Seçici bilerek "> " ile sınırlı; yönetim kartındaki rozet satırının içindekiler
   (.vc-variant__badges) normal akışta kalsın, üst üste binmesin. */
.vc-variant__media > .vc-badge { position: absolute; top: 10px; right: 10px; }

.vc-variant__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 4px 2px;
}

.vc-variant__name { margin: 0; font-family: var(--vc-font-head); font-size: 16px; font-weight: 600; line-height: 24px; color: var(--vc-on-surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-variant__sub { margin: 0; font-size: 12px; color: var(--vc-outline); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-variant__go { color: var(--vc-outline); flex-shrink: 0; }
.vc-variant:hover .vc-variant__go { color: var(--vc-emerald-deep); }

@media (max-width: 1199.98px) {
    .vc-detail { grid-template-columns: 1fr; }
    .vc-rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}

@media (max-width: 767.98px) {
    .vc-specs { grid-template-columns: 1fr; }
    .vc-dims { grid-template-columns: 1fr; }
    .vc-panel { padding: 16px; }
    .vc-rail { grid-auto-columns: 78%; }
    .vc-viewer__hint .vc-hide-sm { display: none; }
}

/* Sahne yüksekliği. Önceden DetailPage.cshtml'de #stlPreview'in satır içi
   style'ındaydı; oradan alındı çünkü satır içi style aşağıdaki telefon
   kuralını ezerdi.

   KAPSAM: .vc-viewer YALNIZCA detay sayfasında kullanılır. Yönetim varyasyon
   sayfasındaki #stlPreview (.vc-varstudio__canvas içinde) .vc-viewer'in
   dışındadır, yani o sahne bu kurallardan ETKİLENMEZ. */
.vc-viewer #stlPreview { height: 80vh; min-height: 460px; }

/* Yedek tam ekran.
   Gerçek Fullscreen API her ortamda kullanılamıyor: mobil uygulamanın WebView'i
   (Android'de ana uygulamanın onShowCustomView'ı, iOS'ta WKWebView'in kapalı
   olan elementFullscreen ayarı gerekir) ve izin politikası olan çerçeveler bunu
   reddeder. O durumda görüntüleyici CSS ile ekranı kaplar; sonuç görsel olarak
   aynıdır. Sahne kendi kapsayıcısını ResizeObserver ile izlediği için
   (Frontend/src/app.js) tuval boyuta kendiliğinden uyar - mg.bundle.js'e
   dokunulmaz. Davranış: DetailPage.cshtml, #vcFullscreenBtn betiği. */
.vc-viewer--fs {
    position: fixed;
    inset: 0;
    z-index: 1200;
    border-radius: 0;
    box-shadow: none;
}

/* .vc-viewer.vc-viewer--fs (tek sinif degil): asagidaki telefon kurali
   ".vc-viewer #stlPreview" ile AYNI ozgullukte olsaydi, dosyada sonra geldigi
   icin o kazanir ve tam ekranda sahne 300px'te kalirdi. */
.vc-viewer.vc-viewer--fs .vc-viewer__stage,
.vc-viewer.vc-viewer--fs #stlPreview { height: 100%; min-height: 0; }

/* Arka plandaki sayfa kaymasın. */
body.vc-faux-fs { overflow: hidden; }

/* Telefon: sahne ve renkler AYNI EKRANDA görünsün.
   Telefonda sahne 80vh (~650px) olduğu ve renkler sağ panelin ortasında
   kaldığı için kullanıcı renk seçmek isteyince ~1450px aşağı kaydırmak
   zorunda kalıyordu; seçtiği rengin modele etkisini de göremiyordu.
   Sahneyi büyütmek isteyen, sahnenin sağ üstündeki tam ekran düğmesini
   (#vcFullscreenBtn) kullanır. */
@media (max-width: 575.98px) {
    /* 1) Üst şerit iki satırdan TEK satıra iner: yol haritası soldaki boşluğu
          alır ve yatay kaydırılır (katalogdaki .cat-chips ile aynı desen),
          düğmeler sağda sabit kalır. Kazanılan ~46px doğrudan sahneye gider. */
    .vc-detail-head { gap: 10px; flex-wrap: nowrap; align-items: center; }

    .vc-detail-head .vc-crumbs {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        font-size: 12px;
    }

    .vc-detail-head .vc-page-head__actions { flex: 0 0 auto; flex-wrap: nowrap; }

    .vc-detail-head .vc-crumbs::-webkit-scrollbar { display: none; }
    .vc-detail-head .vc-crumbs > * { flex: 0 0 auto; }

    /* 2) Sahne. Ölçüt, paletin TAMAMININ görünmesi DEĞİL (kullanıcı böyle
          istedi): sahne + model adı + ilk iki renk sırası ilk ekranda olsun,
          gerisi kaydırmayla gelsin. 410px tavanı 812px'lik bir ekranda (iPhone X
          sınıfı) bunu verir; 52vh kısa ekranlarda (SE) sahneyi kendiliğinden
          kısar. Daha büyüğünü isteyen sahnenin sağ üstündeki tam ekran
          düğmesini kullanır. */
    .vc-viewer #stlPreview { height: min(52vh, 410px); min-height: 200px; }

    /* Model adı bloğu telefonda sıkışır: kazanılan yükseklik sahneye gider.
       Yalnızca ölçüler küçülür, düzen ve renkler aynı kalır. */
    .vc-model-id { gap: 10px; padding: 10px 12px; }
    .vc-model-id__ico { width: 30px; height: 30px; }
    .vc-model-id__name { font-size: 19px; line-height: 24px; }

    /* 3) Sıralama: sahne → renkler → model bilgisi → özellikler.
          .vc-detail bir grid; soldaki sınıfsız sarmalayıcı display:contents ile
          düzleştirilince .vc-viewer ve .vc-specs de grid öğesi olur ve sağdaki
          panelle birlikte sıralanabilir. Sarmalayıcının kendi stili yoktur.

          NOT: display:contents kutuyu kaldırır ama elemanı DOM'da YERİNDE bırakır.
          Seçiciler DOM ağacına bakar, kutu ağacına değil; bu yüzden viewer ve
          specs için ">" DEĞİL alt seçici kullanılır - grid öğesi olmalarına
          rağmen ikisi hâlâ .vc-detail'in TORUNUDUR. */
    .vc-detail > div:first-child { display: contents; }
    .vc-detail .vc-viewer { order: 1; }
    .vc-detail > .vc-panel { order: 2; }
    .vc-detail .vc-specs { order: 3; margin-top: 0; }

    /* .vc-panel zaten flex column; panelin içi de sıralanır:
       model adı → renkler → (uyarı, ölçüler, ...).
       Renk uyarısı (.vc-alert) bilerek renklerin ALTINA iner: 114px yüksekliğiyle
       araya girseydi palet ekranın dışına taşardı. */
    /* Bloklar arası boşluk daralır: kazanılan yer sahneye gider.
       .vc-detail 24px -> 14px (ekranda iki boşluk), panel dolgusu 16 -> 12. */
    .vc-detail--model { gap: 14px; }
    .vc-panel { gap: 12px; padding: 12px; }
    .vc-panel > .vc-model-id { order: -2; }
    .vc-panel > .vc-colors { order: -1; }
    .vc-panel > .vc-app-actions { order: -1; } /* renklerin hemen altı */
}

/* Kısa telefonlar (iPhone SE sınıfı, ~667px). Yukarıdaki 52vh burada paleti
   tamamen ekranın dışına itiyor - ölçüldü: 0 renk görünüyordu. Sahne biraz
   daha kısılır ki en az bir renk sırası ilk ekranda kalsın.
   Bu kural yukarıdakiyle AYNI özgüllükte, bu yüzden ondan SONRA gelmeli. */
@media (max-width: 575.98px) and (max-height: 700px) {
    .vc-viewer #stlPreview { height: 40vh; }
}

/* ---------------------------------------------------------------------
   YÖNETİM: MODEL EKLE / GÜNCELLE
   --------------------------------------------------------------------- */
.vc-variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.vc-variant--admin { background: #fff; }
.vc-variant--admin:hover { transform: translateY(-2px); }
.vc-variant--admin .vc-variant__media { aspect-ratio: 3 / 4; }

/* Yönetim kartı rozet satırı: media'nın sol üstünde, rozetler yan yana dizilir ve sığmazsa alt satıra sarar. */
.vc-variant--admin .vc-variant__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.vc-variant--admin .vc-variant__badges .vc-badge { position: static; pointer-events: auto; }

.vc-variant__desc {
    margin-top: 4px;
    max-height: 66px;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--vc-muted);
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.vc-variant__desc p { margin: 0 0 4px; }
.vc-variant__desc img { max-width: 100%; max-height: 60px; border-radius: 6px; }

.vc-editor {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 0;
}

.vc-editor__main { padding: 24px; border-right: 1px solid var(--vc-hairline); }
.vc-editor__side { padding: 24px; background: rgba(245, 244, 240, 0.45); display: flex; flex-direction: column; gap: 20px; }

/* ---------------------------------------------------------------------
   YÖNETİM: VARYASYON EKLE / GÜNCELLE SAYFASI (VaryasyonEkleGüncelle.cshtml)
   Eskiden ModelEkleGüncelle içinde modaldı; alanlar sığmadığı için yeni
   sekmede açılan sayfa oldu. Üstte 3D stüdyo (sahne + 1-2-3 adımları),
   altta varyasyon bilgileri ve yapışık kaydet çubuğu.
   --------------------------------------------------------------------- */
.vc-varstudio {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 20px;
    padding: 20px;
    background: var(--vc-surface-low);
}

.vc-varstudio__stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.vc-varstudio__canvas {
    position: relative;
    flex: 1;
    min-height: clamp(380px, 62vh, 680px);
    border-radius: var(--vc-r-lg);
    overflow: hidden;
    box-shadow: var(--vc-shadow-1), 0 0 0 1px var(--vc-hairline);
}

/* app.js tuvali bu kapsayıcının boyutunu izler (ResizeObserver) */
.vc-varstudio__canvas #stlPreview { position: absolute; inset: 0; }

/* STL seçilmeden önceki ipucu; app.js sahneyi kurarken #stlPreview içini boşaltır */
.vc-varstudio__empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    text-align: center;
    color: var(--vc-muted);
    font-size: 13px;
    cursor: default;
}

.vc-varstudio__empty .ms { font-size: 44px; color: var(--vc-outline-variant); margin-bottom: 4px; }
.vc-varstudio__empty strong { font-family: var(--vc-font-head); font-size: 15px; font-weight: 600; color: var(--vc-slate); }

.vc-varstudio__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Adım kutuları (1 STL · 2 renk · 3 ışık & PNG) */
.vc-varstep {
    padding: 14px 16px 16px;
    border-radius: var(--vc-r-md);
    background: #fff;
    box-shadow: var(--vc-shadow-1);
}

.vc-varstep__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.vc-varstep__head small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--vc-muted); white-space: nowrap; }

.vc-varstep__no {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vc-mint-2);
    color: var(--vc-emerald-deep);
    font-size: 12px;
    font-weight: 700;
}

.vc-varstep__title {
    margin: 0;
    font-family: var(--vc-font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--vc-on-surface);
}

.vc-varstep__note { font-size: 12px; line-height: 17px; color: var(--vc-muted); }
.vc-varstep__note[hidden] { display: none; }

.vc-varstep__current {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 8px;
    border-radius: var(--vc-r);
    background: var(--vc-surface-low);
    font-size: 12px;
    line-height: 17px;
    color: var(--vc-muted);
}

.vc-varstep__current img {
    width: 48px;
    height: 64px;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 10px;
    object-fit: contain;
    border-radius: var(--vc-r-sm);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--vc-hairline);
}

.vc-varstep__current strong { display: block; font-size: 12.5px; color: var(--vc-slate); }

/* Varyasyon bilgileri */
.vc-varform { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.vc-varform__main { padding: 24px; display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--vc-hairline); min-width: 0; }
.vc-varform__side { padding: 24px; min-width: 0; }
.vc-varform--single { grid-template-columns: 1fr; }
.vc-varform--single .vc-varform__main { border-right: 0; }
.vc-varform__limits { gap: 10px; }
.vc-varform__notes { padding: 20px 24px 24px; border-top: 1px solid var(--vc-hairline); }
.vc-varform__notes .ql-container { min-height: 160px; }

/* Kaydet çubuğu: uzun sayfada kaydet düğmesi hep görünür */
.vc-savebar {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 10px 10px 18px;
    border-radius: var(--vc-r-lg);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--vc-shadow-3), 0 0 0 1px var(--vc-hairline);
}

.vc-savebar__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--vc-muted); }
.vc-savebar__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--vc-outline-variant); flex-shrink: 0; }
.vc-savebar__status.is-dirty { color: #92400e; }
.vc-savebar__status.is-dirty .vc-savebar__dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }
.vc-savebar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* "Yukarı çık" düğmesi kaydet çubuğunun üstünde dursun (sayfa gövdesinde .vc-has-savebar) */
.vc-has-savebar .vc-totop { bottom: 92px; }

/* Parça tipi seçici (konfigüratör) */
.vc-parttype { margin: 0; padding: 14px; border: 0; border-radius: var(--vc-r-md); background: var(--vc-surface-low); box-shadow: inset 0 0 0 1px rgba(214, 180, 80, 0.12); transition: box-shadow .15s ease; }
.vc-parttype legend { float: left; width: 100%; padding: 0; }
.vc-parttype__grid { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vc-parttype__opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; margin: 0; padding: 8px 6px; border-radius: var(--vc-r); background: #fff; box-shadow: inset 0 0 0 1px rgba(51, 65, 85, 0.12); color: var(--vc-slate); font-size: 12.5px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.vc-parttype__opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.vc-parttype__opt .ms { font-size: 22px; color: var(--vc-tertiary); }
.vc-parttype__opt:hover { box-shadow: inset 0 0 0 1px var(--vc-emerald); }
.vc-parttype__opt:has(input:checked) { background: rgba(244, 227, 156, 0.28); box-shadow: inset 0 0 0 2px var(--vc-emerald); color: var(--vc-on-secondary-container); }
.vc-parttype__opt:has(input:checked) .ms { color: var(--vc-emerald-deep); }
.vc-parttype__opt:has(input:focus-visible) { outline: 2px solid var(--vc-emerald); outline-offset: 2px; }
.vc-parttype__opt--none { color: var(--vc-muted); }
.vc-parttype__opt--none .ms { color: var(--vc-muted); }
.vc-parttype__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.vc-parttype__help { font-size: 12px; line-height: 1.4; color: var(--vc-muted); }
.vc-parttype.is-invalid { box-shadow: inset 0 0 0 2px var(--vc-error); }
/* Sahne dönüşü (X ekseni) — parça tipiyle aynı görünüm, dört seçenek tek satırda. */
.vc-parttype--rot { margin-top: 12px; }
.vc-parttype--rot .vc-parttype__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vc-parttype--rot .vc-parttype__opt { min-height: 54px; font-size: 12px; }
.vc-parttype--rot .vc-parttype__opt .ms { font-size: 19px; }
.vc-parttype.is-invalid .vc-parttype__help { color: var(--vc-error); font-weight: 600; }

@media (max-width: 1199.98px) {
    .vc-varstudio { grid-template-columns: 1fr; }
    .vc-varstudio__canvas { flex: none; height: clamp(340px, 56vh, 560px); min-height: 0; }
}

@media (max-width: 991.98px) {
    .vc-varform { grid-template-columns: 1fr; }
    .vc-varform__main { border-right: 0; border-bottom: 1px solid var(--vc-hairline); }
}

@media (max-width: 575.98px) {
    .vc-varstudio { padding: 12px; gap: 12px; }
    .vc-varform__main, .vc-varform__side { padding: 16px; }
    .vc-varform__notes { padding: 16px; }
    .vc-savebar { bottom: 8px; padding: 10px; }
    .vc-savebar__actions { width: 100%; }
    .vc-savebar__actions .vc-btn { flex: 1; }
    .vc-has-savebar .vc-totop { bottom: 128px; }
}

/* Işık & Gölge paneli: varyasyon sayfasında 3. adım (davranış: Frontend/src/studio/LightPanel.js).
   __title, __readout ve __slider detay sayfasının ışık penceresinde (.vc-lightpop) de kullanılır. */
.vc-lightpanel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px 16px;
    border-radius: var(--vc-r-md);
    background: #fff;
    box-shadow: var(--vc-shadow-1);
}

.vc-lightpanel__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vc-lightpanel__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--vc-font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--vc-on-surface);
}

.vc-lightpanel__title .ms { color: #f59e0b; }

.vc-lightpanel__readout {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff7e6;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Yön alanı: merkezde kapak, çevresinde sürüklenen güneş. Kenar = en yatık ışık. */
.vc-lightpad {
    --lx: -0.55;
    --ly: 0.6;
    position: relative;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    background: radial-gradient(circle at calc(50% + var(--lx) * 30%) calc(50% - var(--ly) * 30%), #ffffff 0%, #f3f6fb 46%, #dde5f1 100%);
    box-shadow: inset 0 0 0 1px rgba(51, 65, 85, 0.12), inset 0 -6px 16px rgba(13, 28, 47, 0.05);
    cursor: crosshair;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
    flex-shrink: 0;
}

.vc-lightpad::before,
.vc-lightpad::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.vc-lightpad::before { inset: 10%; border: 1px solid rgba(51, 65, 85, 0.10); }
.vc-lightpad::after { inset: 30%; border: 1px dashed rgba(51, 65, 85, 0.16); }
.vc-lightpad:focus-visible { box-shadow: inset 0 0 0 1px rgba(214, 180, 80, 0.6), var(--vc-ring); }

.vc-lightpad__door {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 36px;
    transform: translate(-50%, -50%);
    border-radius: 3px;
    background: linear-gradient(calc(90deg + var(--lx) * 45deg), #ffffff, #d3dbe8);
    box-shadow:
        inset 0 0 0 1px rgba(51, 65, 85, 0.30),
        calc(var(--lx) * -7px) calc(var(--ly) * 7px) 8px rgba(13, 28, 47, 0.22);
    pointer-events: none;
}

.vc-lightpad__door::after {
    content: "";
    position: absolute;
    inset: 6px 5px;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(51, 65, 85, 0.24);
}

.vc-lightpad__ray {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    transform-origin: 0 50%;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.8));
    pointer-events: none;
}

.vc-lightpad__sun {
    position: absolute;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45), 0 0 0 1px rgba(245, 158, 11, 0.35);
    pointer-events: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.vc-lightpad__sun .ms { font-size: 20px; }

.vc-lightpad.is-dragging { cursor: grabbing; }
.vc-lightpad.is-dragging .vc-lightpad__sun {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55), 0 0 0 5px rgba(245, 158, 11, 0.16);
}

/* Yön alanı ve yanında hazır yönler (3 × 2: üst sıra üstten gelen ışıklar) */
.vc-lightpanel__dir { display: flex; align-items: center; gap: 16px; }
.vc-lightpanel__presets { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-lightpanel__presets .vc-segment__btn { justify-content: center; padding: 0 4px; white-space: nowrap; }

.vc-lightpanel__sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }

.vc-lightpanel__slider {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--vc-slate);
}

.vc-lightpanel__wall { font-size: 12.5px; }
.vc-lightpanel__wall small { font-weight: 500; color: var(--vc-muted); }

/* PNG Al satırı: alınan görselin küçük önizlemesi (ya da ipucu) + düğmeler */
.vc-lightpanel__capture { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--vc-hairline); }
.vc-lightpanel__capture .vc-varstep__note { flex: 1; min-width: 0; }
.vc-lightpanel__capture .vc-lightpanel__thumb { margin-right: auto; }

.vc-lightpanel__thumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 3px;
    border-radius: var(--vc-r);
    background: var(--vc-mint);
    color: var(--vc-primary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.vc-lightpanel__thumb[hidden] { display: none; }

.vc-lightpanel__thumb img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: var(--vc-r-sm);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--vc-hairline);
}

@media (max-width: 575.98px) {
    .vc-lightpanel__sliders { grid-template-columns: 1fr; }
}

.vc-stepper {
    display: inline-flex;
    align-items: stretch;
    height: 42px;
    border-radius: var(--vc-r);
    border: 1px solid rgba(51, 65, 85, 0.12);
    overflow: hidden;
    background: #fff;
}

.vc-stepper button {
    width: 40px;
    border: 0;
    background: var(--vc-surface-low);
    color: var(--vc-on-surface-variant);
    font-size: 18px;
    cursor: pointer;
}

.vc-stepper button:hover { background: var(--vc-mint); color: var(--vc-emerald-deep); }

.vc-stepper input {
    width: 64px;
    border: 0;
    text-align: center;
    font-weight: 600;
    color: var(--vc-on-surface);
    -moz-appearance: textfield;
}

.vc-stepper input:focus { outline: none; }
.vc-stepper input::-webkit-outer-spin-button,
.vc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ToolsImage-box {
    position: relative;
    width: 150px;
    padding: 8px;
    border-radius: var(--vc-r-md);
    background: #fff;
    box-shadow: var(--vc-shadow-1);
    text-align: center;
}

.ToolsImage-box img { width: 100%; height: 110px; object-fit: contain; border-radius: var(--vc-r); background: var(--vc-surface-low); }
.ToolsImage-box p { margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--vc-slate); }

.ToolsImage-box .imgtooldeletebtn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 0;
    background: var(--vc-error-container);
    color: var(--vc-on-error-container);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.ToolsImage-box .imgtooldeletebtn .ms { font-size: 16px; }

.loader-containerLibmodal {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 1055;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.loaderLibmodal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 999px;
    border: 4px solid var(--vc-mint-2);
    border-top-color: var(--vc-emerald);
    animation: vc-spin .8s linear infinite;
}

@media (max-width: 991.98px) {
    .vc-editor { grid-template-columns: 1fr; }
    .vc-editor__main { border-right: 0; border-bottom: 1px solid var(--vc-hairline); }
}

/* ---------------------------------------------------------------------
   YÖNETİM: GÖRSEL ARŞİVİ
   --------------------------------------------------------------------- */
.vc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

.vc-gallery__item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--vc-r-lg);
    background: #fff;
    box-shadow: var(--vc-shadow-1);
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
    user-select: none;
}

.vc-gallery__item:hover { transform: translateY(-3px); box-shadow: var(--vc-shadow-2); }
.vc-gallery__item.selected { box-shadow: 0 0 0 2px var(--vc-emerald), var(--vc-shadow-2); background: var(--vc-mint); }

.vc-gallery__media {
    aspect-ratio: 1 / 1;
    border-radius: var(--vc-r-md);
    background: var(--vc-surface-low);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vc-gallery__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vc-gallery__name { margin-top: 8px; padding: 0 4px; font-size: 12px; font-weight: 600; color: var(--vc-slate); }
.vc-gallery__check { position: absolute; top: 14px; right: 14px; z-index: 2; box-shadow: 0 1px 4px rgba(13, 28, 47, 0.15); }

.vc-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--vc-r-md);
    border: 1.5px solid rgba(51, 65, 85, 0.1);
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.vc-choice:hover { border-color: rgba(214, 180, 80, 0.4); }
.vc-choice.selected { border-color: var(--vc-emerald); background: var(--vc-mint); }
.vc-choice__title { font-weight: 600; color: var(--vc-on-surface); font-size: 14px; }
.vc-choice__desc { margin: 2px 0 0; font-size: 12.5px; color: var(--vc-muted); }

/* ---------------------------------------------------------------------
   DURUM / GİRİŞ EKRANLARI
   --------------------------------------------------------------------- */
.vc-auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
}

.vc-auth::before,
.vc-auth::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.vc-auth::before { width: 420px; height: 420px; right: -120px; bottom: -120px; background: rgba(214, 180, 80, 0.12); }
.vc-auth::after { width: 360px; height: 360px; left: -140px; top: -120px; background: rgba(244, 227, 156, 0.18); }

.vc-auth__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    padding: 40px;
    border-radius: var(--vc-r-xl);
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: var(--vc-shadow-2);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.vc-auth__card--center { text-align: center; }

.vc-auth__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.vc-auth__brand { display: inline-flex; align-items: center; gap: 10px; }
.vc-auth__brand img { width: auto; height: 32px; flex-shrink: 0; }

.vc-auth__meta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--vc-muted); }
.vc-auth__meta .ms { font-size: 16px; }

.vc-auth__title {
    margin: 0 0 6px;
    font-family: var(--vc-font-head);
    font-size: 26px;
    line-height: 34px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--vc-on-surface);
}

.vc-auth__text {
    margin: 0 auto 24px;
    max-width: 420px;
    font-size: 14.5px;
    line-height: 24px;
    color: var(--vc-on-surface-variant);
}

.vc-auth__footer {
    margin-top: 24px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--vc-outline);
}

.vc-auth__footer::before { content: ""; width: 48px; height: 2px; border-radius: 999px; background: var(--vc-surface-high); }
.vc-auth__footer p { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.vc-auth__footer .ms { font-size: 16px; color: var(--vc-emerald-deep); }

.vc-ring {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 4px auto 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 12px var(--vc-mint-2), 0 12px 32px rgba(214, 180, 80, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vc-emerald-deep);
}

.vc-ring .ms { font-size: 36px; }

.vc-ring__badge {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--vc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px #fff;
}

.vc-ring__badge .ms { font-size: 17px; }

.vc-illus {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
}

.vc-illus::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -40px;
    width: 200px;
    height: 200px;
    margin-left: -100px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(214, 180, 80, 0.18) 0%, rgba(244, 227, 156, 0.12) 40%, transparent 70%);
    z-index: -1;
}

.vc-illus__back {
    position: absolute;
    inset: 0;
    border-radius: var(--vc-r-md);
    background: rgba(238, 236, 230, 0.7);
    transform: rotate(6deg) scale(.95);
    filter: blur(1px);
}

.vc-illus__front {
    position: absolute;
    inset: 8px;
    border-radius: var(--vc-r-md);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(13, 28, 47, 0.1);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc-illus__front svg { width: 100%; height: 100%; }

.vc-illus__badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--vc-error-container);
    color: var(--vc-error);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.vc-illus__badge .ms { font-size: 15px; }
.vc-illus--warn .vc-illus__badge { background: var(--vc-warning-container); color: var(--vc-warning); }
.vc-illus--info .vc-illus__badge { background: var(--vc-mint-2); color: var(--vc-emerald-deep); }

.vc-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--vc-surface-high);
    color: var(--vc-on-surface-variant);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 2px rgba(13, 28, 47, 0.05);
}

.vc-details {
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
    border-radius: var(--vc-r-md);
    background: rgba(245, 244, 240, 0.8);
    overflow: hidden;
}

.vc-details summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--vc-on-surface-variant);
}

.vc-details summary::-webkit-details-marker { display: none; }
.vc-details summary > span { display: inline-flex; align-items: center; gap: 6px; }
.vc-details summary .ms { font-size: 18px; }
.vc-details summary > span .ms { color: var(--vc-tertiary); font-size: 17px; }
.vc-details summary:hover { color: var(--vc-on-surface); }
.vc-details[open] summary .vc-details__chev { transform: rotate(180deg); }
.vc-details__chev { transition: transform .2s ease; }

.vc-terminal {
    margin: 0 16px 16px;
    padding: 12px 14px;
    border-radius: var(--vc-r);
    background: #233144;
    color: #ebf1ff;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 11.5px;
    line-height: 19px;
    overflow-x: auto;
    user-select: text;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vc-terminal div { white-space: pre-wrap; word-break: break-word; }
.vc-terminal .t-ok { color: #4edea3; }
.vc-terminal .t-err { color: #ffdad6; }
.vc-terminal .t-dim { color: #cdc8bb; }
.vc-terminal .t-accent { color: #85f8c4; }

.vc-auth__actions { display: flex; gap: 10px; width: 100%; }
.vc-auth__actions > * { flex: 1; }

.vc-countdown { margin-top: 20px; font-size: 12.5px; color: var(--vc-muted); }
.vc-countdown strong { color: var(--vc-primary); }

.vc-session-user {
    margin-bottom: 20px;
    padding: 16px;
    border-radius: var(--vc-r-md);
    background: rgba(245, 244, 240, 0.9);
    text-align: left;
}

.vc-session-user__row { display: flex; align-items: center; gap: 12px; }
.vc-session-user__name { font-weight: 600; font-size: 14.5px; color: var(--vc-on-surface); }
.vc-session-user__role { font-size: 12px; color: var(--vc-muted); }

.vc-session-user__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--vc-on-surface-variant);
}

.vc-session-user__meta span { display: inline-flex; align-items: center; gap: 4px; }
.vc-session-user__meta .ms { font-size: 16px; color: var(--vc-outline); }

.vc-auth form .vc-label { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 575.98px) {
    .vc-auth__card { padding: 28px 20px; }
    .vc-auth__actions { flex-direction: column; }
    .vc-auth__title { font-size: 22px; line-height: 30px; }
}

/* ---------------------------------------------------------------------
   YARDIMCI
   --------------------------------------------------------------------- */
.vc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vc-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vc-span-2 { grid-column: span 2; }

@media (max-width: 991.98px) {
    .vc-grid-3, .vc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .vc-grid-2, .vc-grid-3, .vc-grid-4 { grid-template-columns: 1fr; }
    .vc-span-2 { grid-column: auto; }
}

.vc-row { display: flex; align-items: center; gap: 8px; }
.vc-row--between { justify-content: space-between; }
.vc-row--wrap { flex-wrap: wrap; }
.vc-muted { color: var(--vc-muted); }
.vc-strong { font-weight: 600; color: var(--vc-on-surface); }
.vc-mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.vc-hidden { display: none !important; }
/* Mobil uygulamada (WebView kabugu) gosterilmeyen ogeler: yonetici girisi. html.vc-app sinifini
   Views/Shared/_AppShellHead.cshtml ekler; sunucu tarafi Services/AppShell/AppShellGuardFilter.cs. */
html.vc-app .vc-app-hide { display: none !important; }
.vc-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-mt-0 { margin-top: 0 !important; }
.vc-mb-0 { margin-bottom: 0 !important; }

.vc-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------------
   SITE DUYURUSU (katalog anasayfası açılır penceresi; yönetim: /Admin/Duyurular)
   Views/Shared/Partials/_SiteAnnouncementPopup.cshtml. Mobil uygulamada gösterilmez.
   Başlık/metin sınıfları yönetim ekranındaki önizlemede de kullanılır.
   --------------------------------------------------------------------- */
.sa-popup .modal-dialog { max-width: 560px; }
.sa-popup .modal-body { padding: 8px 24px; }
.sa-popup__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--vc-hairline);
    font-family: var(--vc-font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--vc-on-surface);
}
.sa-popup__head .ms { color: var(--vc-emerald-deep); }
.sa-popup__item { padding: 16px 0; }
.sa-preview .sa-popup__item { padding: 16px 20px; }
.sa-popup__item + .sa-popup__item { border-top: 1px solid var(--vc-hairline); }
.sa-popup__title {
    margin: 0 0 6px;
    font-family: var(--vc-font-head);
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--vc-on-surface);
    overflow-wrap: anywhere;
}
.sa-popup__body {
    margin: 0;
    font-size: 14.5px;
    line-height: 23px;
    color: var(--vc-slate);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
@media (max-width: 575.98px) {
    .sa-popup .modal-dialog { margin: 16px; }
    .sa-popup .modal-body { padding: 4px 18px; }
    .sa-popup .modal-footer .vc-btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   Bayka: altin zemin — vurgu (--vc-emerald) logo altini #E2C164; ustunde beyaz yazi 1.7:1 okunmaz
   (zumrut temada 2.5:1 idi). Altin zeminli ogelerde yazi/simge koyu gri #262626 (8.7:1), hover zemini koyu altin.
   tools/bayka_tema.py ekler.
   ===================================================================== */
:root { --vc-on-emerald: #262626; --vc-emerald-hover: #d4ae4c; }
.vc-btn--primary,
.vc-body a.vc-btn--primary,
.vc-body a.vc-btn--primary:hover,
.vc-file::file-selector-button,
.cat-badge,
.vc-model-id__ico,
.vc-swatch-btn.is-active::after,
.vc-color-opt.is-active .vc-color-opt__sw::after,
.vc-body .swal2-actions .btn.btn-primary,
.cat-option input:checked + .cat-option__box { color: var(--vc-on-emerald); }
.vc-btn--primary:hover,
.vc-file::file-selector-button:hover { background: var(--vc-emerald-hover); color: var(--vc-on-emerald); }
.vc-body .swal2-styled.swal2-confirm { color: var(--vc-on-emerald) !important; }
.vc-body .swal2-styled.swal2-confirm:hover { background: var(--vc-emerald-hover) !important; }
.vc-body .select2-container .select2-results__option--selected,
.vc-body .select2-container .select2-results__option[aria-selected="true"] { color: var(--vc-on-emerald) !important; }
.vc-check input:checked::before,
input.vc-checkbox:checked::before { background: var(--vc-on-emerald); }

/* ---------------------------------------------------------------------
   GÖMÜLÜ YAYIN (appsettings "Gomulu"; müşteri sitesine iframe ile gömme; MayKapak'tan)
   <html class="vc-embed"> yalnızca sayfa bir iframe içindeyken eklenir (Views/Shared/_EmbedHead.cshtml).
   Üst menü, mobil menü ve alt bilgi üst sitede zaten var: gizlenir; zemin üst site gibi beyaz.
   --------------------------------------------------------------------- */
html.vc-embed { --vc-header-h: 0px; }
html.vc-embed .vc-header,
html.vc-embed .vc-drawer,
html.vc-embed .vc-footer { display: none !important; }
html.vc-embed body.vc-body { --vc-bg: #fff; }
html.vc-embed .vc-main { padding-bottom: 32px; }

/* Katalog araması (üst menüdeki aramanın yerine) */
.cat-search { display: none; }
html.vc-embed .cat-search { display: block; flex: 1 1 260px; max-width: 380px; margin-right: auto; }
html.vc-embed .cat-search > .vc-input { height: 48px; width: 100%; border-radius: var(--vc-r-md); }
@media (max-width: 767.98px) {
    html.vc-embed .cat-bar__controls { flex-wrap: wrap; }
    html.vc-embed .cat-search { flex: 1 1 100%; max-width: none; }
}

/* 3D Konfigüratör bağlantısı (Ozellikler:Konfigurator açıkken; üst menüdeki bağlantının yerine) */
.cat-konf { display: none !important; }
html.vc-embed .cat-konf { display: inline-flex !important; gap: 8px; }
@media (max-width: 767.98px) {
    html.vc-embed .cat-bar__controls > .cat-konf { flex: 1 1 100%; justify-content: center; order: 1; }
}
