/* ==========================================================================
   Muditap360 — Admin Paneli (/admin)
   Koyu sidebar + aydınlık içerik alanı; site marka diliyle uyumlu.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink: #0B0B1A;
    --ink-2: #14142A;
    --ink-3: #1B1B30;
    --text: #3A3A52;
    --muted: #6F6F88;
    --line: #E8E7F2;
    --soft: #F6F5FC;
    --primary: #5B4BFF;
    --primary-50: #EEECFF;
    --lime: #D7FF3A;
    --coral: #FF6B4A;
    --gold: #F5B83D;
    --blue: #2F7CF6;
    --pink: #FF4FA3;
    --green: #16B37F;
    --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
    --f-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --r: 16px;
    --r-lg: 20px;
    --shadow: 0 10px 30px -10px rgba(30, 20, 90, .14), 0 2px 6px rgba(11, 11, 26, .05);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --side-w: 248px;
}

body.admin { font-family: var(--f-body); background: var(--soft); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; }

/* --- Kabuk --------------------------------------------------------------- */
.admin-shell { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100dvh; }

.admin-side {
    position: sticky; top: 0; height: 100dvh;
    display: flex; flex-direction: column;
    background: var(--ink); color: #B8B8CC;
    padding: 20px 14px;
}
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px; color: #fff; }
.admin-logo svg { width: 34px; height: 34px; }
.admin-logo span { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.admin-logo b { color: var(--lime); }
.admin-logo em { font-style: normal; font-family: var(--f-body); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }

.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav a {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 12px; border-radius: 12px;
    font-weight: 600; font-size: 14.5px;
    transition: background .2s, color .2s;
}
.admin-nav a i { font-size: 20px; }
.admin-nav a:hover { background: var(--ink-3); color: #fff; }
.admin-nav a.is-active { background: rgba(215, 255, 58, .12); color: #fff; }
.admin-nav a.is-active i { color: var(--lime); }
.nav-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--coral); color: #fff; font-size: 11.5px; font-weight: 700; }
.nav-badge--lime { background: var(--lime); color: var(--ink); }

.admin-side-foot { border-top: 1px solid var(--ink-3); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.admin-side-foot a, .admin-side-foot button {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 12px; border-radius: 12px;
    font-size: 14px; font-weight: 600; color: #B8B8CC;
    transition: background .2s, color .2s; text-align: left;
}
.admin-side-foot a:hover, .admin-side-foot button:hover { background: var(--ink-3); color: #fff; }
.admin-side-overlay { display: none; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 16px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.admin-top h1 { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.admin-burger { display: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; font-size: 22px; }
.admin-top-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.admin-top-user strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.admin-top-user small { font-size: 12px; color: var(--muted); }
.admin-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; font-family: var(--f-display); font-weight: 800; }

.admin-content { padding: 26px 28px 48px; display: flex; flex-direction: column; gap: 18px; max-width: none; width: 100%; min-width: 0; }

/* --- Uyarılar ------------------------------------------------------------ */
.a-alert { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.a-alert--success { background: #E6F9EF; color: #0D7A4C; }
.a-alert--error { background: #FEF1EA; color: #C2410C; }
.a-alert--info { background: var(--primary-50); color: var(--primary); }

/* --- İstatistik kartları -------------------------------------------------- */
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.a-stats--3 { grid-template-columns: repeat(3, 1fr); }
.a-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.a-stat i { font-size: 30px; }
.a-stat strong { display: block; font-family: var(--f-display); font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.a-stat span { font-size: 12.5px; color: var(--muted); }
.a-stat--violet { background: var(--primary-50); border-color: transparent; } .a-stat--violet i { color: var(--primary); }
.a-stat--lime { background: #F4FFCE; border-color: transparent; } .a-stat--lime i { color: #6B8A00; }
.a-stat--coral { background: #FFEDE7; border-color: transparent; } .a-stat--coral i { color: var(--coral); }
.a-stat--blue { background: #E7F1FE; border-color: transparent; } .a-stat--blue i { color: var(--blue); }
.a-stat--gold { background: #FDF3DD; border-color: transparent; } .a-stat--gold i { color: #C08A0F; }
.a-stat--dark { background: var(--ink); border-color: var(--ink); } .a-stat--dark i, .a-stat--dark strong { color: #fff; } .a-stat--dark span { color: #B8B8CC; }

/* --- Kartlar ve tablolar -------------------------------------------------- */
.a-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.a-grid-2--wide { grid-template-columns: 1.1fr .9fr; align-items: start; }

.a-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.a-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.a-card-head h2 { font-family: var(--f-display); font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.a-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.a-link:hover { text-decoration: underline; }
.a-back { margin-bottom: 2px; }

.a-table-wrap { overflow-x: auto; }
.a-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.a-table th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.a-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.a-table tbody tr { transition: background .15s; }
.a-table tbody tr:hover { background: var(--soft); }
.a-table tbody tr:last-child td { border-bottom: 0; }
.a-table strong { color: var(--ink); font-weight: 700; }
.a-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.a-old { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.a-actions { display: flex; align-items: center; gap: 10px; }
.a-actions form { display: inline; }

.a-ava { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-weight: 800; font-size: 13px; margin-right: 6px; }

.a-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 16px; color: var(--muted); font-size: 14px; text-align: center; }
.a-empty i { font-size: 42px; color: var(--primary); opacity: .7; }

/* --- Chip'ler ------------------------------------------------------------- */
.a-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.a-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.a-chip--lime { background: #F4FFCE; color: #5E7A00; }
.a-chip--violet { background: var(--primary-50); color: var(--primary); }
.a-chip--blue { background: #E7F1FE; color: #1D5DBF; }
.a-chip--coral { background: #FFEDE7; color: #D14E2B; }
.a-chip--gold { background: #FDF3DD; color: #A87A0A; }
.a-chip--dark { background: var(--ink-3); color: #C9C9DD; }

.a-mini-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.a-mini-badge--violet { background: var(--primary-50); color: var(--primary); }

/* --- Filtreler & arama ---------------------------------------------------- */
.a-filters { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.a-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.a-filter-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); transition: border-color .2s, background .2s; }
.a-filter-tabs a b { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.a-filter-tabs a:hover { border-color: var(--ink); }
.a-filter-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.a-filter-tabs a.is-active b { background: var(--lime); color: var(--ink); }

.a-search { position: relative; min-width: 260px; }
.a-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.a-search input { width: 100%; height: 42px; padding: 0 14px 0 38px; border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.a-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 75, 255, .12); }

/* --- Liste elemanları ------------------------------------------------------ */
.a-list { display: flex; flex-direction: column; gap: 10px; }
.a-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.a-list strong { display: block; font-size: 14px; color: var(--ink); }
.a-list small { font-size: 12px; color: var(--muted); }
.a-list .a-chip { margin-left: auto; }
.a-list div { min-width: 0; }

/* --- Grafik (14 günlük çubuk) ---------------------------------------------- */
.a-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 190px; padding-top: 8px; }
.a-chart-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.a-chart-col i { display: block; width: 100%; max-width: 26px; margin-top: auto; border-radius: 7px 7px 3px 3px; background: var(--soft-2, #EFEDFB); background: linear-gradient(180deg, var(--primary), var(--pink)); opacity: .45; transition: opacity .2s; }
.a-chart-col i.is-max { opacity: 1; }
.a-chart-col:hover i { opacity: 1; }
.a-chart-col small { font-size: 10px; color: var(--muted); white-space: nowrap; }

/* --- Detay sayfası ---------------------------------------------------------- */
.a-dl { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.a-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; font-size: 14px; }
.a-dl dt { color: var(--muted); font-weight: 600; }
.a-dl dd { color: var(--ink); font-weight: 600; }

.a-status-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line); }
.a-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.a-field span { font-size: 13px; font-weight: 700; }
.a-field input, .a-field select { height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.a-field input:focus, .a-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 75, 255, .12); }

.a-order-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.a-order-lines li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.a-order-lines .a-qty { min-width: 34px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); font-size: 12px; font-weight: 700; }
.a-order-lines li > div { flex: 1; min-width: 0; }
.a-order-lines small { display: block; color: var(--muted); font-size: 12px; }
.a-totals { display: flex; flex-direction: column; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); }
.a-totals div { display: flex; justify-content: space-between; font-size: 13.5px; }
.a-totals dt { color: var(--muted); }
.a-totals dd { font-weight: 600; color: var(--ink); }
.a-totals .a-total { padding-top: 8px; border-top: 1px dashed var(--line); }
.a-totals .a-total dd { font-family: var(--f-display); font-size: 19px; }

/* --- Butonlar ---------------------------------------------------------------- */
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.a-btn:active { transform: scale(.98); }
.a-btn--primary { background: var(--ink); color: #fff; }
.a-btn--primary:hover { background: var(--primary); }
.a-btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.a-btn--ghost:hover { border-color: var(--ink); }
.a-btn--sm { padding: 7px 12px; font-size: 12.5px; border-radius: 10px; }
.a-btn--full { width: 100%; }

/* --- Teklif kartları ------------------------------------------------------------ */
.a-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.a-quote-contact { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.a-quote-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); }
.a-quote-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.a-quote-tags span { padding: 4px 10px; border-radius: 999px; background: var(--primary-50); color: var(--primary); font-size: 12px; font-weight: 700; }
.a-quote-msg { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; color: var(--text); margin-bottom: 12px; }

/* --- Giriş sayfası ---------------------------------------------------------------- */
.admin--login { background: var(--ink); }
.login-shell { min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 80% 10%, rgba(91, 75, 255, .35), transparent 45%), radial-gradient(circle at 15% 90%, rgba(215, 255, 58, .1), transparent 40%), var(--ink); }
.login-card { width: min(400px, 100%); background: #fff; border-radius: 24px; padding: 34px 30px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.login-logo { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.login-logo svg { width: 32px; height: 32px; }
.login-logo b { color: var(--primary); }
.login-logo em { font-style: normal; font-family: var(--f-body); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.login-card h1 { font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; color: var(--ink); }
.login-sub { margin-top: -10px; font-size: 13.5px; color: var(--muted); }
.login-card .a-field input { height: 46px; }
.login-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); align-self: center; }
.login-back:hover { color: var(--ink); }

/* --- Responsive ------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .a-grid-2, .a-grid-2--wide, .a-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { position: fixed; inset: 0 auto 0 0; width: var(--side-w); z-index: 60; transform: translateX(-100%); transition: transform .3s var(--ease); }
    .admin.side-open .admin-side { transform: none; }
    .admin-side-overlay { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(11, 11, 26, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
    .admin.side-open .admin-side-overlay { opacity: 1; pointer-events: auto; }
    .admin-burger { display: grid; }
    .admin-top-user span:last-child { display: none; }
    .admin-content { padding: 18px 16px 40px; }
    .a-stats--3 { grid-template-columns: 1fr; }
    .a-chart { gap: 3px; }
    .a-chart-col small { display: none; }
}

/* --- Ürün yönetimi (urunler.php) ----------------------------------------- */
.a-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.a-filter-sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.a-filters-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-select { height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236F6F88' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: 13px; font-weight: 600; color: var(--text); outline: 0; cursor: pointer; appearance: none; }
.a-select:focus { border-color: var(--primary); }

.a-prod { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.a-prod-thumb { width: 46px; height: 40px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; background: var(--soft); font-size: 19px; color: var(--primary); }
.a-prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.a-prod-thumb--black, .a-prod-thumb--blackmetal { background: var(--ink); color: var(--lime); }
.a-prod-thumb--navy { background: #1B2350; color: var(--lime); }
.a-prod-thumb--gold { background: #F5B83D; color: var(--ink); }
.a-prod-thumb--silver { background: linear-gradient(135deg, #C9CED6, #9AA1AF); color: var(--ink); }
.a-prod-thumb--wood { background: #C8A96F; color: var(--ink); }
.a-prod-thumb--clear { background: #DFF3F5; color: var(--blue); }
.a-prod-thumb--carbon { background: #26262E; color: #9AA1AF; }
.a-prod-thumb--google { background: #E7F1FE; color: #1D5DBF; }
.a-prod-thumb--instagram { background: #FFE0EA; color: var(--pink); }
.a-prod-thumb--tiktok { background: var(--ink); color: #fff; }
.a-prod-thumb--whatsapp { background: #E6F9EF; color: #0D7A4C; }
.a-prod-thumb--corporate { background: #EDEFF7; color: var(--primary); }
.a-prod-thumb--white { background: #fff; border: 1px solid var(--line); color: var(--ink); }

tr.is-passive td { opacity: .55; }
.a-link--btn { padding: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--primary); cursor: pointer; }
.a-link--btn:hover { text-decoration: underline; }

/* Form düzeni */
.a-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a-field--full { grid-column: 1 / -1; }
.a-field textarea { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); outline: 0; resize: vertical; font-size: 13.5px; transition: border-color .2s, box-shadow .2s; }
.a-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 75, 255, .12); }
.a-field input[type="file"] { height: auto; padding: 9px 12px; }
.a-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.a-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); }
.a-check small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.a-hint { font-weight: 500; color: var(--muted); font-size: 12px; }
.a-err { color: #C2410C; font-size: 12.5px; font-weight: 600; }
.a-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.a-form-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.a-img-current { display: flex; align-items: center; gap: 14px; }
.a-img-preview { width: 110px; height: 88px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.a-img-current--empty { align-items: flex-start; }
.a-img-current--empty .pv { width: 160px; border-radius: 12px; aspect-ratio: 5/4; font-size: 11px; }
.a-danger { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.a-danger .a-btn { color: #C2410C; border-color: #F5C5B5; }
.a-danger .a-btn:hover { border-color: #C2410C; background: #FEF1EA; }

/* Sipariş detayı — başlık + zaman çizelgesi */
.a-order-head { margin-bottom: 18px; }
.a-order-head-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.a-order-no { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.a-order-head-actions { display: flex; align-items: center; gap: 12px; }
.a-cancel-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #FEF1EA; color: #C2410C; font-size: 13.5px; font-weight: 600; }
.a-timeline { display: flex; list-style: none; margin: 0; padding: 0; }
.a-timeline li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; }
.a-timeline li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.a-timeline li:first-child::before { display: none; }
.a-timeline li.is-done::before, .a-timeline li.is-now::before { background: var(--primary); }
.a-tl-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; position: relative; z-index: 1; }
.a-timeline li.is-done .a-tl-dot { background: var(--primary); border-color: var(--primary); color: #fff; font-size: 14px; }
.a-timeline li.is-now .a-tl-dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px rgba(91,75,255,.15); }
.a-tl-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.a-timeline li.is-done .a-tl-label, .a-timeline li.is-now .a-tl-label { color: var(--ink); }

/* Tasarım satırı spec chip'leri + PDF butonu */
.a-design-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.a-spec { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--soft); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.a-print-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #C2410C; }
.a-print-link:hover { text-decoration: underline; }

/* Sürükle-bırak yükleme alanı */
.a-drop { margin-top: 14px; border: 2px dashed var(--line); border-radius: 14px; background: #FBFBFE; cursor: pointer; transition: border-color .2s, background .2s; }
.a-drop:hover { border-color: #C9C4FF; background: #F7F6FF; }
.a-drop.is-over { border-color: var(--primary); background: rgba(91,75,255,.06); }
.a-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; text-align: center; color: var(--muted); }
.a-drop-inner i { font-size: 30px; color: var(--primary); }
.a-drop-inner strong { font-size: 13.5px; color: var(--ink); }
.a-drop-inner small { font-size: 12px; }
.a-drop.has-files .a-drop-inner { padding: 10px 16px 4px; }
.a-drop.has-files .a-drop-inner i { font-size: 20px; }
.a-drop-preview { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px; }
.a-drop-preview:not(:empty) { padding-bottom: 14px; }
.a-drop-item { position: relative; }
.a-drop-item img { width: 74px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.a-drop-rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; cursor: pointer; }
.a-drop-rm:hover { background: #C2410C; }

/* Canlı maket önizleme */
.a-mockup-live { margin: -4px -4px 16px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg,#F4F4FA,#EDEEFA); transition: box-shadow .3s; }
.a-mockup-live .pv { aspect-ratio: 5/4; width: 100%; }
.a-mockup-live.is-fresh { box-shadow: 0 0 0 3px rgba(91,75,255,.25); }

/* Tehlikeli bölge (ürün silme) */
.a-danger-zone { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border: 1.5px dashed #F0B9A6; border-radius: 14px; background: #FFFBF9; }
.a-danger-zone strong { font-size: 13.5px; color: #C2410C; }
.a-danger-zone .a-hint { margin: 2px 0 0; }
.a-btn--danger { color: #C2410C; border: 1.5px solid #F0B9A6; background: #fff; }
.a-btn--danger:hover { border-color: #C2410C; background: #FEF1EA; }

/* Galeri + JSON ekleme */
.a-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.a-gallery-item { display: flex; flex-direction: column; gap: 6px; cursor: default; position: relative; }
.a-gallery-grip { position: absolute; top: 5px; left: 5px; z-index: 2; width: 20px; height: 20px; border-radius: 6px; background: rgba(11,11,26,.75); color: #fff; display: grid; place-items: center; font-size: 12px; cursor: grab; }
.a-gallery-item.sortable-ghost { opacity: .4; }
.a-gallery-item img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.a-gallery-del { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; color: #C2410C; }
.a-gallery-del input { width: 14px; height: 14px; accent-color: #C2410C; }
.a-gallery-item:has(:checked) img { outline: 2px solid #C2410C; opacity: .6; }
.a-json { font-family: 'Consolas', 'Courier New', monospace; font-size: 12.5px; line-height: 1.55; }
.a-field code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 12px; }

@media (max-width: 640px) {
    .a-form-grid { grid-template-columns: 1fr; }
    .a-filters-right { width: 100%; }
    .a-search { min-width: 0; flex: 1; }
}

/* ============================================================
   Kullanıcılar — anlık filtre, modal, switch, toast
   ============================================================ */

/* Filtre chip'leri + canlı sayaç */
.a-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.a-chips .a-chip { background: #fff; border: 1.5px solid var(--line); color: var(--muted); cursor: pointer; padding: 8px 14px; font-size: 12.5px; transition: all .18s var(--ease); }
.a-chips .a-chip::before { display: none; }
.a-chips .a-chip:hover { border-color: var(--primary); color: var(--primary); }
.a-chips .a-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.a-live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.a-live i { color: var(--lime-ink, #5E7A00); animation: a-pulse 1.6s ease-in-out infinite; }
@keyframes a-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Tablo hücre düzenleri */
.a-ta-r { text-align: right; }
.a-table--users td:first-child > .a-ava { vertical-align: middle; }
.a-table--users td:first-child > div { display: inline-block; vertical-align: middle; }
tr.is-passive td { opacity: .55; }
.a-row-actions { display: inline-flex; gap: 4px; }
.a-icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; transition: all .18s var(--ease); }
.a-icon-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.a-icon-btn--danger:hover { border-color: #C2410C; color: #C2410C; background: #FEF1EA; }

/* Aktif/pasif switch */
.a-switch { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #D7D7E2; transition: background .2s var(--ease); vertical-align: middle; }
.a-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 11, 26, .25); transition: transform .22s var(--ease); }
.a-switch.is-on { background: #65A30D; }
.a-switch.is-on i { transform: translateX(18px); }
.a-switch:disabled { opacity: .45; cursor: not-allowed; }
.a-switch + .a-sub { margin-top: 3px; }

/* Modal */
.a-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.a-modal[hidden] { display: none; }
.a-modal-back { position: absolute; inset: 0; background: rgba(11, 11, 26, .55); backdrop-filter: blur(3px); animation: a-fade .18s ease; }
.a-modal-card { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(11, 11, 26, .5); animation: a-pop .22s var(--ease); }
.a-modal-card--sm { width: min(420px, 100%); }
.a-modal-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 22px 0; }
.a-modal-card > header h3 { font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.a-modal-card > header small { color: var(--muted); font-size: 12.5px; }
.a-modal-card form { padding: 18px 22px 22px; }
.a-modal-card footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.a-modal-open { overflow: hidden; }
@keyframes a-fade { from { opacity: 0; } }
@keyframes a-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* Modal form grid + alan hataları */
.a-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a-fgrid label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.a-fgrid input, .a-fgrid select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; outline: 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.a-fgrid input:focus, .a-fgrid select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 75, 255, .12); }
.a-fgrid .a-check { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.a-ferr { color: #C2410C; font-size: 11.5px; font-weight: 600; min-height: 0; }
.a-del-msg { font-size: 14px; color: var(--ink); margin: 4px 0 10px; }
.a-del-warn { font-size: 12.5px; color: #9A3412; background: #FFF3EC; border: 1px solid #FBD9C7; border-radius: 10px; padding: 10px 12px; }

/* Toast bildirimleri (Tailwind tarzı) */
.a-toast-wrap { position: fixed; top: 18px; right: 18px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.a-toast { display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 380px; padding: 13px 16px; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px -12px rgba(11, 11, 26, .35), 0 0 0 1px rgba(11, 11, 26, .06); font-size: 13.5px; font-weight: 600; color: var(--ink); border-left: 4px solid var(--line); opacity: 0; transform: translateX(24px); transition: all .3s var(--ease); pointer-events: auto; }
.a-toast.is-in { opacity: 1; transform: translateX(0); }
.a-toast i { font-size: 20px; flex-shrink: 0; }
.a-toast--success { border-left-color: #65A30D; } .a-toast--success i { color: #65A30D; }
.a-toast--danger { border-left-color: #DC2626; } .a-toast--danger i { color: #DC2626; }
.a-toast--info { border-left-color: var(--blue); } .a-toast--info i { color: var(--blue); }
.a-btn.is-busy { opacity: .6; pointer-events: none; }

@media (max-width: 640px) {
    .a-fgrid { grid-template-columns: 1fr; }
    .a-live { margin-left: 0; width: 100%; }
}

/* [hidden] özniteliği component display'leri tarafından ezilmesin */
.a-empty[hidden], .a-modal[hidden] { display: none !important; }

/* ============================================================
   Ayarlar — dişli ikon konumları + ayar sayfası
   ============================================================ */
.admin-logo-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-right: 8px; }
.admin-logo-row .admin-logo { flex: 1; min-width: 0; }
.a-gear { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 19px; transition: all .2s var(--ease); flex-shrink: 0; }

/* Sidebar'daki dişli (koyu zemin) */
.admin-side .a-gear { color: #9C9CB4; margin-top: 4px; border: 1px solid transparent; }
.admin-side .a-gear:hover { color: #fff; background: var(--ink-3); transform: rotate(40deg); }
.admin-side .a-gear.is-active { color: var(--lime); background: var(--ink-3); }

/* Üst bardaki dişli (açık zemin) */
.admin-top .a-gear { color: var(--ink); border: 1px solid var(--line); background: #fff; margin-left: auto; }
.admin-top .a-gear:hover { border-color: var(--primary); color: var(--primary); transform: rotate(40deg); }
.admin-top .a-gear.is-active { color: var(--primary); border-color: var(--primary); }
.admin-top .a-gear ~ .admin-top-user { margin-left: 0; }

/* Footer menüsünde aktif görünüm */
.admin-side-foot a.is-active { color: var(--lime); background: var(--ink-3); }

/* Ayarlar sayfası */
.a-card--pad { padding: 22px 24px; }
.a-sec-title { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.a-sec-title i { color: var(--primary); font-size: 21px; }
.a-sec-sub { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.a-sec-sub a { color: var(--primary); font-weight: 600; }
.ay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.ay-side { display: flex; flex-direction: column; gap: 16px; }
.ay-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.ay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ay-opt-box { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 14px 44px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; position: relative; transition: all .18s var(--ease); background: #fff; }
.ay-opt-box > i { position: absolute; left: 14px; top: 15px; font-size: 20px; color: var(--muted); }
.ay-opt-box strong { font-size: 13.5px; color: var(--ink); }
.ay-opt-box small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.ay-opt:hover .ay-opt-box { border-color: var(--primary); }
.ay-opt.is-on .ay-opt-box { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(91, 75, 255, .1); }
.ay-opt.is-on .ay-opt-box > i { color: var(--primary); }
.ay-opt.is-on .ay-opt-box::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* Konum mini önizlemeleri (şematik sidebar/topbar) */
.ay-preview { display: block; margin-top: 8px; height: 44px; border-radius: 8px; background: var(--ink); position: relative; overflow: hidden; }
.ay-preview::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 34%; border-radius: 5px; background: var(--ink-2, #17172B); border: 1px solid var(--ink-3); }
.ay-preview i { position: absolute; color: var(--lime); font-size: 11px; }
.ay-preview--logo i  { left: calc(34% - 16px); top: 9px; }
.ay-preview--nav i   { left: 10px; top: 24px; }
.ay-preview--foot i  { left: 10px; bottom: 9px; }
.ay-preview--top i   { right: 8px; top: 8px; color: var(--primary); }

/* Hesap + sistem kartları */
.ay-account { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--soft); margin-bottom: 12px; }
.ay-account .admin-avatar { width: 44px; height: 44px; font-size: 17px; }
.ay-account > div { display: flex; flex-direction: column; gap: 3px; }
.ay-account strong { font-size: 14.5px; color: var(--ink); }
.ay-sys { list-style: none; display: flex; flex-direction: column; }
.ay-sys li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.ay-sys li:last-child { border-bottom: 0; }
.ay-sys span { color: var(--muted); }
.ay-sys b { font-weight: 600; color: var(--ink); }
.ay-sys code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 11.5px; }

@media (max-width: 960px) {
    .ay-grid { grid-template-columns: 1fr; }
    .ay-opts { grid-template-columns: 1fr; }
}

/* ============================================================
   Dijital Kartlar — hazır baskı tasarımları grid
   ============================================================ */
.a-filter-tabs--big a { padding: 11px 18px; font-size: 13.5px; border-radius: 14px; }
.a-filter-tabs--big a i { font-size: 17px; }
.a-filters .a-chip { text-decoration: none; }
.a-filters .a-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.kt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; padding: 16px; }
.kt-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s, opacity .25s; }
.kt-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px -14px rgba(91, 75, 255, .25); }
.kt-thumb { aspect-ratio: 1.586; border-radius: 10px; overflow: hidden; background: var(--ink); }
.kt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kt-info strong { display: block; font-size: 14px; color: var(--ink); }
.kt-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.kt-specs .a-chip::before { display: none; }
.kt-actions { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.kt-actions .a-btn { margin-right: auto; }
.kt-color { height: 40px; padding: 4px !important; cursor: pointer; }

/* ============================================================
   Siparişler — sayfalama + alt filtre satırı
   ============================================================ */
.a-filters--sub { padding-top: 0; margin-top: -6px; }
.a-flabel { font-size: 12.5px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.a-date { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.a-date input, .a-date select { height: 36px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 12.5px; color: var(--ink); outline: 0; transition: border-color .2s; }
.a-date input:focus, .a-date select:focus { border-color: var(--primary); }

/* Sayfa gezgini */
.a-pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line); }
.a-pager:empty { display: none; }
.a-pg { min-width: 34px; height: 34px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); transition: all .18s var(--ease); }
.a-pg:hover { border-color: var(--primary); color: var(--primary); }
.a-pg.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.a-pg.is-dis { opacity: .4; pointer-events: none; }
.a-pg--dots { border: 0; background: none; color: var(--muted); pointer-events: none; }

@media (max-width: 720px) {
    .a-filters--sub { flex-direction: column; align-items: stretch; }
    .a-date { justify-content: space-between; }
    .a-date input, .a-date select { flex: 1; }
}

/* ==========================================================================
   V2 — Genel modernizasyon (son blok; eşit özgüllükte önceki kuralları ezer)
   ========================================================================== */

body.admin { background: radial-gradient(1000px 500px at 90% -10%, rgba(91, 75, 255, .07), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(215, 255, 58, .06), transparent 55%), var(--soft); }
::selection { background: var(--lime); color: var(--ink); }
.admin a:focus-visible, .admin button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D5D3E6; border-radius: 99px; border: 2px solid var(--soft); }
::-webkit-scrollbar-thumb:hover { background: #B9B6D4; }

/* --- Sidebar ------------------------------------------------------------- */
.admin-side { background: linear-gradient(170deg, #0B0B1A 0%, #101025 55%, #15153A 100%); padding: 18px 14px 20px; }
.admin-logo-row { border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: 14px; padding-bottom: 8px; align-items: center; }
.admin-logo { padding: 8px 10px 14px; }
.admin-nav { gap: 3px; }
.admin-nav a { position: relative; padding: 11px 14px; font-size: 14px; color: #9A9AB8; border-radius: 12px; }
.admin-nav a::before { content: ""; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); width: 4px; height: 0; border-radius: 0 4px 4px 0; background: var(--lime); transition: height .22s var(--ease); }
.admin-nav a i { font-size: 21px; color: #78789A; transition: color .2s, transform .2s var(--ease); }
.admin-nav a:hover { background: rgba(255, 255, 255, .055); color: #fff; }
.admin-nav a:hover i { color: #D9D9EF; transform: scale(1.08); }
.admin-nav a.is-active { background: linear-gradient(90deg, rgba(215, 255, 58, .16), rgba(215, 255, 58, .04)); color: #fff; }
.admin-nav a.is-active::before { height: 58%; }
.admin-nav a.is-active i { color: var(--lime); }
.nav-badge { background: var(--coral); box-shadow: 0 4px 10px -4px rgba(255, 107, 74, .6); }
.nav-badge--lime { background: var(--lime); box-shadow: 0 4px 10px -4px rgba(215, 255, 58, .5); }
.admin-side-foot { border-top-color: rgba(255, 255, 255, .07); margin-top: 14px; }
.admin-side-foot a, .admin-side-foot button { color: #8E8EAC; }
.admin-side-foot a:hover, .admin-side-foot button:hover { background: rgba(255, 255, 255, .055); color: #fff; }

/* --- Üst bar -------------------------------------------------------------- */
.admin-top { padding: 15px 30px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(30, 20, 90, .4); }
.admin-top h1 { font-size: 23px; }
.admin-avatar { background: linear-gradient(135deg, var(--primary), #A14FFF, var(--pink)); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary-50); }
.admin-content { padding: 28px 30px 52px; gap: 20px; }

/* --- Karşılama şeridi ------------------------------------------------------ */
.a-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 28px; border-radius: 22px; background: linear-gradient(115deg, #12122A 0%, #1B1B44 55%, #232356 100%); color: #fff; }
.a-hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 255, 58, .22), transparent 65%); pointer-events: none; }
.a-hero h2 { font-family: var(--f-display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 3px; }
.a-hero-date { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--lime); text-transform: capitalize; }
.a-hero-sub { font-size: 13px; color: #A8A8C8; }
.a-hero-links { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.a-hero-links a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 11px; font-size: 12.5px; font-weight: 700; color: #E9E9F5; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); transition: all .2s var(--ease); }
.a-hero-links a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: translateY(-2px); }
.a-hero-links a b { background: rgba(255, 255, 255, .16); border-radius: 99px; padding: 1px 7px; font-size: 11px; }
.a-hero-links a:hover b { background: rgba(11, 11, 26, .12); }

/* --- İstatistik kartları: ikon döşemesi ------------------------------------ */
.a-stat { background: #fff; border: 1px solid #ECEAF6; box-shadow: var(--shadow); padding: 18px 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.a-stat:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(30, 20, 90, .22); }
.a-stat i { width: 50px; height: 50px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--soft); }
.a-stat strong { font-size: 25px; }
.a-stat--violet { background: #fff; border-color: #ECEAF6; } .a-stat--violet i { background: var(--primary-50); }
.a-stat--lime   { background: #fff; border-color: #ECEAF6; } .a-stat--lime i { background: #F4FFCE; }
.a-stat--coral  { background: #fff; border-color: #ECEAF6; } .a-stat--coral i { background: #FFEDE7; }
.a-stat--blue   { background: #fff; border-color: #ECEAF6; } .a-stat--blue i { background: #E7F1FE; }
.a-stat--gold   { background: #fff; border-color: #ECEAF6; } .a-stat--gold i { background: #FDF3DD; }
.a-stat--dark   { background: linear-gradient(135deg, #14142A, #1E1E40); border-color: #2A2A50; }
.a-stat--dark i { background: rgba(215, 255, 58, .14); color: var(--lime); }

/* --- Kartlar / tablolar ----------------------------------------------------- */
.a-card { border-color: #ECEAF6; box-shadow: var(--shadow); }
.a-card-head h2 { position: relative; padding-left: 13px; }
.a-card-head h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--primary), var(--pink)); }
.a-table th { background: #FAFAFE; padding: 10px 12px; border-bottom-color: #EFEDF8; font-size: 11px; }
.a-table th:first-child { border-radius: 10px 0 0 0; }
.a-table th:last-child { border-radius: 0 10px 0 0; }
.a-table td { border-bottom-color: #F1EFF9; }
.a-table tbody tr:hover { background: #FAF9FF; }

/* --- Sekmeler → segmentli kontrol ------------------------------------------- */
.a-filter-tabs { background: #fff; border: 1px solid #ECEAF6; padding: 5px; border-radius: 15px; box-shadow: var(--shadow); width: max-content; max-width: 100%; overflow-x: auto; gap: 4px; }
.a-filter-tabs a { border: 0; border-radius: 11px; padding: 8px 15px; }
.a-filter-tabs a:hover { background: var(--soft); }
.a-filter-tabs a.is-active { background: var(--ink); box-shadow: 0 6px 14px -6px rgba(11, 11, 26, .45); }

/* --- Buton / chip / uyarı incelikleri ---------------------------------------- */
.a-btn--primary { background: linear-gradient(135deg, #20203C, #0B0B1A); box-shadow: 0 10px 20px -10px rgba(11, 11, 26, .55); }
.a-btn--primary:hover { background: var(--primary); box-shadow: 0 12px 24px -10px rgba(91, 75, 255, .55); transform: translateY(-1px); }
.a-btn--ghost:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.a-chip { padding: 5px 11px; }
.a-alert { border: 1px solid transparent; border-left-width: 4px; border-radius: 13px; }
.a-alert--success { border-color: #BDE8D2; border-left-color: #16B37F; }
.a-alert--error { border-color: #F6CDBB; border-left-color: #FF6B4A; }
.a-alert--info { border-color: #D9D4FF; border-left-color: var(--primary); }
.a-empty { padding: 46px 16px; }

/* --- Grafik ------------------------------------------------------------------ */
.a-chart-col i { background: linear-gradient(180deg, #7B6CFF, var(--pink)); opacity: .4; border-radius: 8px 8px 4px 4px; transition: opacity .2s, transform .2s var(--ease), box-shadow .2s; }
.a-chart-col:hover i { opacity: 1; transform: scaleX(1.12); box-shadow: 0 8px 18px -8px rgba(91, 75, 255, .6); }
.a-chart-col i.is-max { opacity: 1; box-shadow: 0 8px 18px -8px rgba(91, 75, 255, .6); }

/* --- Timeline ----------------------------------------------------------------- */
.a-timeline { padding: 4px 0 2px; }

@media (max-width: 760px) {
    .a-hero { padding: 20px; }
    .a-hero h2 { font-size: 19px; }
}

/* ---------- Ürün yorum yönetimi (editör) ---------- */
.a-reviewlist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.a-reviewrow {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.a-review-stars { display: flex; gap: 2px; color: var(--gold); font-size: 14px; padding-top: 2px; flex-shrink: 0; }
.a-review-body { flex: 1; min-width: 0; }
.a-review-body strong { font-size: 13px; }
.a-review-body p { margin: 4px 0 2px; font-size: 13px; color: var(--text); }
.a-reviewform { border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- Ürünler: vitrin yıldızı + sayfalama dipnotu ---------- */
.a-link--btn.is-feat i { color: var(--gold); }
.a-pager-note { text-align: center; margin: 0; padding: 0 16px 14px; font-size: 12px; color: var(--muted); }

/* ── Ayarlar: ödeme seçenekleri + logo ───────────────── */
.ay-main { display: grid; gap: 16px; align-content: start; }
.ay-side { display: grid; gap: 16px; align-content: start; position: sticky; top: 84px; }
.a-sec-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.55; display: block; }
.ay-opts--mini { grid-template-columns: repeat(4, 1fr); }
.ay-pay { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ay-payopt { cursor: pointer; }
.ay-payopt input { position: absolute; opacity: 0; pointer-events: none; }
.ay-payopt-box { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; transition: all .2s; height: 100%; }
.ay-payopt-box > i { font-size: 30px; color: var(--primary); flex-shrink: 0; }
.ay-payopt-box strong { display: block; font-size: 15px; }
.ay-payopt-box small { color: var(--muted); font-size: 12px; }
.a-check-pill { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); transition: all .2s; }
.ay-payopt input:checked + .ay-payopt-box { border-color: var(--primary); background: #F6F4FF; }
.ay-payopt input:checked + .ay-payopt-box .a-check-pill { background: var(--primary); border-color: var(--primary); box-shadow: inset 0 0 0 3px #fff; }
.a-logo-preview { width: 84px; height: 60px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.a-logo-preview--mark { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.a-logo-preview--mark svg { width: 40px; height: 40px; }
.a-img-current { display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 640px) {
    .ay-pay { grid-template-columns: 1fr; }
    .ay-opts--mini { grid-template-columns: repeat(2, 1fr); }
    .a-img-current { flex-direction: column; }
}

/* ── Ürün: birleşik slayt sıralama (maket + fotoğraf) ── */
.a-gallery--slides { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.a-gallery-item--mock { align-items: stretch; }
.a-mock-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; border-radius: 10px; border: 1.5px dashed var(--line); background: linear-gradient(135deg, #F4F4FA, #EAEAF6); color: var(--primary); font-size: 30px; }
.a-gallery-item small { font-size: 11.5px; color: var(--muted); text-align: center; }
.a-gallery-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(11,11,26,.72); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: background .15s; }
.a-gallery-x:hover { background: #DC2626; }
.a-slide-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.a-slide-add .a-hint { margin: 0; }

/* --- NFC serileri sekmesi --- */
.chip-serial { font-family: 'JetBrains Mono', 'Consolas', monospace; font-weight: 700; letter-spacing: .12em; font-size: 14px; }
.chip-qr { width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--border, #ECECF4); display: block; }
.a-search--sm { flex: 0 1 auto; min-width: 150px; }
.a-search--sm select { width: 100%; }
.a-mini-badge i { margin-right: 3px; }

/* --- Siparişler: toplu işlem çubuğu + seçim sütunu --- */
.a-check { width: 34px; text-align: center !important; }
.a-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; vertical-align: middle; }
.a-bulkbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; margin-bottom: 14px; background: linear-gradient(135deg, #14142B, #232350); color: #fff; border-radius: 14px; box-shadow: 0 10px 26px -12px rgba(20,20,43,.55); }
.a-bulkbar-n { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.a-bulkbar-n i { color: #D7FF3A; font-size: 17px; }
.a-bulkbar-n b { color: #D7FF3A; }
.a-bulkbar select { padding: 8px 12px; border-radius: 9px; border: 1px solid #3A3A66; background: #1C1C40; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.a-bulkbar select:focus { outline: 2px solid #D7FF3A; outline-offset: 1px; }
.a-bulkbar .a-btn--danger { margin-left: auto; }

/* --- Sipariş detayı: kişiselleştirme --- */
.a-custom { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.a-spec--logo { background: #F4FFCE !important; color: #4A6500 !important; text-decoration: none; font-weight: 700; }

/* --- Kategoriler: kart ızgarası + ikon/ton seçici --- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.cat-card:hover { box-shadow: 0 14px 30px -18px rgba(20,20,43,.28); transform: translateY(-2px); }
.cat-card.is-off { opacity: .62; background: var(--soft); }
.cat-card-head { display: flex; align-items: center; gap: 12px; }
.cat-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--tone, #6A5CFF) 14%, #fff); color: var(--tone, #6A5CFF); font-size: 24px; flex-shrink: 0; }
.cat-card-title { min-width: 0; flex: 1; }
.cat-card-title strong { display: block; font-size: 15px; color: var(--ink); }
.cat-card-title small { font-size: 12px; color: var(--muted); word-break: break-all; }
.cat-desc { margin: 0; font-size: 13px; color: var(--text); line-height: 1.55; min-height: 20px; }
.cat-desc em { color: var(--muted); }
.cat-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.cat-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cat-meta i { color: var(--primary); }
.cat-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.cat-actions form { display: inline; }

.cat-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-icon { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 22px; color: var(--muted); transition: all .18s var(--ease); }
.cat-icon:hover { border-color: var(--primary); color: var(--primary); }
.cat-icon input { position: absolute; opacity: 0; pointer-events: none; }
.cat-icon.is-on, .cat-icon:has(input:checked) { border-color: var(--primary); background: var(--primary-50); color: var(--primary); box-shadow: 0 0 0 3px rgba(106,92,255,.14); }
.a-icon-custom { margin-top: 8px; }

.cat-tones { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tone { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: all .18s var(--ease); }
.cat-tone input { position: absolute; opacity: 0; pointer-events: none; }
.cat-tone i { width: 16px; height: 16px; border-radius: 50%; background: var(--tone); }
.cat-tone:hover { border-color: var(--tone); }
.cat-tone.is-on, .cat-tone:has(input:checked) { border-color: var(--tone); color: var(--ink); background: color-mix(in srgb, var(--tone) 10%, #fff); }

/* --- Sipariş detayı: hızlı iletişim --- */
.a-contact { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.a-btn--wa { background: #25D366; color: #fff; }
.a-btn--wa:hover { background: #1EB856; color: #fff; }

/* Ek kategori seçimi */
.a-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* Sipariş detayı — hazır kart serileri */
.a-serials { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.a-serials li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.a-serials img { width: 42px; height: 42px; border-radius: 6px; }
.a-serials span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.a-serials small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Seriler — şablonla toplu baskı */
.a-sheet-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.a-sheet-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.a-sheet-copy strong { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.a-sheet-copy small { color: var(--muted); font-size: 12.5px; }
.a-sheet-form select { flex: 1 1 260px; max-width: 420px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* Blog yönetimi */
.a-editor-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--soft, #F5F5FA); }
.a-editor-bar button { min-width: 34px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.a-editor-bar button:hover { border-color: var(--line); }
.a-editor-bar .a-editor-prev { margin-left: auto; }
.a-editor-bar button.is-on { background: var(--ink); color: #fff; }
.a-code { width: 100%; border-radius: 0 0 12px 12px !important; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.6; }
.a-editor-preview { margin-top: 12px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 12px; background: #fff; max-height: 520px; overflow: auto; }
.a-blog-cover { margin-bottom: 14px; border-radius: 12px; overflow: hidden; }
/* Blog — AI ile görsel üret modalı */
#biModal .a-modal-card { width: min(640px, 100%); padding: 20px 22px; }
#biModal .a-alert { margin: 12px 0 0; }
.bi-body { display: grid; gap: 14px; margin-top: 14px; }
.bi-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bi-result { position: relative; display: grid; place-items: center; border-radius: 12px; overflow: hidden; background: var(--soft, #F5F5FA); border: 1px solid var(--line); max-height: 52vh; }
.bi-result[hidden], .bi-result [hidden] { display: none; }
.bi-result img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bi-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.bi-foot .a-hint { margin-right: auto; }
.bi-cover-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mk-spin--dark { border-color: #DAD6F5; border-top-color: var(--primary); }

/* Blog → Instagram gönderisi (admin/blog-instagram.php) */
.bsi-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.bsi-head h2 { font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.bsi-head-ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); }
.bsi-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.bsi-side, .bsi-main { display: grid; gap: 18px; min-width: 0; }
.bsi-side form { display: grid; gap: 14px; }
.bsi-side .a-form-actions { margin-top: 0; }
.bsi-note { margin: 0; line-height: 1.5; }
.bsi-note code { background: var(--soft, #F5F5FA); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.bsi-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--soft, #F5F5FA); }
.bsi-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bsi-seg span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.bsi-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(11, 11, 26, .25); }
.bsi-tpls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bsi-tpl { display: grid; gap: 5px; cursor: pointer; text-align: center; }
.bsi-tpl input { position: absolute; opacity: 0; pointer-events: none; }
.bsi-tpl small { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.bsi-sw { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 2px solid transparent; outline: 1px solid var(--line); display: grid; place-items: center; transition: transform .15s; }
.bsi-sw b { font-family: var(--f-display); font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.bsi-sw i { position: absolute; left: 7px; bottom: 7px; width: 22px; height: 7px; border-radius: 9px; background: var(--lime); }
.bsi-sw--foto { background: linear-gradient(180deg, #C79866 0%, #6b4226 45%, #0B0B1A 100%); color: #fff; }
.bsi-sw--koyu { background: radial-gradient(circle at 90% 80%, #5B4BFF, #0B0B1A 70%); color: #fff; }
.bsi-sw--mor { background: linear-gradient(160deg, #6A5BFF, #3B2BD9); color: #fff; }
.bsi-sw--mor i { background: var(--ink); }
.bsi-sw--acik { background: linear-gradient(170deg, #fff, #EFEDFF); color: var(--ink); }
.bsi-sw--acik i { background: var(--primary); }
.bsi-tpl input:checked + .bsi-sw { border-color: var(--primary); outline-color: var(--primary); transform: translateY(-2px); }
.bsi-tpl input:checked ~ small { color: var(--primary); }
.bsi-sets { display: grid; gap: 6px; }
.bsi-sets a { display: block; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.bsi-sets a:hover { border-color: var(--primary); }
.bsi-sets li.is-on a { border-color: var(--primary); background: #F4F2FF; }
.bsi-sets strong { display: block; font-size: 13.5px; }
.bsi-sets small { font-size: 12px; color: var(--muted); }
.bsi-actions { display: flex; align-items: center; gap: 8px; }
.bsi-strip { display: flex; gap: 16px; overflow-x: auto; padding: 14px 2px 10px; scroll-snap-type: x proximity; }
.bsi-slide { flex: 0 0 252px; display: grid; gap: 8px; align-content: start; scroll-snap-align: start; }
.bsi-slide .a-field textarea, .bsi-slide .a-field input { font-size: 13px; }
.bsi-slide-name { font-size: 13px; color: var(--ink); }
.bsi-prev { width: 252px; height: 315px; border-radius: 12px; overflow: hidden; background: var(--ink); box-shadow: 0 14px 30px -18px rgba(11, 11, 26, .5); }
.bsi-prev iframe { width: 1080px; height: 1350px; border: 0; transform: scale(.23333); transform-origin: 0 0; pointer-events: none; }
.bsi-files { margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.bsi-files-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.bsi-files-row a { position: relative; display: block; width: 96px; border-radius: 8px; overflow: hidden; outline: 1px solid var(--line); }
.bsi-files-row a:hover { outline: 2px solid var(--primary); }
.bsi-files-row img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bsi-files-row span { position: absolute; left: 6px; top: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.bsi-grid2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.bsi-grid2[hidden] { display: none; }
.bsi-photo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bsi-photo img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.bsi-photo small { color: var(--muted); font-weight: 700; }
.bsi-photo-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 1100px) {
    .bsi-layout, .bsi-grid2 { grid-template-columns: 1fr; }
}
.a-blog-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.a-blog-thumb { flex-shrink: 0; width: 96px; border-radius: 10px; overflow: hidden; }
.a-blog-thumb .post-cover-icon { width: 22%; font-size: 12px; border-radius: 6px; }
.a-blog-title { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.a-blog-title:hover { color: var(--primary); }

/* ==========================================================================
   Siparişler — modern liste (ol-*) ve detay (od-*)
   ========================================================================== */
.a-bulkbar[hidden] { display: none !important; }
.a-btn--dark { background: var(--ink); color: #fff; }
.a-btn--dark:hover { background: #22223A; color: #fff; }

/* Özet kartları */
.ol-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ol-kpi { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
a.ol-kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(11, 11, 26, .35); }
.ol-kpi > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ol-kpi small { font-size: 12px; font-weight: 600; color: var(--muted); }
.ol-kpi strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.ol-kpi em { font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-kpi-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; }
.ol-kpi-ic.tone-violet { background: #EEEBFF; color: #5B4BFF; }
.ol-kpi-ic.tone-gold   { background: #FFF4DC; color: #B7791F; }
.ol-kpi-ic.tone-blue   { background: #E6F0FF; color: #2563EB; }
.ol-kpi-ic.tone-lime   { background: #EEFBD8; color: #3F7D0B; }

/* Filtre çubuğu */
.ol-toolbar { padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.ol-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; scrollbar-width: none; }
.ol-tabs::-webkit-scrollbar { display: none; }
.ol-tabs a { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.ol-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ol-dot.tone-gold { background: #E0A800; } .ol-dot.tone-violet { background: #5B4BFF; } .ol-dot.tone-blue { background: #2563EB; }
.ol-dot.tone-coral { background: #FF6B4A; } .ol-dot.tone-lime { background: #65A30D; } .ol-dot.tone-dark { background: #6B6B80; }
.ol-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.ol-search { flex: 1 1 280px; min-width: 220px; }
.ol-search input { width: 100%; }
.ol-pay { flex-wrap: nowrap; }
.ol-field { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 13px; }
.ol-field input, .ol-field select { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); padding: 0; height: 100%; }
.ol-sep { color: var(--muted); }
.ol-live { margin-left: auto; }

/* Tablo */
.ol-card { overflow: hidden; }
.ol-table tbody tr { cursor: pointer; transition: background .15s; }
.ol-table tbody tr:hover { background: #FAFAFE; }
.ol-no { font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.ol-no:hover { color: var(--primary); }
.ol-items { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-cust { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ol-cust > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ol-cust strong { font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ol-cust small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ol-av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, #8B7BFF, #5B4BFF); }
.ol-pm { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.ol-pm i { color: var(--muted); }
.ol-amt { font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.ol-date { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ol-acts { display: inline-flex; gap: 6px; }
.ol-wa { color: #1EB856; }
.ol-wa:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* Detay */
.od-head { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.od-head-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.od-eyebrow { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.od-no { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 8px; }
.od-copy { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 14px; color: var(--muted); cursor: pointer; }
.od-copy:hover { color: var(--ink); border-color: var(--ink); }
.od-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 13px; color: var(--muted); }
.od-meta span { display: inline-flex; align-items: center; gap: 6px; }
.od-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.od-total { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.od-timeline { padding: 6px 0 0; }
.od-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.od-actions form { display: contents; }
.od-next-hint { font-weight: 600; opacity: .7; margin-left: 2px; }
.od-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.od-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.od-lines { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; }
.od-lines li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.od-lines li:last-child { border-bottom: 0; }
.od-thumb { flex-shrink: 0; width: 76px; height: 60px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: 22px; }
.od-thumb .pv { width: 100%; height: 100%; aspect-ratio: auto; }
.od-thumb .pv-card { width: 78%; }
.od-line-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.od-line-body strong a { color: var(--ink); }
.od-line-body strong a:hover { color: var(--primary); }
.od-line-body small { font-size: 12px; color: var(--muted); }
.od-line-qty { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.od-line-total { min-width: 84px; text-align: right; white-space: nowrap; }
.od-customer { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.od-customer > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.od-customer small { font-size: 12.5px; color: var(--muted); }
.od-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #8B7BFF, #5B4BFF); flex-shrink: 0; }
.od-dl dt { display: inline-flex; align-items: center; gap: 6px; }
.od-note { white-space: pre-line; padding: 8px 10px; border-radius: 10px; background: #FFF8E6; }
.od-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.od-form:last-child { border-bottom: 0; padding-bottom: 0; }
.od-form .a-field { flex: 1; min-width: 0; margin: 0; }
.od-form--note { flex-direction: column; align-items: stretch; }
.od-form--note textarea { width: 100%; }
@media (max-width: 1200px) { .ol-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .od-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ol-kpis { grid-template-columns: 1fr; } .ol-live { margin-left: 0; } .od-head-side { align-items: flex-start; } }

/* Blog editörü — görsel sürükle-bırak */
.a-code.is-drop { outline: 2px dashed var(--primary); outline-offset: -6px; background: #F6F4FF; }
.a-code.is-uploading { opacity: .6; cursor: progress; }
.a-editor-drop { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.a-editor-preview.prose { font-size: 16px; }
.a-editor-preview.prose > p:first-child::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; font-weight: inherit; }

/* Grid sütunları içerik yüzünden taşmasın (1fr = minmax(auto,1fr) davranışı) */
.a-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.a-grid-2--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.a-form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.a-grid-2 > *, .a-form-grid > * { min-width: 0; }
.a-field input[type="file"] { max-width: 100%; }
@media (max-width: 1100px) { .a-grid-2, .a-grid-2--wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .a-form-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Ayarlar — sekmeli düzen (st-*)
   ========================================================================== */
.st-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; min-width: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.st-stat:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(11, 11, 26, .35); }
.st-stat > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.st-stat small { font-size: 12px; color: var(--muted); font-weight: 600; }
.st-stat strong { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.st-ic.is-ok { background: #EEFBD8; color: #3F7D0B; }
.st-ic.is-warn { background: #FFF4DC; color: #B7791F; }
.st-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.st-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.st-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; transition: background .15s, color .15s; }
.st-nav a i { font-size: 19px; color: var(--muted); }
.st-nav a:hover { background: var(--soft); color: var(--ink); }
.st-nav a.is-on { background: var(--ink); color: #fff; }
.st-nav a.is-on i { color: var(--lime); }
.st-panes { min-width: 0; }
.st-head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.st-head h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
.st-head h2 i { color: var(--primary); }
.st-head p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 72ch; }
.st-sub { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--ink); margin: 22px 0 10px; text-transform: none; }
.st-sub:first-of-type { margin-top: 4px; }
.st-logo { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; }
.st-logo > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-check { align-self: end; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.st-check small { display: block; }
.st-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; background: var(--soft); font-size: 13px; color: var(--text); }
.st-note i { font-size: 18px; color: var(--muted); flex-shrink: 0; }
.st-note.is-ok { background: #EEFBD8; color: #2F5F08; } .st-note.is-ok i { color: #3F7D0B; }
.st-note.is-warn { background: #FFF4DC; color: #7A5210; } .st-note.is-warn i { color: #B7791F; }
.st-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.st-presets > span { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.st-presets .a-chip { cursor: pointer; }
.st-preset-note { margin: 0 0 12px; }
.st-row { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: 10px; }
.st-test { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--soft); }
.st-test .a-field { flex: 1; margin: 0; }
.st-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-log li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-log li:last-child { border-bottom: 0; }
.st-log-main { display: flex; flex-direction: column; min-width: 0; }
.st-log-main strong { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-log-main small { font-size: 12px; color: var(--muted); }
.st-log-err { color: #C2410C !important; }
.st-sysgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); align-items: start; }
@media (max-width: 1100px) { .st-status { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .st-layout { grid-template-columns: minmax(0, 1fr); }
    .st-nav { position: static; flex-direction: row; overflow-x: auto; }
    .st-nav a { white-space: nowrap; }
    .st-sysgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .st-status { grid-template-columns: minmax(0, 1fr); } .st-test { flex-direction: column; align-items: stretch; } }

/* Ayarlar — düzeltmeler */
.a-form-grid > .st-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.st-check > span { display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.st-check small { font-weight: 500; color: var(--muted); }
.st-presets .a-chip { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.st-presets .a-chip::before { display: none; }
.st-presets .a-chip:hover, .st-presets .a-chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
label.a-check { width: auto; min-width: 0; padding-left: 0; }
.a-form-grid > label.st-check { padding: 10px 12px; }
label.a-check { text-align: left !important; }

/* Tasarım sihirbazı listesi (tz-*) */
.tz-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 20px 22px; border-radius: 18px; color: #C9C9DD; background: radial-gradient(circle at 92% 0%, rgba(215, 255, 58, .2), transparent 42%), var(--ink); }
.tz-hero h2 { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 20px; margin: 0 0 4px; }
.tz-hero h2 i { color: var(--lime); }
.tz-hero p { margin: 0; font-size: 13.5px; max-width: 64ch; }
.tz-new { display: flex; flex-wrap: wrap; gap: 6px; }
.tz-hero .a-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.tz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.tz-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tz-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 16px; background: radial-gradient(circle at 50% 40%, #fff, #EFEEF8 72%); }
.tz-thumb img { max-width: 88%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 16px 30px -18px rgba(11, 11, 26, .45); }
.tz-status { position: absolute; left: 12px; top: 12px; }
.tz-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; flex: 1; }
.tz-title { font-weight: 800; color: var(--ink); font-size: 15px; }
.tz-title:hover { color: var(--primary); }
.tz-cust { font-size: 12.5px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.tz-feedback { margin: 6px 0 0; padding: 8px 10px; border-radius: 10px; background: #FFF1EE; color: #9A3412; font-size: 12.5px; }
.tz-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.tz-actions form { display: contents; }
.tz-actions .a-btn { margin-right: auto; }

/* ==========================================================================
   AI Mockup Stüdyosu (admin/mockup.php)
   ========================================================================== */
.mk-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; padding: 26px 28px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 0%, rgba(215, 255, 58, .35), transparent 40%), radial-gradient(circle at 0% 100%, rgba(255, 107, 74, .35), transparent 45%), linear-gradient(135deg, #5B4BFF, #2A1F9E); overflow: hidden; }
.mk-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mk-kicker i { color: #D7FF3A; }
.mk-hero h2 { margin: 12px 0 6px; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.mk-hero h2 em { font-style: normal; color: #D7FF3A; }
.mk-hero p { max-width: 58ch; font-size: 14px; opacity: .85; margin: 0; }
.mk-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.mk-hero-side small { font-size: 12.5px; opacity: .8; }
.mk-hero-side .a-btn--ghost { background: rgba(255, 255, 255, .15); color: #fff; border-color: transparent; }
.mk-api { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 107, 74, .9); font-size: 13px; font-weight: 700; }
.mk-api.is-on { background: #D7FF3A; color: #0B0B1A; }
.mk-tabs { margin-bottom: 16px; }
.mk-tabs a { display: inline-flex; align-items: center; gap: 6px; }

.mk-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.mk-picker { position: sticky; top: 16px; display: flex; flex-direction: column; max-height: calc(100vh - 110px); padding: 14px; }
.mk-picker-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mk-picker-head strong { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); }
.mk-picker-head .a-search { width: 100%; }
.mk-plist { list-style: none; margin: 8px -6px 0; padding: 0; overflow-y: auto; }
.mk-plist a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; color: var(--ink); transition: background .15s; }
.mk-plist a:hover { background: #F4F3FA; }
.mk-plist a.is-on { background: #EEEBFF; box-shadow: inset 0 0 0 1.5px var(--primary); }
.mk-plist strong { display: block; font-size: 13px; line-height: 1.25; }
.mk-plist small { display: block; font-size: 11.5px; color: var(--muted); }
.mk-pthumb { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: #F4F3FA; overflow: hidden; }
.mk-pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mk-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mk-empty { display: grid; place-items: center; text-align: center; padding: 70px 24px; }
.mk-empty > i { font-size: 54px; color: var(--primary); }
.mk-empty h3 { margin: 10px 0 4px; font-family: var(--f-display); font-size: 20px; color: var(--ink); }
.mk-empty p { max-width: 46ch; color: var(--muted); font-size: 14px; }

.mk-product { display: flex; gap: 18px; align-items: center; }
.mk-product h3 { font-family: var(--f-display); font-size: 20px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 4px; }
.mk-product .a-hint { margin-top: 6px; }
.mk-product-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.mk-product-links .a-link { display: inline-flex; align-items: center; gap: 5px; }
.mk-src { position: relative; flex-shrink: 0; width: 120px; height: 120px; border-radius: 16px; background: #F4F3FA; overflow: hidden; }
.mk-src img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-src em { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 8px; background: rgba(11, 11, 26, .72); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; text-align: center; }

.mk-step { display: flex; align-items: center; gap: 9px; margin: 4px 0 12px; font-weight: 800; font-size: 15px; color: var(--ink); }
.mk-step > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--ink); color: #D7FF3A; font-size: 12.5px; }
.mk-step .a-hint { font-weight: 500; }
.mk-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 22px; }
.mk-tpl { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.mk-tpl input { position: absolute; opacity: 0; pointer-events: none; }
.mk-tpl-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #F4F3FA; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.mk-tpl-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-tpl-art.is-icon { background: linear-gradient(145deg, #F2F0FF, #E7F4FF); }
.mk-tpl-art.is-icon i { font-size: 34px; color: var(--primary); }
.mk-tpl:hover .mk-tpl-art { transform: translateY(-2px); }
.mk-tpl input:checked + .mk-tpl-art { border-color: var(--primary); box-shadow: 0 10px 22px -12px rgba(91, 75, 255, .7); }
.mk-tpl input:focus-visible + .mk-tpl-art { outline: 3px solid rgba(91, 75, 255, .35); }
.mk-tick { position: absolute; top: 6px; right: 6px; font-size: 22px; color: var(--primary); background: #fff; border-radius: 50%; opacity: 0; transform: scale(.6); transition: .15s; }
.mk-tpl input:checked + .mk-tpl-art .mk-tick { opacity: 1; transform: none; }
.mk-tpl-name { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.mk-tpl-name b { padding: 1px 6px; border-radius: 6px; background: #D7FF3A; font-size: 10.5px; }
.mk-tpl--add .mk-tpl-art { border: 2px dashed #D6D3EA; background: #fff; }
.mk-tpl--add .mk-tpl-art i { color: #A6A2C4; }

.mk-opts { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 12px; }
.mk-opts .a-field--full { grid-column: 1 / -1; }
.mk-go { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mk-cost { margin-left: auto; font-size: 13px; color: var(--muted); }
.mk-cost b { color: var(--ink); }
.mk-btn { min-width: 200px; height: 48px; font-size: 15px; background: linear-gradient(135deg, #5B4BFF, #8A5BFF); box-shadow: 0 14px 26px -14px rgba(91, 75, 255, .9); }
.mk-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.mk-prompt { margin: 14px 0 0; padding: 14px; border-radius: 12px; background: #0B0B1A; color: #C9C6E6; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

.mk-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mk-res { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mk-res > a img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #F4F3FA; }
.mk-res.is-new { box-shadow: 0 0 0 3px rgba(91, 75, 255, .35); animation: a-pop .3s var(--ease); }
.mk-res figcaption { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.mk-res figcaption strong { display: block; font-size: 13.5px; color: var(--ink); }
.mk-res figcaption small { display: block; font-size: 11.5px; color: var(--muted); }
.mk-res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mk-res-actions .a-icon-btn:first-of-type { margin-left: auto; }
.mk-chip { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; transition: .15s; }
.mk-chip:hover { border-color: var(--primary); color: var(--primary); }
.mk-chip.is-on { background: #EEF9D2; border-color: #B8E04A; color: #3C5A00; }
.mk-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1; padding: 20px; text-align: center; background: repeating-linear-gradient(135deg, #F7F6FC 0 14px, #F1EFFA 14px 28px); }
.mk-wait strong { font-size: 13.5px; color: var(--ink); }
.mk-wait small { font-size: 12px; color: var(--muted); }
.mk-res.is-err .mk-wait { background: #FFF5F2; }
.mk-res.is-err .mk-wait i { font-size: 34px; color: #D9480F; }
.mk-res.is-err small { color: #B3401A; }
.mk-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #DAD6F5; border-top-color: var(--primary); animation: mk-spin .8s linear infinite; }
.mk-spin--sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255, 255, 255, .4); border-top-color: #fff; }
@keyframes mk-spin { to { transform: rotate(360deg); } }

/* Şablonlar sekmesi */
.mk-tpl-page { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 16px; align-items: start; }
.mk-tpl-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.mk-tpl-fields { display: flex; flex-direction: column; gap: 12px; }
.mk-drop { display: grid; place-items: center; min-height: 190px; border: 2px dashed #D6D3EA; border-radius: 16px; background: #FBFAFF; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.mk-drop:hover { border-color: var(--primary); }
.mk-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.mk-drop-empty i { font-size: 40px; color: var(--primary); }
.mk-drop-empty strong { color: var(--ink); font-size: 14px; }
.mk-drop img { width: 100%; max-height: 300px; object-fit: contain; }
.mk-tpl-list { display: grid; gap: 10px; }
.mk-tpl-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.mk-tpl-item .mk-tpl-art { width: 72px; }
.mk-tpl-item .mk-tpl-art.is-icon i { font-size: 28px; }
.mk-tpl-item strong { font-size: 14px; color: var(--ink); }
.mk-tpl-item small { display: block; font-size: 12px; color: var(--muted); }
.mk-tpl-item p { margin: 4px 0 0; font-size: 12.5px; color: var(--text, #55546B); line-height: 1.45; }

/* API ayarları modalı */
#mkSettings .a-modal-card { padding: 20px 22px; }
.mk-set-form { display: flex; flex-direction: column; gap: 12px; }
.mk-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mk-check input { width: 16px; height: 16px; accent-color: #D9480F; }
.mk-set-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1100px) {
    .mk-grid, .mk-tpl-page { grid-template-columns: 1fr; }
    .mk-picker { position: static; max-height: 340px; }
}
@media (max-width: 640px) {
    .mk-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
    .mk-hero-side { align-items: flex-start; }
    .mk-opts { grid-template-columns: 1fr 1fr; }
    .mk-opts label:first-child { grid-column: 1 / -1; }
    .mk-go { flex-wrap: wrap; }
    .mk-btn { width: 100%; }
    .mk-product { align-items: flex-start; }
    .mk-src { width: 88px; height: 88px; }
}

/* Mockup şablon modu: yerleştir / ilham */
.mk-modes { display: grid; gap: 8px; }
.mk-mode { position: relative; cursor: pointer; }
.mk-mode input { position: absolute; opacity: 0; pointer-events: none; }
.mk-mode > span { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.mk-mode i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #F2F0FF; color: var(--primary); font-size: 19px; }
.mk-mode strong { font-size: 13.5px; color: var(--ink); }
.mk-mode small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.mk-mode input:checked + span { border-color: var(--primary); background: #F7F5FF; box-shadow: 0 0 0 3px rgba(91, 75, 255, .12); }
.mk-mode input:checked + span i { background: var(--primary); color: #fff; }
.mk-badge { display: inline-block; padding: 1px 7px; border-radius: 6px; background: #EEEBFF; color: var(--primary); font-size: 11px; font-weight: 800; }
.mk-badge--alt { background: #FFF1E0; color: #B45309; }
.mk-tpl-flag { position: absolute; top: 6px; left: 6px; z-index: 1; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 7px; background: rgba(11, 11, 26, .78); color: #D7FF3A; font-size: 10.5px; font-weight: 800; pointer-events: none; }
.mk-source-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk-source-opts label { position: relative; cursor: pointer; }
.mk-source-opts input { position: absolute; opacity: 0; pointer-events: none; }
.mk-source-opts span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--ink); transition: .15s; }
.mk-source-opts span i { font-size: 17px; color: var(--primary); }
.mk-source-opts small { font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.35; }
.mk-source-opts input:checked + span { border-color: var(--primary); background: #F7F5FF; }
.mk-design-up { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 10px 12px; border: 1.5px dashed #D6D3EA; border-radius: 12px; background: #FBFAFF; }
.mk-design-up[hidden] { display: none; }
@media (max-width: 900px) { .mk-source-opts { grid-template-columns: 1fr 1fr; } }

/* Mockup şablon analizi */
.mk-an-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-an-head .a-btn { flex-shrink: 0; }
.mk-an-out { display: block; padding: 9px 11px; border-radius: 10px; background: #F2FBE3; color: #2F4A00; font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.mk-an-out i { color: #5B8C00; }
.mk-an-out em { color: #6B7A55; font-style: normal; }
.mk-an-out.is-err { background: #FFF1EC; color: #B3401A; }
.mk-tpl-edit { margin-top: 8px; }
.mk-tpl-edit summary { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--primary); cursor: pointer; list-style: none; }
.mk-tpl-edit summary::-webkit-details-marker { display: none; }
.mk-tpl-edit form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.mk-tpl-edit input, .mk-tpl-edit select, .mk-tpl-edit textarea { width: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; color: var(--ink); background: #fff; }
.mk-tpl-edit textarea { resize: vertical; line-height: 1.5; }
.mk-tpl-edit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.mk-tpl-item { align-items: start; }

/* Mockup: ön / arka yüz seçimi */
.mk-faces { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-faces label { position: relative; cursor: pointer; }
.mk-faces input { position: absolute; opacity: 0; pointer-events: none; }
.mk-faces span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--ink); transition: .15s; }
.mk-faces span i { font-size: 16px; color: var(--primary); }
.mk-faces small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.mk-faces input:checked + span { border-color: var(--primary); background: #F7F5FF; }
.mk-faces [hidden], [data-mk-faces-field][hidden] { display: none; }
.mk-badge--faces { background: #E7F6FF; color: #0B6AA8; }
.mk-design-up label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }

/* Stüdyo: ürün/tasarım sekmeleri ve gömülü (modal) görünüm */
.mk-ptabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #F2F1F8; }
.mk-ptabs a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 8px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mk-ptabs a.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(11, 11, 26, .3); }
.mk-ptabs b { padding: 0 6px; border-radius: 6px; background: #E7E4F7; font-size: 11px; }
.mk-pthumb--icon { display: grid; place-items: center; color: var(--primary); font-size: 22px; background: #EEEBFF; }
.mk-plist-empty { padding: 14px 8px; font-size: 13px; color: var(--muted); }
.mk-kind { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; padding: 3px 9px; border-radius: 999px; background: #EEEBFF; color: var(--primary); font-size: 11.5px; font-weight: 800; }
.mk-embed { background: #F6F5FB; }
.mk-embed-main { padding: 16px; }
.mk-grid--embed { grid-template-columns: 1fr; }

/* Toplu mockup üretimi */
.mkb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.mkb-bar select { height: 38px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); }
.mkb-only { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.mkb-only input { width: 16px; height: 16px; accent-color: var(--primary); }
.mkb-bar-end { display: flex; gap: 8px; margin-left: auto; }
.mkb-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; max-height: 430px; overflow-y: auto; margin-bottom: 22px; padding: 4px; border-radius: 14px; }
.mkb-p { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.mkb-p[hidden], .mkb-res[hidden] { display: none; }
.mkb-p input { position: absolute; opacity: 0; pointer-events: none; }
.mkb-p-art { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #F4F3FA; border: 2px solid transparent; transition: border-color .15s; }
.mkb-p-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkb-p-art .pv { position: absolute; inset: 0; aspect-ratio: auto; }
.mkb-p input:checked + .mkb-p-art { border-color: var(--primary); box-shadow: 0 10px 22px -12px rgba(91, 75, 255, .7); }
.mkb-p input:checked + .mkb-p-art .mk-tick { opacity: 1; transform: none; }
.mkb-p input:focus-visible + .mkb-p-art { outline: 3px solid rgba(91, 75, 255, .35); }
.mkb-p .mk-tick { z-index: 2; }
.mkb-p-name { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.mkb-p small { font-size: 11px; color: var(--muted); }
.mkb-source { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkb-autos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mkb-auto { position: relative; cursor: pointer; }
.mkb-auto input { position: absolute; opacity: 0; pointer-events: none; }
.mkb-auto > span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--ink); transition: .15s; }
.mkb-auto > span i { font-size: 17px; color: var(--primary); }
.mkb-auto small { font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.35; }
.mkb-auto input:checked + span { border-color: #B8E04A; background: #F6FCE4; }
.mkb-head-side { display: flex; align-items: center; gap: 12px; }
.mkb-head-side b { color: var(--ink); }
.mkb-progress { height: 8px; margin-bottom: 14px; border-radius: 99px; background: #ECEAF6; overflow: hidden; }
.mkb-progress[hidden] { display: none; }
.mkb-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #5B4BFF, #8A5BFF); transition: width .4s; }
.mkb-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mkb-filters { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #F2F1F8; }
.mkb-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.mkb-filters button.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(11, 11, 26, .3); }
.mkb-filters b { padding: 0 6px; border-radius: 6px; background: #E7E4F7; font-size: 11px; }
.mkb-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mkb-bulk .a-btn:disabled { opacity: .45; cursor: not-allowed; }
.mkb-selcount { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mkb-results { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.mkb-res { position: relative; }
.mkb-res.is-sel { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(91, 75, 255, .35); }
.mkb-pick { position: absolute; top: 8px; left: 8px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1.5px solid #CFCBE6; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(11, 11, 26, .4); }
.mkb-pick input { position: absolute; opacity: 0; }
.mkb-pick i { font-size: 15px; color: #fff; opacity: 0; }
.mkb-res.is-sel .mkb-pick { background: var(--primary); border-color: var(--primary); }
.mkb-res.is-sel .mkb-pick i { opacity: 1; }
.mkb-res .mk-wait small { word-break: break-word; }
.mkb-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.mkb-flags small { display: inline; }
@media (max-width: 900px) { .mkb-autos, .mkb-source { grid-template-columns: 1fr; } .mkb-bar-end { margin-left: 0; } }
.a-btn[hidden] { display: none; }

/* Ürün listesi — toplu seçim ve fiyat güncelleme */
.a-bulk-col { width: 36px; padding-right: 0 !important; }
.a-bulk-col input { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }
.a-table tr.is-picked { background: #F7F5FF; }
.a-bulkbar { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px; padding: 12px 14px; border-radius: 14px; background: #0B0B1A; color: #fff; box-shadow: 0 14px 30px -14px rgba(11, 11, 26, .6); }
.a-bulkbar[hidden] { display: none; }
.a-bulkbar strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.a-bulkbar strong i { color: #D7FF3A; }
.a-bulkbar .a-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: #C9C6E6; text-decoration: underline; cursor: pointer; }
.a-bulkbar-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.a-bulkbar-fields input[type=text], .a-bulkbar-fields select { height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); }
.a-bulkbar-fields input[type=text] { width: 130px; }
.a-bulkbar .a-btn--primary { background: #D7FF3A; color: #0B0B1A; box-shadow: none; }

/* AI ile blog yazısı */
.ab-topics, [data-ab-form] textarea[name=brand_notes] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 14px; line-height: 1.55; color: var(--ink); resize: vertical; }
.ab-ideas-bar { display: flex; gap: 8px; margin-top: 10px; }
.ab-ideas-bar input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; }
.ab-ideas { display: grid; gap: 8px; margin-top: 12px; }
.ab-ideas[hidden] { display: none; }
.ab-idea { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: .15s; }
.ab-idea:hover { border-color: var(--primary); }
.ab-idea strong { font-size: 13.5px; color: var(--ink); }
.ab-idea small { grid-column: 1; font-size: 12px; color: var(--muted); line-height: 1.4; }
.ab-idea i { grid-row: span 2; font-size: 18px; color: var(--primary); }
.ab-idea.is-added { background: #F6FCE4; border-color: #B8E04A; }
.ab-idea.is-added i { color: #5B8C00; }
.ab-prompt { margin-top: 14px; }
.ab-prompt summary { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary); cursor: pointer; list-style: none; }
.ab-prompt pre { margin: 10px 0 0; padding: 14px; max-height: 360px; overflow: auto; border-radius: 12px; background: #0B0B1A; color: #C9C6E6; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.ab-jobs { display: grid; gap: 8px; }
.ab-job { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.ab-job-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #F2F0FF; color: var(--primary); font-size: 18px; }
.ab-job.is-hazir .ab-job-ic { background: #EEF9D2; color: #3C5A00; }
.ab-job.is-hata .ab-job-ic { background: #FFF1EC; color: #D9480F; }
.ab-job strong { display: block; font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-job small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.ab-job.is-hata small { color: #B3401A; }
.ab-job-actions { display: flex; align-items: center; gap: 6px; }
.ab-job .mk-spin { width: 18px; height: 18px; border-width: 2px; }
/* Shopier aktarımı */
.sp-settings summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.sp-settings summary::-webkit-details-marker { display: none; }
.sp-settings summary h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.sp-settings { margin-bottom: 16px; }
.sp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); }
.sp-bar-end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.sp-bar .a-btn:disabled { opacity: .45; cursor: not-allowed; }
.sp-err { display: block; max-width: 320px; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: #B3401A; }
[data-sp] .mkb-progress { margin: 0; border-radius: 0; height: 4px; }
[data-sp] tr[hidden] { display: none; }
/* Instagram içerikleri */
.ig-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.ig-top .sp-settings { margin: 0; }
.ig-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; margin-top: 6px; }
.ig-cats .a-check { width: auto; text-align: left !important; font-weight: 600; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.ig-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.ig-card.is-today { box-shadow: 0 0 0 2px rgba(91, 75, 255, .3); }
.ig-art { position: relative; display: block; aspect-ratio: 4 / 5; background: #F4F3FA; }
.ig-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-art.mk-wait { aspect-ratio: 4 / 5; }
.ig-card.is-hata .ig-art { background: #FFF5F2; }
.ig-card.is-hata .ig-art i { font-size: 34px; color: #D9480F; }
.ig-card.is-hata .ig-art small { color: #B3401A; word-break: break-word; }
.ig-card.is-sirada .ig-art i { font-size: 34px; color: var(--primary); }
.ig-posted { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; background: #D7FF3A; color: #0B0B1A; font-size: 11.5px; font-weight: 800; }
.ig-body { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.ig-meta { font-size: 12px; color: var(--muted); }
.ig-meta b { color: var(--ink); }
.ig-prod { font-size: 13.5px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.ig-idea { margin: 0; padding: 8px 10px; border-radius: 10px; background: #F7F5FF; font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.ig-idea i { color: var(--primary); }
.ig-caption, .ig-tags { width: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 12.5px; line-height: 1.5; color: var(--ink); resize: vertical; }
.ig-tags { color: #1D5DBF; }
.ig-note { font-size: 11px; color: var(--muted); }
.ig-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 1100px) { .ig-top { grid-template-columns: 1fr; } }.ig-setn { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: rgba(255, 255, 255, .25); font-size: 11px; }
.st-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Toplu üretim — mockup durumu filtresi ve rozet */
.mkb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 12px; }
.mkb-chips .a-chip { cursor: pointer; border: 0; font: inherit; }
.mkb-chips .a-chip b { margin-left: 2px; opacity: .7; }
.mkb-shown { margin-left: auto; }
.mkb-p-mk { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; }
.mkb-p-mk.is-q { background: var(--gold, #F5B83D); color: var(--ink); }
/* NFC serileri — stok özeti ve dinamik hedef */
.chip-stock { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0 0 16px; }
.chip-stock-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .15s; }
.chip-stock-item:hover { border-color: var(--primary); }
.chip-stock-item i { font-size: 26px; color: var(--primary); }
.chip-stock-item strong { display: block; font-family: var(--f-display); font-size: 22px; line-height: 1; }
.chip-stock-item small { font-size: 12px; color: var(--muted); }
.chip-target { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
#chip-target label[hidden] { display: none; }

/* --- Instagram: tasarımlı görsel + tasarım penceresi (assets/js/instagram-studio.js) --- */
.ig-art-main { display: block; width: 100%; height: 100%; }
.ig-art-raw { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ig-art.show-raw .ig-art-raw { opacity: 1; }
.ig-flip { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 0; border-radius: 999px; background: rgba(11, 11, 26, .72); color: #fff; font-size: 11.5px; font-weight: 700; cursor: pointer; backdrop-filter: blur(6px); }
.ig-design-btn { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(11, 11, 26, .45); opacity: 0; transition: opacity .18s, transform .18s var(--ease); }
.ig-design-btn i { color: var(--primary); }
.ig-art:hover .ig-design-btn, .ig-design-btn:focus-visible { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .ig-design-btn { opacity: 1; transform: translate(-50%, 0); } }

.ig-studio .ig-studio-card { width: min(1040px, 100%); max-height: 92vh; }
.ig-studio-body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 22px; padding: 18px 22px 22px; }
.ig-studio-prev { display: flex; flex-direction: column; gap: 8px; align-items: center; position: sticky; top: 0; align-self: start; }
.ig-frame { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--soft); box-shadow: 0 18px 40px -20px rgba(11, 11, 26, .45); container-type: inline-size; }
.ig-frame iframe { position: absolute; top: 0; left: 0; width: 1080px; height: 1350px; border: 0; transform-origin: 0 0; transform: scale(calc(100cqw / 1080px)); }
@supports not (width: 1cqw) { .ig-frame iframe { transform: scale(.35); } }
.ig-frame-wait { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .55); }
.ig-frame-wait[hidden] { display: none; }
.ig-studio-card form.ig-studio-ctl { padding: 0; display: grid; gap: 16px; align-content: start; }
.igs-block { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--soft); }
.igs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.igs-head strong { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); }
.igs-head strong i { color: var(--primary); }
.igs-block .a-field input, .igs-block .a-field textarea, .igs-tone { width: 100%; background: #fff; }
.igs-tone { height: 38px; padding: 0 12px; border: 1.5px dashed var(--line); border-radius: 11px; font-size: 13px; outline: 0; }
.igs-tone:focus { border-color: var(--primary); }
.igs-block .a-field textarea { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 11px; font: inherit; resize: vertical; }
.igs-sugs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.igs-sugs[hidden] { display: none; }
.igs-sug { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.igs-sug:hover { border-color: var(--primary); }
.igs-sug.is-on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.igs-sug strong { font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.igs-sug small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.igs-sug em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--primary); }
.igs-sug-wait { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.igs-sug-wait.is-bad, .igs-msg.is-bad { color: #C0391B; }
.igs-block .sb-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: #fff; }
.igs-block .sb-seg input { position: absolute; opacity: 0; pointer-events: none; }
.igs-block .sb-seg span { display: block; padding: 8px 6px; border-radius: 9px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.igs-block .sb-seg input:checked + span { background: var(--ink); color: #fff; }
.igs-logo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.igs-logo[hidden] { display: none; }
.igs-logo .a-btn { background: #fff; cursor: pointer; }
.igs-logo-prev { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: repeating-conic-gradient(#EDEBF7 0 25%, #fff 0 50%) 0 / 12px 12px; overflow: hidden; }
.igs-logo-prev img { max-width: 88%; max-height: 88%; object-fit: contain; }
.igs-logo-prev i { font-size: 24px; color: var(--muted); }
.igs-msg { margin: 0; }
.igs-msg[hidden] { display: none; }
.igs-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.igs-actions .a-btn--primary { flex: 1; justify-content: center; max-width: 260px; }
@media (max-width: 820px) {
    .ig-studio-body { grid-template-columns: 1fr; }
    .ig-studio-prev { position: static; max-width: 320px; margin: 0 auto; width: 100%; }
}

/* --- Instagram "Şimdi üret" → Gönderiyi tasarla --- */
.ig-gen-design { display: grid; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--soft); }
.ig-gen-head { display: flex; flex-direction: column; gap: 2px; }
.ig-gen-head strong { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); }
.ig-gen-head strong i { color: var(--primary); }
.ig-gen-tpls { grid-template-columns: repeat(5, 1fr); }
.bsi-sw--ham { background: repeating-conic-gradient(#E6E4F2 0 25%, #fff 0 50%) 0 / 14px 14px; color: var(--muted); }
.bsi-sw--ham i { position: static; width: auto; height: auto; background: none; font-size: 22px; }
.bsi-tpl input:checked + .bsi-sw { border-color: var(--primary); }
.ig-gen-opts { display: grid; gap: 12px; }
.ig-gen-opts[hidden], [data-ig-slogan][hidden], .ig-gen-logo[hidden] { display: none; }
.ig-gen-manual { display: grid; gap: 10px; }
.ig-gen-opts .a-field input { width: 100%; background: #fff; }
.ig-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; }
.ig-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ig-seg span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 6px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.ig-seg input:checked + span { background: var(--ink); color: #fff; }
.ig-seg input:focus-visible + span { outline: 2px solid var(--primary); }
.ig-gen-default { font-size: 12.5px; }
@media (max-width: 560px) { .ig-gen-tpls { grid-template-columns: repeat(3, 1fr); } }
.ig-gen-default { width: auto; text-align: left !important; }

/* --- Trendyol (admin/trendyol.php) ----------------------------------------- */
.ty-head { margin-bottom: 16px; }
.ty-search { flex: 1 1 280px; }
.ty-search .a-search { width: 100%; }
.ty-status-tabs { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ty-status-tabs .a-filter-tabs a { padding: 6px 12px; font-size: 12.5px; }
.ty-notice { margin: 12px 14px 0; }
.ty-notice[hidden] { display: none; }
.ty-lines-cell { max-width: 320px; font-size: 13px; line-height: 1.45; }
.ty-detail-card { width: min(760px, 100%); }
.ty-detail-card form, .ty-detail-body { padding: 18px 22px 22px; }
.ty-detail-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; }
.ty-cargo { margin-left: auto; font-size: 13px; color: var(--muted); }
.ty-lines { margin-bottom: 16px; }
.ty-lines td small { display: block; }
.ty-addrs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ty-addr { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13px; line-height: 1.5; }
.ty-addr h4 { margin: 0 0 4px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ty-addr p { margin: 0; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ty-inv, .ty-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ty-inv input, .ty-pick input { height: 36px; min-width: 200px; flex: 1; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; outline: 0; }
.ty-inv input:focus, .ty-pick input:focus { border-color: var(--primary); }
.ty-msg { margin: 12px 0 0; font-size: 13px; font-weight: 600; }
.ty-msg.is-ok { color: #3C7A12; }
.ty-msg.is-err { color: #B3401A; }
.ty-results { display: flex; flex-direction: column; max-height: 260px; overflow-y: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; }
.ty-results[hidden] { display: none; }
.ty-results button { padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.ty-results button:hover { background: var(--primary-50); }
.ty-results button small { color: var(--muted); }
.ty-results p { margin: 0; padding: 10px 12px; }
.ty-picked { margin: 12px 0; font-size: 13.5px; }
.ty-picked i { color: #3C7A12; }
.ty-attrs h4 { margin: 4px 0 10px; font-size: 13px; }
.ty-attrs .a-field select + input { margin-top: 6px; }
.ty-opt { margin-top: 14px; }
.ty-opt summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.ty-req { color: #D14E2B; }
.ty-cats-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ty-cats-head h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; }
.ty-cats-head p { max-width: 720px; margin: 0; }
.ty-brand > span { display: block; margin-bottom: 6px; }

/* --- Sipariş detayı: kargo + Paraşüt kartları ------------------------------ */
.od-form--kargo { flex-wrap: wrap; }
.od-form--kargo .a-field { flex: 1 1 180px; }
.od-form--kargo .a-check { flex: 1 1 100%; }
.od-kargo-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.od-kargo-acts form { margin: 0; }
.od-pad { margin: 0; padding: 4px 0 2px; }

/* ==========================================================================
   Ürünler listesi (admin/urunler.php) — modern araç çubuğu, maket görseller, işlem menüsü
   ========================================================================== */
.pl-head { display: flex; align-items: center; gap: 14px; margin: 18px 0 12px; }
.pl-cats { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 5px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pl-cats a { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 12px; border-radius: 11px; font-size: 13px; font-weight: 600; color: var(--muted, #6B6A80); text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.pl-cats a i { font-size: 15px; }
.pl-cats a b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 11px; text-align: center; }
.pl-cats a:hover { background: var(--soft); color: var(--ink); }
.pl-cats a.is-active { background: var(--ink); color: #fff; }
.pl-cats a.is-active b { background: var(--lime); color: var(--ink); }
.pl-head-acts { display: flex; gap: 8px; flex: none; }

.pl-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pl-search { position: relative; flex: 1 1 260px; min-width: 200px; }
.pl-search > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted, #6B6A80); }
.pl-search input { width: 100%; height: 42px; padding: 0 38px 0 40px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); font: inherit; font-size: 14px; color: var(--ink); outline: 0; transition: border-color .15s, background .15s; }
.pl-search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(91, 75, 255, .1); }
.pl-search-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--muted, #6B6A80); }
.pl-search-x:hover { background: var(--line); color: var(--ink); }
.pl-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--soft); }
.pl-seg a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted, #6B6A80); text-decoration: none; white-space: nowrap; }
.pl-seg a:hover { color: var(--ink); }
.pl-seg a.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(11, 11, 26, .22); }
.pl-pill { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.pl-pill i { color: #E0A400; }
.pl-pill b { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--soft); }
.pl-pill.is-active { border-color: #E0A400; background: #FFF8DF; }
.pl-sort { position: relative; display: inline-flex; align-items: center; }
.pl-sort i { position: absolute; left: 12px; color: var(--muted, #6B6A80); pointer-events: none; }
.pl-sort select { height: 42px; padding: 0 30px 0 34px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pl-reset { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }

.pl-table td { vertical-align: middle; }
.pl-table tbody tr { transition: background .15s; }
.pl-table tbody tr:hover { background: #FBFAFF; }
.pl-th-acts { text-align: right; }
.pl-prod { display: flex; align-items: center; gap: 14px; min-width: 280px; }
.pl-art { flex: none; display: block; width: 84px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(11, 11, 26, .06); }
.pl-art .pv { aspect-ratio: 4 / 3; }
.pl-art .pv::before { filter: blur(10px); }
.pl-prod-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-name { font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.pl-name:hover { color: var(--primary); }
.pl-slug { font-size: 11.5px; color: var(--muted, #6B6A80); font-family: ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.pl-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.pl-tags:empty { display: none; }
.pl-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 700; color: var(--ink); }
.pl-tag--star { background: #FFF5D6; color: #8A6200; }
.pl-cat { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--soft); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pl-more-cat { font-size: 11px; font-weight: 700; color: var(--primary); cursor: help; }
.pl-price { white-space: nowrap; }
.pl-price strong { display: block; font-size: 14.5px; color: var(--ink); }
.pl-price small { font-size: 11.5px; color: var(--muted, #6B6A80); }
.pl-price small b { color: #D9433A; }
.pl-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pl-stock i { width: 8px; height: 8px; border-radius: 50%; background: #2FB36B; }
.pl-stock.is-low { color: #8A6200; }
.pl-stock.is-low i { background: #E0A400; }
.pl-stock.is-out { color: #D9433A; }
.pl-stock.is-out i { background: #D9433A; }
.pl-rate strong { display: flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.pl-rate strong i { color: #F5B400; }
.pl-rate small { font-size: 11.5px; color: var(--muted, #6B6A80); white-space: nowrap; }
.pl-switch { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted, #6B6A80); cursor: pointer; white-space: nowrap; }
.pl-switch span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #D7D5E4; transition: background .2s; flex: none; }
.pl-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.pl-switch.is-on { color: #2B8A3E; }
.pl-switch.is-on span { background: #2FB36B; }
.pl-switch.is-on span::after { transform: translateX(16px); }
.pl-switch:focus-visible span { outline: 2px solid var(--primary); outline-offset: 2px; }
.pl-acts { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.pl-acts form { display: inline; margin: 0; }
.pl-edit { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.pl-edit:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.pl-ib { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; cursor: pointer; text-decoration: none; list-style: none; transition: border-color .15s, background .15s, color .15s; }
.pl-ib::-webkit-details-marker { display: none; }
.pl-ib:hover { border-color: var(--primary); color: var(--primary); }
.pl-ib.is-feat { color: #E0A400; border-color: #F3D77A; background: #FFF8DF; }
.pl-ib[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; pointer-events: none; z-index: 5; }
.pl-menu { position: relative; }
.pl-menu[open] > .pl-ib { border-color: var(--primary); color: var(--primary); }
.pl-menu[open] > .pl-ib::after { display: none; }
.pl-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(30, 20, 90, .35); }
.pl-menu-pop a, .pl-menu-pop button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.pl-menu-pop a:hover, .pl-menu-pop button:hover { background: var(--soft); color: var(--primary); }
.pl-menu-pop i { font-size: 16px; color: var(--muted, #6B6A80); }
.pl-menu-pop small { margin-left: auto; font-size: 11px; color: var(--muted, #6B6A80); }
.pl-menu-pop form { display: block; }
.pl-menu-pop hr { margin: 5px 4px; border: 0; border-top: 1px solid var(--line); }
.pl-menu-h { display: block; padding: 6px 10px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6B6A80); }
.pl-table tr.is-passive .pl-art, .pl-table tr.is-passive .pl-name { opacity: .55; }
@media (max-width: 1100px) { .pl-head { flex-direction: column; align-items: stretch; } .pl-head-acts { justify-content: flex-end; } }
@media (max-width: 640px) { .pl-reset { margin-left: 0; } .pl-search { flex-basis: 100%; } }
.pl-table th, .pl-table td { padding-left: 10px; padding-right: 10px; }
.pl-prod { min-width: 250px; }
.pl-slug { max-width: 230px; }
.pl-switch b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pl-search { flex: 1 1 220px; }
.pl-table th.pl-th-acts { text-align: right; }
.admin-logo svg, .login-logo svg { color: var(--primary); }

/* ============================================================
   Sidebar — gruplu (açılır/kapanır) menü
   ============================================================ */
.admin-nav { min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.admin-nav::-webkit-scrollbar { width: 6px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border: 0; }
.admin-nav::-webkit-scrollbar-track { background: transparent; }
.admin-nav a > span:not(.nav-badge) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-nav a::before { left: -6px; }

.nav-group { border-radius: 14px; transition: background .2s; }
.nav-group[open] { background: rgba(255, 255, 255, .025); }
.nav-group > summary { list-style: none; position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #9A9AB8; cursor: pointer; user-select: none; transition: background .2s, color .2s; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary > i:first-child { font-size: 21px; color: #78789A; transition: color .2s; }
.nav-group > summary:hover { background: rgba(255, 255, 255, .055); color: #fff; }
.nav-group > summary:hover > i:first-child { color: #D9D9EF; }
.nav-group > summary:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.nav-group.has-active > summary { color: #fff; }
.nav-group.has-active > summary > i:first-child { color: var(--lime); }
.nav-caret { margin-left: auto; font-size: 13px; opacity: .55; transition: transform .25s var(--ease); }
.nav-badge + .nav-caret { margin-left: 0; }
.nav-group[open] > summary .nav-caret { transform: rotate(180deg); }
.nav-group[open] > summary .nav-badge--sum { display: none; }
.nav-group[open] > summary .nav-badge--sum + .nav-caret { margin-left: auto; }

.nav-sub { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 2px 0 8px 22px; }
.nav-sub::before { content: ""; position: absolute; left: 24px; top: 2px; bottom: 10px; width: 1px; background: rgba(255, 255, 255, .08); }
.admin-nav .nav-sub a { padding: 8px 12px 8px 16px; font-size: 13.5px; gap: 9px; }
.admin-nav .nav-sub a i { font-size: 18px; }
.admin-nav .nav-sub a::before { left: -20px; }
.admin-nav .nav-sub a.is-active { background: rgba(215, 255, 58, .1); }
.nav-group[open] > .nav-sub { animation: navSubIn .22s var(--ease); }
@keyframes navSubIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-group[open] > .nav-sub { animation: none; } .nav-caret { transition: none; } }
