:root{
    --bg:#07080b;
    --panel:#101218;
    --panel2:#171a22;
    --line:rgba(255,255,255,.10);
    --text:#f4f5f7;
    --muted:#a6aab5;
    --red:#e42027;
    --red2:#ff4a4f;
    --gold:#ffd08a;
    --green:#21c77a;
    --shadow:0 24px 80px rgba(0,0,0,.38);
    --radius:22px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:radial-gradient(circle at top left,rgba(228,32,39,.18),transparent 30%),radial-gradient(circle at top right,rgba(255,208,138,.10),transparent 22%),var(--bg);color:var(--text);line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}.container{width:min(1180px,92%);margin-inline:auto}.topbar{position:sticky;top:0;z-index:20;background:rgba(7,8,11,.78);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.nav-wrap{height:92px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;min-width:0}.brand-premium{height:66px;width:365px;padding:0;background:transparent;border:0;box-shadow:none}.brand-image img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(228,32,39,.12))}.nav{display:flex;align-items:center;gap:18px;color:#d9dce3;font-size:14px}.nav a{opacity:.9}.nav a:hover{opacity:1;color:var(--gold)}.btn-mini,.btn,.btn-secondary,.btn-danger{border:0;border-radius:999px;padding:12px 18px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-mini,.btn{background:linear-gradient(135deg,var(--red),var(--red2));color:white;box-shadow:0 16px 38px rgba(228,32,39,.25)}.btn-secondary{background:#222631;border:1px solid var(--line);color:white}.btn-danger{background:#431318;color:#fff;border:1px solid rgba(255,74,79,.30)}.pill{font-size:12px;background:var(--red);padding:3px 8px;border-radius:20px;margin-left:4px}.nav-toggle{display:none;background:#20232d;color:white;border:1px solid var(--line);border-radius:12px;padding:9px 12px}.hero{padding:72px 0 54px}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:34px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid rgba(255,208,138,.22);background:rgba(255,208,138,.07);color:var(--gold);border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;letter-spacing:.3px}.hero h1{font-size:clamp(40px,6vw,76px);line-height:.96;margin:18px 0}.gradient-text{background:linear-gradient(135deg,#fff,var(--gold));-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{color:var(--muted);font-size:18px;max-width:680px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.hero-card{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid var(--line);border-radius:32px;padding:24px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-card::before{content:"";position:absolute;inset:-40% -20% auto auto;width:280px;height:280px;border-radius:50%;background:rgba(228,32,39,.22);filter:blur(32px)}.car-badge{aspect-ratio:1.3;border-radius:26px;background:linear-gradient(135deg,#1e222d,#0d0f14);display:grid;place-items:center;position:relative;border:1px solid var(--line);overflow:hidden}.car-line{width:78%;height:42%;border:18px solid var(--red);border-bottom:0;border-radius:220px 220px 0 0;filter:drop-shadow(0 10px 18px rgba(228,32,39,.35))}.showcase-poster{border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0d0f14;box-shadow:0 18px 48px rgba(0,0,0,.28)}.showcase-poster img{display:block;width:100%;height:auto}.hero-card .stat-row{margin-top:18px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.stat{background:rgba(255,255,255,.05);border:1px solid var(--line);border-radius:18px;padding:14px}.stat strong{display:block;font-size:24px;color:#fff}.stat span{font-size:12px;color:var(--muted)}.section{padding:44px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.section-head h2{font-size:34px;margin:0}.section-head p{color:var(--muted);margin:6px 0 0}.grid{display:grid;gap:18px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.category-card,.product-card,.panel,.auth-card,.table-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 16px 48px rgba(0,0,0,.24)}.category-card{padding:22px;min-height:150px}.category-card h3,.product-card h3{margin:0 0 8px}.category-card p,.product-card p,.muted{color:var(--muted)}.category-icon{width:46px;height:46px;border-radius:15px;background:rgba(228,32,39,.15);display:grid;place-items:center;color:var(--gold);font-weight:900;margin-bottom:16px}.product-card{overflow:hidden}.product-img{height:210px;background:#0e1118;object-fit:cover;width:100%}.product-body{padding:18px}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.price{font-size:22px;font-weight:900;color:var(--gold)}.stock{font-size:12px;color:var(--muted);padding:5px 9px;background:rgba(255,255,255,.06);border-radius:999px}.form{display:grid;gap:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field label{display:block;font-weight:800;margin:0 0 7px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);background:#0c0e13;color:#fff;border-radius:15px;padding:13px 14px;outline:none}.field textarea{min-height:120px;resize:vertical}.auth-wrap{min-height:70vh;display:grid;place-items:center;padding:44px 0}.auth-card{width:min(520px,100%);padding:28px}.admin-layout{display:grid;grid-template-columns:255px 1fr;gap:22px;padding:28px 0 54px}.admin-sidebar{background:#0d0f14;border:1px solid var(--line);border-radius:24px;padding:18px;align-self:start;position:sticky;top:98px}.admin-sidebar a{display:block;padding:12px 13px;border-radius:14px;color:#cfd3dc}.admin-sidebar a:hover,.admin-sidebar a.active{background:rgba(228,32,39,.14);color:#fff}.admin-main{min-width:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.mini-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));border:1px solid var(--line);border-radius:18px;padding:18px}.mini-card strong{font-size:28px;display:block}.table-card{overflow:hidden}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.table th{color:var(--gold);font-size:13px;background:rgba(255,255,255,.04)}.table tr:last-child td{border-bottom:0}.thumb{width:72px;height:56px;object-fit:cover;border-radius:12px;background:#111}.status{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;background:rgba(255,208,138,.12);color:var(--gold);border:1px solid rgba(255,208,138,.18)}.cart-line{display:grid;grid-template-columns:92px 1fr auto;gap:16px;align-items:center;padding:16px;border-bottom:1px solid var(--line)}.cart-line:last-child{border-bottom:0}.qty{width:78px}.total-box{padding:22px;background:rgba(255,255,255,.05);border:1px solid var(--line);border-radius:20px}.alert{margin-top:16px;padding:13px 16px;border-radius:15px}.alert.success{background:rgba(33,199,122,.12);border:1px solid rgba(33,199,122,.22)}.alert.error{background:rgba(228,32,39,.12);border:1px solid rgba(228,32,39,.26)}.footer{margin-top:54px;border-top:1px solid var(--line);background:#06070a;padding:42px 0 18px}.footer-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:24px}.footer p,.footer-link{color:var(--muted)}.footer-link{display:block;margin:8px 0}.copyright{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;color:#8e93a0;text-align:center}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.detail-img{border-radius:28px;min-height:440px;object-fit:cover;background:#111;width:100%}.badges{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.badge{border:1px solid var(--line);background:rgba(255,255,255,.06);padding:8px 12px;border-radius:999px;color:#cfd3dc}.empty{padding:28px;text-align:center;color:var(--muted)}.preview-img{width:180px;height:130px;object-fit:cover;border-radius:16px;border:1px solid var(--line);background:#111;margin-top:10px}.actions{display:flex;flex-wrap:wrap;gap:8px}.hero-mini{padding:38px 0 12px}.hero-mini h1{font-size:44px;margin:0}.hero-mini p{color:var(--muted)}

.public-info{padding:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.public-info h2{margin:12px 0 8px;font-size:30px}.footer-premium{grid-template-columns:1.25fr .85fr .85fr .95fr}.footer-box{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:18px}.footer-about{background:linear-gradient(180deg,rgba(228,32,39,.10),rgba(255,255,255,.03))}.footer-fast p{margin-bottom:14px}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}.back-top{color:var(--gold);font-weight:800}.footer a:hover{color:var(--gold)}
@media(max-width:900px){.nav-wrap{height:84px}.brand-premium{width:285px;height:54px;padding:0}.brand-image img{height:100%;max-width:100%}.nav-toggle{display:block}.nav{display:none;position:absolute;left:4%;right:4%;top:84px;flex-direction:column;align-items:stretch;background:#0d0f14;border:1px solid var(--line);border-radius:20px;padding:14px}.nav.open{display:flex}.hero-grid,.product-detail,.admin-layout,.footer-grid,.footer-premium{grid-template-columns:1fr}.public-info,.footer-bottom{flex-direction:column;align-items:flex-start}.grid-4,.grid-3,.cards{grid-template-columns:1fr 1fr}.admin-sidebar{position:static}.form-row{grid-template-columns:1fr}.cart-line{grid-template-columns:72px 1fr}}
@media(max-width:560px){.nav-wrap{height:76px}.brand-premium{width:220px;height:42px;padding:0}.brand-image img{height:100%;max-width:100%}.grid-4,.grid-3,.cards{grid-template-columns:1fr}.hero{padding-top:40px}.hero-actions{flex-direction:column}.btn,.btn-secondary,.btn-danger{width:100%}.stat-row{grid-template-columns:1fr}.table{font-size:13px}.table th:nth-child(4),.table td:nth-child(4){display:none}.hero-mini h1{font-size:34px}}


/* Premium ikonlu footer */
.footer-luxury{position:relative;overflow:hidden;margin-top:60px;border-top:1px solid rgba(255,255,255,.10);background:radial-gradient(circle at 12% 0%,rgba(228,32,39,.24),transparent 34%),radial-gradient(circle at 88% 12%,rgba(255,208,138,.13),transparent 30%),linear-gradient(180deg,#08090d,#040507 82%);padding:30px 0 18px}.footer-luxury::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);pointer-events:none}.footer-glow{position:absolute;left:50%;top:-90px;translate:-50% 0;width:560px;height:190px;background:rgba(228,32,39,.18);filter:blur(70px);border-radius:50%;pointer-events:none}.footer-luxury .container{position:relative;z-index:1}.footer-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.footer-mini-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,208,138,.24);background:rgba(255,208,138,.07);color:var(--gold);border-radius:999px;padding:9px 14px;font-weight:900;font-size:13px;letter-spacing:.2px}.footer-socials{display:flex;flex-wrap:wrap;gap:10px}.footer-socials a{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.055);border-radius:999px;padding:9px 13px;color:#fff;font-weight:800;font-size:13px}.footer-socials a:hover{border-color:rgba(255,208,138,.36);background:rgba(255,208,138,.08);color:var(--gold)}.footer-advanced{grid-template-columns:1.35fr .95fr .9fr 1fr;gap:16px}.footer-luxury .footer-box{position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));border:1px solid rgba(255,255,255,.10);border-radius:26px;padding:20px;box-shadow:0 18px 50px rgba(0,0,0,.23)}.footer-luxury .footer-box::after{content:"";position:absolute;inset:auto -40px -60px auto;width:130px;height:130px;background:rgba(228,32,39,.13);filter:blur(26px);border-radius:50%}.footer-luxury .footer-about{background:linear-gradient(160deg,rgba(228,32,39,.18),rgba(255,255,255,.045) 58%,rgba(255,208,138,.06))}.footer-brand-big{margin-bottom:14px}.footer-logo-mark{width:58px;height:58px;border-radius:20px;font-size:19px;border:1px solid rgba(255,208,138,.24);box-shadow:0 20px 45px rgba(228,32,39,.34),inset 0 0 0 1px rgba(255,255,255,.12)}.footer-brand-big strong{font-size:23px;letter-spacing:.5px}.footer-brand-big small{font-size:12px;color:var(--gold);letter-spacing:2px}.footer-luxury h4{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#fff;font-size:17px}.footer-luxury p{color:#c1c5cf;margin:0 0 14px}.footer-trust-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.footer-trust-row span{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.10);border-radius:999px;padding:7px 10px;color:#f1f2f5;font-size:12px;font-weight:800}.footer-contact{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.075)}.footer-contact:last-child{border-bottom:0}.footer-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;background:rgba(228,32,39,.14);border:1px solid rgba(228,32,39,.20)}.footer-contact small{display:block;color:var(--muted);font-size:11px}.footer-contact strong{display:block;color:#fff;font-size:14px;line-height:1.25}.footer-contact:hover strong{color:var(--gold)}.footer-product-list{display:grid;gap:9px}.footer-product-list a{display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:15px;color:#d9dce3;font-weight:800;font-size:13px}.footer-product-list a:hover{transform:translateX(3px);color:var(--gold);border-color:rgba(255,208,138,.25);background:rgba(255,208,138,.06)}.footer-action-card .footer-whatsapp{width:100%;margin:4px 0 14px}.footer-hours{display:flex;gap:10px;align-items:flex-start;border-top:1px solid rgba(255,255,255,.08);padding-top:14px}.footer-hours>span{width:34px;height:34px;border-radius:13px;background:rgba(255,208,138,.10);border:1px solid rgba(255,208,138,.18);display:grid;place-items:center}.footer-hours p{margin:0}.footer-hours strong,.footer-hours small{display:block}.footer-hours small{color:var(--muted);font-size:12px}.footer-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:18px;padding:13px 16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:22px}.footer-strip span{color:#d9dce3;font-size:13px;font-weight:800}.footer-bottom-premium{border-top:1px solid rgba(255,255,255,.09);margin-top:18px;padding-top:18px}.footer-bottom-premium span{color:#a9adb8}.footer-bottom-premium .back-top{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,208,138,.22);border-radius:999px;padding:8px 12px;background:rgba(255,208,138,.06)}@media(max-width:900px){.footer-topline,.footer-bottom-premium{flex-direction:column;align-items:flex-start}.footer-advanced{grid-template-columns:1fr}.footer-socials{width:100%}.footer-socials a{flex:1;text-align:center}.footer-strip{justify-content:flex-start}}@media(max-width:560px){.footer-socials{flex-direction:column}.footer-luxury .footer-box{padding:18px}.footer-brand-big strong{font-size:20px}.footer-mini-badge{width:100%;justify-content:center;text-align:center}}


/* Görseldeki footer ile aynı düzen */
.sg-footer-exact{
    margin-top:40px;
    background:#060606;
    border-top:1px solid #c30000;
    color:#fff;
    position:relative;
}
.sg-footer-wrap{
    width:100%;
    max-width:1060px;
    margin:0 auto;
    padding:0 10px;
}
.sg-footer-main{
    display:grid;
    grid-template-columns:282px 272px 210px 238px;
    align-items:start;
    justify-content:center;
    min-height:255px;
    padding:38px 8px 34px;
    background:radial-gradient(circle at 34% 45%, rgba(110,110,110,.10), transparent 22%), linear-gradient(90deg,#070707 0%, #101010 31%, #0c0c0c 58%, #070707 100%);
    border-bottom:1px solid #b00000;
}
.sg-footer-brand-col{
    text-align:center;
    padding:0 18px 0 6px;
}
.sg-footer-logo{
    display:block;
    width:270px;
    margin:0 auto;
    color:#fff;
    text-decoration:none;
    line-height:1;
}
.sg-logo-title{
    display:block;
    font-family:Impact, 'Arial Black', Arial, sans-serif;
    font-style:italic;
    font-weight:900;
    font-size:74px;
    letter-spacing:1px;
    line-height:.84;
    color:#f7f7f7;
    text-shadow:0 3px 8px rgba(255,255,255,.14);
}
.sg-logo-redline{
    display:block;
    width:100%;
    height:2px;
    background:#eb0000;
    margin:7px 0 3px;
}
.sg-logo-subtitle{
    display:block;
    padding-bottom:4px;
    border-bottom:2px solid #eb0000;
    color:#ff1a1a;
    font-size:15px;
    font-weight:900;
    letter-spacing:2px;
    white-space:nowrap;
    text-transform:uppercase;
}
.sg-logo-signature{
    display:block;
    margin-top:8px;
    font-family:'Brush Script MT','Segoe Script',cursive;
    font-size:20px;
    color:#ffffff;
    transform:none;
    text-shadow:0 1px 1px rgba(0,0,0,.9);
}
.sg-footer-desc{
    max-width:255px;
    margin:15px auto 0;
    color:#ffffff;
    font-size:13.5px;
    line-height:1.35;
}
.sg-footer-col{
    min-height:190px;
    border-left:1px solid #b00000;
    padding:3px 24px 0;
}
.sg-footer-col h3{
    margin:0 0 18px;
    color:#ff1616;
    font-size:21px;
    line-height:1;
    font-weight:900;
    letter-spacing:.8px;
}
.sg-footer-row,
.sg-info-text{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin:0 0 18px;
    color:#fff;
    font-size:16px;
    line-height:1.2;
    text-decoration:none;
}
.sg-footer-row:hover{opacity:.95;color:#fff}
.sg-icon{
    width:18px;
    height:18px;
    color:#ff1a1a;
    display:inline-grid;
    place-items:center;
    flex:0 0 18px;
    margin-top:2px;
}
.sg-icon svg,
.sg-whatsapp-btn svg{
    width:100%;
    height:100%;
    fill:none;
    stroke:currentColor;
    stroke-width:2.1;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.sg-info-text p{
    margin:0;
    color:#fff;
    font-size:16px;
    line-height:1.25;
    max-width:180px;
}
.sg-whatsapp-btn{
    margin-top:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:156px;
    padding:12px 22px;
    border-radius:14px;
    color:#fff;
    font-weight:900;
    font-size:16px;
    text-decoration:none;
    background:linear-gradient(180deg,#e10000,#b00000);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 8px 22px rgba(204,0,0,.27);
}
.sg-whatsapp-btn:hover{color:#fff;filter:brightness(1.06)}
.sg-whatsapp-btn span{width:16px;height:16px;display:inline-grid}
.sg-footer-bottom{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    height:38px;
    background:#070707;
    color:#bfc2c9;
    font-size:14px;
}
.sg-footer-bottom strong{color:#ff1616;font-weight:900}
.sg-back-top{
    position:absolute;
    right:5px;
    bottom:6px;
    width:34px;
    height:34px;
    border-radius:11px;
    display:grid;
    place-items:center;
    background:#df0000;
    color:#fff;
    text-decoration:none;
    font-size:21px;
    line-height:1;
    font-weight:900;
}
.sg-back-top:hover{background:#ff1010;color:#fff}
@media(max-width:1000px){
    .sg-footer-main{grid-template-columns:1fr 1fr;gap:0;padding:28px 14px}
    .sg-footer-brand-col,.sg-footer-contact-col{padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid rgba(176,0,0,.82)}
    .sg-footer-products-col{border-left:0}
    .sg-footer-info-col{border-left:1px solid #b00000}
}
@media(max-width:620px){
    .sg-footer-main{grid-template-columns:1fr;padding:26px 18px}
    .sg-footer-col,.sg-footer-products-col,.sg-footer-info-col{border-left:0;border-top:1px solid rgba(176,0,0,.82);padding:22px 0 0;margin-top:20px;min-height:auto}
    .sg-footer-contact-col{border-bottom:0;padding-bottom:0;margin-bottom:0}
    .sg-footer-brand-col{padding-right:0}
    .sg-footer-logo{max-width:100%;width:250px}
    .sg-logo-title{font-size:62px}
    .sg-footer-bottom{height:auto;min-height:52px;padding:10px 42px 10px 10px;text-align:center}
    .sg-back-top{right:8px;bottom:8px}
}


.sg-whatsapp-btn .sg-wa-btn-icon{
    width:18px;
    height:18px;
    display:inline-grid;
    place-items:center;
    color:#fff;
    flex:0 0 18px;
}
.sg-whatsapp-btn .sg-wa-btn-icon svg{
    width:18px;
    height:18px;
    fill:currentColor;
    stroke:none;
}


/* Stabil Yönetim Paneli - Eski çalışan yapıyı bozmadan düzenleme */
.admin-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:22px;
    padding:28px 0 54px;
}
.admin-sidebar{
    background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    padding:16px;
    align-self:start;
    position:sticky;
    top:98px;
    box-shadow:0 18px 48px rgba(0,0,0,.24);
}
.admin-sidebar a{
    display:block;
    padding:12px 13px;
    border-radius:14px;
    color:#cfd3dc;
    font-weight:800;
    border:1px solid transparent;
    margin-bottom:6px;
}
.admin-sidebar a:hover,
.admin-sidebar a.active{
    background:rgba(228,32,39,.15);
    color:#fff;
    border-color:rgba(228,32,39,.22);
}
.admin-main{
    min-width:0;
}
.admin-main h1{
    margin-top:0;
    font-size:36px;
    line-height:1.1;
}
.admin-main .section-head{
    background:linear-gradient(135deg,rgba(228,32,39,.13),rgba(255,255,255,.04));
    border:1px solid rgba(255,255,255,.09);
    border-radius:24px;
    padding:20px;
}
.admin-main .section-head h1,
.admin-main .section-head h2{
    margin:0 0 7px;
}
.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}
.mini-card{
    background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.10);
    border-radius:20px;
    padding:18px;
    box-shadow:0 14px 38px rgba(0,0,0,.20);
}
.mini-card strong{
    font-size:30px;
    display:block;
    color:#fff;
}
.table-card{
    overflow-x:auto;
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.10);
    border-radius:22px;
    box-shadow:0 16px 42px rgba(0,0,0,.21);
}
.table{
    min-width:760px;
}
.table th{
    color:var(--gold);
    font-size:12px;
    letter-spacing:.4px;
    text-transform:uppercase;
    white-space:nowrap;
}
.table td{
    vertical-align:middle;
}
.status{
    font-weight:900;
    border-radius:999px;
    padding:7px 10px;
    white-space:nowrap;
}
.actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.admin-main .btn-secondary,
.admin-main .btn-danger,
.admin-main .btn{
    white-space:nowrap;
}
.admin-main .panel,
.admin-main .auth-card,
.admin-main .total-box{
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 16px 42px rgba(0,0,0,.20);
}
.preview-img{
    max-width:220px;
    height:140px;
    object-fit:cover;
}
@media(max-width:900px){
    .admin-layout{
        grid-template-columns:1fr;
    }
    .admin-sidebar{
        position:static;
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:8px;
    }
    .admin-sidebar a{
        margin-bottom:0;
        text-align:center;
    }
    .cards{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:560px){
    .admin-sidebar,
    .cards{
        grid-template-columns:1fr;
    }
    .admin-main h1{
        font-size:30px;
    }
    .admin-main .section-head{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* Üyeler sayfası */
.member-filter{
    padding:18px;
    margin-bottom:18px;
}
.member-admin{
    background:rgba(255,208,138,.12);
    color:var(--gold);
    border-color:rgba(255,208,138,.22);
}
.member-customer{
    background:rgba(33,199,122,.12);
    color:#5fe1a0;
    border-color:rgba(33,199,122,.22);
}
@media(max-width:700px){
    .member-filter .form-row{
        grid-template-columns:1fr;
    }
}


/* Düzeltilmiş basit rol ve yetki sistemi */
.member-staff{
    background:rgba(80,170,255,.12);
    color:#8fc8ff;
    border-color:rgba(80,170,255,.23);
}
.permission-tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    min-width:170px;
}
.permission-tags span{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:5px 8px;
    font-size:12px;
    font-weight:800;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.09);
    color:#d9dce3;
}
.role-edit-box{
    margin-top:10px;
    min-width:250px;
}
.role-edit-box summary{
    cursor:pointer;
    color:var(--gold);
    font-weight:900;
    padding:8px 0;
}
.role-edit-box form{
    display:grid;
    gap:10px;
    padding:12px;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.permission-checks{
    display:grid;
    gap:7px;
}
.permission-checks label{
    display:flex;
    align-items:center;
    gap:8px;
    color:#d9dce3;
    font-size:13px;
}
.members-table{
    min-width:1080px;
}


/* Site ayarları, sipariş notu ve WhatsApp hazır mesajları */
.settings-form{
    padding:22px;
    display:grid;
    gap:16px;
}
.settings-form h2{
    margin:12px 0 0;
    font-size:22px;
    color:#fff;
}
.order-admin-note{
    margin-top:18px;
    padding:22px;
}
.ready-whatsapp-box{
    display:grid;
    gap:10px;
    margin-top:16px;
}
.ready-whatsapp-box h3{
    margin:0 0 4px;
    font-size:18px;
}
.ready-whatsapp-box .btn-secondary{
    width:100%;
}


/* Kupon, varyasyon ve stok uyarı sistemi */
.stock-ok{
    background:rgba(33,199,122,.12) !important;
    color:#5fe1a0 !important;
    border-color:rgba(33,199,122,.22) !important;
}
.stock-low{
    background:rgba(255,208,138,.12) !important;
    color:var(--gold) !important;
    border-color:rgba(255,208,138,.22) !important;
}
.stock-empty{
    background:rgba(228,32,39,.13) !important;
    color:#ff8a8e !important;
    border-color:rgba(228,32,39,.25) !important;
}
.coupon-box{
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}

/* Yönetim paneli sol üst temiz logo */
.admin-logo-only{
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    height:58px;
    max-width:230px;
    text-decoration:none;
    flex:0 0 auto;
}
.admin-logo-only img{
    display:block;
    width:205px;
    max-width:100%;
    height:46px;
    object-fit:contain;
    object-position:left center;
    filter:drop-shadow(0 5px 12px rgba(228,32,39,.14));
}
@media(max-width:700px){
    .admin-logo-only{
        height:52px;
        max-width:175px;
    }
    .admin-logo-only img{
        width:165px;
        height:40px;
    }
}
@media(max-width:420px){
    .admin-logo-only{
        max-width:135px;
    }
    .admin-logo-only img{
        width:130px;
        height:36px;
    }
}


/* Ürün galerisi, etiketler ve yazdırma sistemi */
.product-gallery-box{
    display:grid;
    gap:14px;
}
.product-gallery-box .detail-img{
    width:100%;
}
.product-gallery-thumbs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.product-gallery-thumbs button{
    width:78px;
    height:70px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    background:rgba(255,255,255,.04);
    padding:5px;
    cursor:pointer;
}
.product-gallery-thumbs img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
}
.product-tags-row{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:10px 0 12px;
}
.product-tags-row span,
.product-badges-mini span{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 9px;
    font-size:12px;
    font-weight:900;
    color:var(--gold);
    background:rgba(255,208,138,.10);
    border:1px solid rgba(255,208,138,.20);
}
.product-tags-card{
    margin-top:0;
    margin-bottom:8px;
}
.product-badges-mini{
    display:flex;
    gap:5px;
    flex-wrap:wrap;
    min-width:130px;
}
.gallery-admin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
    gap:12px;
    margin-top:12px;
}
.gallery-admin-grid label{
    display:grid;
    gap:8px;
    padding:8px;
    border-radius:14px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.gallery-admin-grid img{
    width:100%;
    height:86px;
    object-fit:cover;
    border-radius:10px;
}


/* Favoriler, müşteri detay ve panel bildirimleri */
.favorite-inline-form{
    margin:0 0 14px;
}
.favorite-btn.active{
    color:var(--gold);
    border-color:rgba(255,208,138,.38);
    background:rgba(255,208,138,.12);
}
.admin-notification-panel{
    margin:20px 0;
}
.notification-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:12px;
}
.notification-card{
    display:grid;
    gap:6px;
    padding:16px;
    border-radius:18px;
    text-decoration:none;
    color:#fff;
    background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
    border:1px solid rgba(255,255,255,.09);
}
.notification-card strong{
    color:var(--gold);
    font-size:15px;
}
.notification-card span{
    color:#cfd2da;
    font-size:13px;
    line-height:1.45;
}
.customer-favorites-panel{
    margin-top:18px;
    padding:22px;
}
.customer-favorite-list{
    display:grid;
    gap:10px;
}
.customer-favorite-list a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#fff;
    padding:10px;
    border-radius:14px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.customer-favorite-list img{
    width:54px;
    height:54px;
    object-fit:cover;
    border-radius:10px;
}
.customer-favorite-list span{
    display:grid;
    gap:3px;
}
.customer-favorite-list small{
    color:var(--gold);
    font-weight:800;
}
.customer-note-form{
    margin-top:18px;
}


/* Düzeltilmiş çalışan bildirim alanı */
.fixed-notification-panel{
    padding:0;
}
.notification-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:28px;
    padding:0 8px;
    border-radius:999px;
    background:rgba(228,32,39,.18);
    border:1px solid rgba(228,32,39,.32);
    color:#ff8a8e;
    font-size:14px;
    margin-left:8px;
}
.notification-detail-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:14px;
    margin-top:16px;
}
.notification-detail-card{
    padding:18px;
}
.notification-detail-card h3{
    margin:0 0 12px;
    font-size:17px;
}
.notification-detail-card a{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding:10px 0;
    color:#fff;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.notification-detail-card a:last-child{
    border-bottom:0;
}
.notification-detail-card strong{
    color:var(--gold);
    white-space:nowrap;
}


/* Müşteri bakiye ekranı */
.balance-cards{
    margin:16px 0;
}
.balance-main-card strong{
    color:var(--gold);
}
.balance-admin-panel{
    padding:22px;
    margin-bottom:18px;
}
.balance-history-table{
    margin-top:18px;
}
.balance-whatsapp{
    margin-top:14px;
}
.balance-status-debt{
    color:#ff8a8e;
}
.balance-status-credit{
    color:var(--gold);
}
.balance-status-closed{
    color:#5fe1a0;
}

/* Ana sayfa hero duyuru kartı */
.hero-announcement-card{
    width:min(620px,100%);
    margin:22px 0 6px;
    padding:16px;
    border-radius:22px;
    background:linear-gradient(135deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 20px 52px rgba(0,0,0,.26);
    backdrop-filter:blur(18px);
    position:relative;
    overflow:hidden;
}
.hero-announcement-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top left,rgba(228,32,39,.30),transparent 42%),linear-gradient(90deg,rgba(255,208,138,.08),transparent);
    pointer-events:none;
}
.hero-announcement-top{
    position:relative;
    z-index:1;
    display:flex;
    align-items:flex-start;
    gap:13px;
}
.hero-announcement-icon{
    width:38px;
    height:38px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--red),var(--red2));
    color:#fff;
    font-weight:1000;
    box-shadow:0 12px 26px rgba(228,32,39,.24);
    flex-shrink:0;
}
.hero-announcement-top strong{
    display:block;
    color:var(--gold);
    font-size:13px;
    letter-spacing:.35px;
    text-transform:uppercase;
    margin-bottom:4px;
}
.hero-announcement-top p{
    margin:0;
    color:#fff;
    font-size:15px;
    font-weight:800;
    line-height:1.45;
}
.hero-announcement-bottom{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:14px;
}
.hero-announcement-bottom a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:9px 14px;
    color:#111;
    font-size:13px;
    font-weight:1000;
    background:linear-gradient(135deg,#fff,var(--gold));
}
.hero-announcement-bottom button{
    border:0;
    background:transparent;
    color:var(--muted);
    font-weight:800;
    cursor:pointer;
    padding:8px 10px;
}
.hero-announcement-bottom button:hover{
    color:#fff;
}
.announcement-toggle-label{
    display:flex;
    gap:10px;
    align-items:center;
    color:#fff;
    font-weight:800;
}
@media(max-width:760px){
    .hero-announcement-card{
        margin:18px 0 4px;
        padding:14px;
        border-radius:18px;
    }
    .hero-announcement-top p{
        font-size:14px;
    }
    .hero-announcement-bottom{
        flex-wrap:wrap;
    }
}

/* Duyuru kapatma butonu kesin çalışsın */
.hero-announcement-card::before{
    z-index:0;
}
.hero-announcement-card > *{
    position:relative;
    z-index:1;
}
.hero-announcement-bottom button,
.premium-announcement-close,
.site-announcement-close{
    position:relative;
    z-index:5;
    pointer-events:auto;
}

/* Kargo takip, işlem geçmişi ve yedekleme */
.cargo-panel,
.customer-cargo-box,
.backup-panel{
    padding:22px;
    margin-top:18px;
}
.cargo-summary-box{
    margin:16px 0;
    padding:14px;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.cargo-summary-box h3{
    margin:0 0 8px;
}
.cargo-timeline{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin:14px 0 18px;
}
.cargo-timeline div{
    padding:12px 8px;
    text-align:center;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.cargo-timeline span{
    width:28px;
    height:28px;
    border-radius:999px;
    display:grid;
    place-items:center;
    margin:0 auto 7px;
    background:#222631;
    color:#fff;
    font-weight:900;
}
.cargo-timeline strong{
    display:block;
    font-size:12px;
}
.cargo-timeline div.active{
    border-color:rgba(255,208,138,.32);
    background:rgba(255,208,138,.08);
}
.cargo-timeline div.active span{
    background:linear-gradient(135deg,var(--red),var(--red2));
}
.backup-panel{
    min-height:230px;
}
@media(max-width:760px){
    .cargo-timeline{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Müşteri kargo adımları düzeltmesi */
.cargo-timeline-clean{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    align-items:stretch;
}
.cargo-timeline-clean .cargo-step{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:92px;
    padding:14px 10px;
    text-align:center;
}
.cargo-timeline-clean .cargo-step-number{
    width:34px;
    height:34px;
    min-width:34px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
    font-size:14px;
    line-height:1;
}
.cargo-timeline-clean .cargo-step-label{
    display:block;
    width:100%;
    font-size:12px;
    line-height:1.25;
    letter-spacing:.1px;
    white-space:normal;
}
@media(max-width:760px){
    .cargo-timeline-clean{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .cargo-timeline-clean .cargo-step{
        min-height:84px;
    }
}
@media(max-width:420px){
    .cargo-timeline-clean{
        grid-template-columns:1fr;
    }
}

/* Çok satanlar, son incelenenler ve ürün yorumları */
.rating-mini{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--gold);
    font-size:13px;
    font-weight:850;
    margin:4px 0 8px;
}
.rating-stars{
    color:var(--gold);
    letter-spacing:1px;
    font-weight:1000;
}
.product-rating-summary{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin:8px 0 14px;
}
.recent-card{
    border-color:rgba(255,255,255,.14);
}
.product-reviews-section{
    padding-top:8px;
}
.reviews-list-panel,
.review-form-panel{
    padding:22px;
}
.review-card{
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.review-card:last-child{
    border-bottom:0;
}
.review-card > div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:8px;
}
.review-card p{
    margin:0 0 8px;
    color:#fff;
}
.review-form-panel textarea{
    min-height:130px;
}
.review-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.review-actions form{
    display:inline-flex;
}
@media(max-width:760px){
    .review-card > div{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
}

/* Panel grafik sistemi, stok hareketleri ve bakım modu */
.dashboard-graphs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin:22px 0;
}
.dashboard-chart-card{
    padding:22px;
}
.simple-bar-chart{
    display:grid;
    gap:12px;
}
.simple-bar-row{
    display:grid;
    grid-template-columns:72px 1fr auto;
    align-items:center;
    gap:10px;
    color:#fff;
    font-size:13px;
}
.simple-bar-row.status-row{
    grid-template-columns:120px 1fr auto;
}
.simple-bar-row span{
    color:var(--muted);
    font-weight:800;
}
.simple-bar-row strong{
    white-space:nowrap;
    font-size:13px;
}
.simple-bar-track{
    height:12px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.07);
}
.simple-bar-track i{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(135deg,var(--red),var(--red2));
}
.simple-bar-track.gold i{
    background:linear-gradient(135deg,#fff,var(--gold));
}
.stock-plus{
    color:var(--green);
}
.stock-minus{
    color:var(--red2);
}
.stock-mini-list{
    display:grid;
    gap:10px;
}
.stock-mini-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.stock-mini-list span{
    display:grid;
    gap:2px;
    color:#fff;
    font-weight:850;
}
.stock-mini-list small{
    color:var(--muted);
    font-weight:700;
}
.maintenance-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:28px;
    background:radial-gradient(circle at top left,rgba(228,32,39,.22),transparent 30%),radial-gradient(circle at bottom right,rgba(255,208,138,.13),transparent 25%),var(--bg);
}
.maintenance-card{
    width:min(760px,100%);
    padding:42px;
    border-radius:32px;
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    text-align:center;
}
.maintenance-card h1{
    margin:18px 0 12px;
    font-size:clamp(34px,6vw,64px);
    line-height:1;
}
.maintenance-card p{
    color:var(--muted);
    font-size:18px;
}
@media(max-width:900px){
    .dashboard-graphs{
        grid-template-columns:1fr;
    }
}
@media(max-width:560px){
    .simple-bar-row,
    .simple-bar-row.status-row{
        grid-template-columns:1fr;
        gap:6px;
    }
    .maintenance-card{
        padding:26px;
    }
}

/* Duyuru yenileme ve bakım modu buton hizalama düzeltmesi */
.maintenance-card .hero-actions{
    justify-content:center;
    align-items:center;
}
.maintenance-card .hero-actions .btn,
.maintenance-card .hero-actions .btn-secondary{
    min-width:180px;
}
@media(max-width:560px){
    .maintenance-card .hero-actions{
        justify-content:center;
    }
    .maintenance-card .hero-actions .btn,
    .maintenance-card .hero-actions .btn-secondary{
        width:100%;
    }
}

/* Bakım modu butonları kesin ortalama */
.maintenance-actions{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin:28px auto 0;
    text-align:center;
}
.maintenance-actions .btn,
.maintenance-actions .btn-secondary{
    min-width:190px;
    text-align:center;
    justify-content:center;
}
@media(max-width:560px){
    .maintenance-actions{
        max-width:320px;
        flex-direction:column;
        margin-left:auto;
        margin-right:auto;
    }
    .maintenance-actions .btn,
    .maintenance-actions .btn-secondary{
        width:100%;
    }
}

/* Ürün sıralama, müşteri grupları, panel arama, arşiv ve premium takip */
.admin-quick-search{
    display:flex;
    align-items:center;
    gap:8px;
    flex:1;
    max-width:420px;
}
.admin-quick-search input{
    width:100%;
    min-width:160px;
    background:#141823;
    color:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    padding:11px 14px;
    outline:none;
}
.admin-quick-search button{
    border:0;
    border-radius:999px;
    padding:11px 16px;
    font-weight:900;
    cursor:pointer;
    background:linear-gradient(135deg,var(--red),var(--red2));
    color:#fff;
}
.admin-search-page{
    padding:20px;
    margin-bottom:20px;
}
.group-normal{background:rgba(255,255,255,.08)}
.group-vip{background:rgba(255,208,138,.18);color:var(--gold);border-color:rgba(255,208,138,.22)}
.group-wholesale{background:rgba(33,199,122,.15);color:var(--green);border-color:rgba(33,199,122,.22)}
.group-regular{background:rgba(106,151,255,.15);color:#b7ccff;border-color:rgba(106,151,255,.22)}
.group-debt{background:rgba(255,74,79,.14);color:#ffb3b5;border-color:rgba(255,74,79,.24)}
.customer-group-form{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--line);
}
.premium-order-follow-section{
    padding-top:10px;
    padding-bottom:10px;
}
.premium-order-follow{
    padding:24px;
    overflow:hidden;
    position:relative;
}
.premium-order-follow::before{
    content:"";
    position:absolute;
    inset:auto -80px -120px auto;
    width:240px;
    height:240px;
    border-radius:50%;
    background:rgba(228,32,39,.14);
    filter:blur(32px);
    pointer-events:none;
}
.premium-order-steps{
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    z-index:1;
}
.premium-order-step{
    min-height:122px;
    padding:18px 12px;
    border-radius:22px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
    opacity:.58;
}
.premium-order-step.active{
    opacity:1;
    border-color:rgba(255,208,138,.28);
    background:linear-gradient(180deg,rgba(255,208,138,.12),rgba(255,255,255,.045));
    box-shadow:0 18px 42px rgba(0,0,0,.22);
}
.premium-order-icon{
    width:46px;
    height:46px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#222631;
    border:1px solid var(--line);
    font-weight:1000;
    color:#fff;
}
.premium-order-step.active .premium-order-icon{
    background:linear-gradient(135deg,var(--red),var(--red2));
    box-shadow:0 12px 26px rgba(228,32,39,.28);
}
.premium-order-step strong{
    font-size:14px;
}
.admin-premium-track{
    margin-bottom:20px;
}
@media(max-width:920px){
    .admin-quick-search{
        order:3;
        max-width:100%;
        width:100%;
    }
    .premium-order-steps{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:520px){
    .premium-order-steps{
        grid-template-columns:1fr;
    }
}

/* Toplu mesaj, gelişmiş kupon, sipariş dosyası ve toplu ürün güncelleme */
.bulk-message-filter,
.bulk-products-table{
    margin-bottom:18px;
}
.bulk-input{
    width:110px;
    max-width:100%;
    background:#0c0e13;
    color:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:9px 10px;
}
.coupon-checks,
.coupon-product-checks{
    max-height:220px;
    overflow:auto;
    padding:12px;
    border-radius:16px;
    background:rgba(255,255,255,.035);
    border:1px solid var(--line);
}
.coupon-product-checks{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.order-files-panel{
    margin-top:18px;
}
.order-file-list{
    display:grid;
    gap:10px;
    margin-top:14px;
}
.order-file-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.045);
}
.order-file-card div:first-child{
    display:grid;
    gap:3px;
}
.customer-file-link:hover{
    border-color:rgba(255,208,138,.25);
}
@media(max-width:760px){
    .coupon-product-checks{
        grid-template-columns:1fr;
    }
    .order-file-card{
        align-items:flex-start;
        flex-direction:column;
    }
    .bulk-input{
        width:92px;
    }
}

/* Ödeme durumu, hatırlatma, raporlar ve sadakat sistemi */
.payment-status-panel,
.customer-reminder-panel{
    padding:24px;
    margin:18px 0;
}
.payment-summary-box{
    margin-top:14px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.045);
    border:1px solid var(--line);
}
.payment-summary-box h3{
    margin:0 0 8px;
}
.payment-status-mini{
    display:inline-flex;
}
.reminder-mini-list{
    display:grid;
    gap:10px;
    margin-top:14px;
}
.reminder-mini-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.reminder-mini-list span{
    display:grid;
    gap:2px;
}
.reminder-mini-list small{
    color:var(--muted);
}
.reminder-mini-list em{
    font-style:normal;
    font-weight:900;
    color:var(--gold);
}
.loyalty-bronze{
    background:rgba(188,121,68,.18);
    color:#ffc18d;
    border-color:rgba(188,121,68,.28);
}
.loyalty-silver{
    background:rgba(210,217,230,.16);
    color:#e3e8f2;
    border-color:rgba(210,217,230,.25);
}
.loyalty-gold{
    background:rgba(255,208,138,.18);
    color:var(--gold);
    border-color:rgba(255,208,138,.28);
}
.loyalty-vip{
    background:rgba(228,32,39,.18);
    color:#ffb3b5;
    border-color:rgba(228,32,39,.28);
}
.customer-payment-section{
    padding-top:10px;
    padding-bottom:10px;
}
@media(max-width:760px){
    .reminder-mini-list a{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* Üye düzenleme ve hesap silme */
.member-edit-panel{
    padding:24px;
    margin-bottom:18px;
}
.member-danger-zone{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--line);
}
.member-danger-zone h3{
    margin:0 0 8px;
    color:#ffb3b5;
}
.member-public-info{
    padding:20px;
}

/* Final güvenlik + mobil uyumluluk güçlendirmesi */
html{
    -webkit-text-size-adjust:100%;
    scroll-behavior:smooth;
}
body{
    overflow-x:hidden;
}
img, video, canvas, svg{
    max-width:100%;
    height:auto;
}
input, select, textarea, button{
    max-width:100%;
}
.table-card{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
.table{
    min-width:760px;
}
.admin-layout{
    align-items:flex-start;
}
.admin-main{
    min-width:0;
}
.admin-sidebar{
    align-self:flex-start;
}
.product-detail,
.dashboard-graphs,
.notification-detail-grid{
    min-width:0;
}
.admin-quick-search input{
    min-width:0;
}
@media(max-width:980px){
    .container{
        width:min(100% - 24px, var(--container));
    }
    .nav-wrap{
        gap:12px;
    }
    .brand img,
    .admin-logo-only img{
        max-width:190px;
        height:auto;
    }
    .admin-layout{
        grid-template-columns:1fr;
    }
    .admin-sidebar{
        position:relative;
        top:auto;
        display:flex;
        gap:8px;
        overflow-x:auto;
        padding:12px;
        border-radius:18px;
        white-space:nowrap;
    }
    .admin-sidebar a{
        flex:0 0 auto;
    }
    .admin-main{
        width:100%;
    }
    .admin-quick-search{
        order:3;
        flex-basis:100%;
        width:100%;
    }
    .admin-quick-search input{
        width:100%;
    }
    .dashboard-graphs,
    .product-detail{
        grid-template-columns:1fr !important;
    }
    .cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:760px){
    .container{
        width:min(100% - 18px, var(--container));
    }
    .topbar{
        position:sticky;
        top:0;
        z-index:50;
    }
    .nav-wrap{
        min-height:auto;
        padding:10px 0;
    }
    .brand img,
    .admin-logo-only img{
        max-width:160px;
    }
    .nav{
        width:100%;
        max-height:calc(100vh - 80px);
        overflow:auto;
    }
    .hero,
    .hero-mini{
        padding:34px 0;
    }
    .hero h1,
    .hero-mini h1{
        font-size:clamp(28px,9vw,44px);
        line-height:1.08;
    }
    .section{
        padding:34px 0;
    }
    .section-head{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }
    .actions{
        width:100%;
        justify-content:flex-start;
    }
    .actions .btn,
    .actions .btn-secondary,
    .actions .btn-danger{
        flex:1 1 160px;
        text-align:center;
        justify-content:center;
    }
    .form-row{
        grid-template-columns:1fr !important;
    }
    .grid,
    .grid-4,
    .cards,
    .balance-cards{
        grid-template-columns:1fr !important;
    }
    .product-card,
    .panel,
    .table-card,
    .total-box{
        border-radius:18px;
    }
    .cart-line{
        grid-template-columns:76px 1fr;
        gap:12px;
    }
    .cart-line > div:last-child{
        grid-column:1 / -1;
        text-align:left !important;
    }
    .qty{
        width:100%;
    }
    .table{
        min-width:680px;
        font-size:13px;
    }
    .table th,
    .table td{
        padding:10px 8px;
    }
    .bulk-input{
        width:90px;
    }
    .premium-order-steps,
    .cargo-timeline{
        grid-template-columns:1fr !important;
    }
    .order-file-card,
    .reminder-mini-list a,
    .customer-favorite-list a{
        align-items:flex-start;
        flex-direction:column;
    }
}
@media(max-width:480px){
    .container{
        width:min(100% - 14px, var(--container));
    }
    .brand img,
    .admin-logo-only img{
        max-width:138px;
    }
    .btn,
    .btn-secondary,
    .btn-danger,
    .btn-mini{
        width:100%;
        justify-content:center;
        text-align:center;
    }
    .actions{
        flex-direction:column;
    }
    .table{
        min-width:620px;
    }
    .mini-card{
        padding:14px;
    }
}

/* Yönetim paneli mobil yoğunluk ve görünüm iyileştirmesi */
.workload-panel{
    margin:20px 0 22px;
    padding:22px;
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
}
.workload-panel::before{
    content:"";
    position:absolute;
    inset:-90px -90px auto auto;
    width:230px;
    height:230px;
    border-radius:50%;
    background:rgba(228,32,39,.16);
    filter:blur(28px);
    pointer-events:none;
}
.workload-panel>*{
    position:relative;
    z-index:1;
}
.workload-top{
    display:grid;
    grid-template-columns:1fr auto;
    gap:18px;
    align-items:start;
}
.workload-kicker{
    display:inline-flex;
    margin-bottom:8px;
    padding:6px 10px;
    border-radius:999px;
    color:var(--gold);
    background:rgba(255,208,138,.09);
    border:1px solid rgba(255,208,138,.18);
    font-size:12px;
    font-weight:900;
    letter-spacing:.3px;
}
.workload-top h2{
    margin:0 0 7px;
    font-size:28px;
    letter-spacing:-.6px;
}
.workload-top p{
    margin:0;
    color:var(--muted);
    max-width:760px;
}
.workload-score-box{
    min-width:150px;
    padding:16px;
    border-radius:22px;
    text-align:center;
    background:rgba(0,0,0,.20);
    border:1px solid rgba(255,255,255,.10);
}
.workload-score-box strong{
    display:block;
    font-size:38px;
    line-height:1;
    color:#fff;
    margin:9px 0 4px;
}
.workload-score-box small{
    display:block;
    color:var(--muted);
    font-weight:800;
}
.workload-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:1000;
    color:#fff;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.12);
}
.workload-danger .workload-badge{background:rgba(228,32,39,.22);border-color:rgba(255,74,79,.38);color:#ffb3b5}
.workload-warning .workload-badge{background:rgba(255,208,138,.16);border-color:rgba(255,208,138,.28);color:var(--gold)}
.workload-normal .workload-badge{background:rgba(106,151,255,.14);border-color:rgba(106,151,255,.25);color:#b7ccff}
.workload-calm .workload-badge{background:rgba(33,199,122,.14);border-color:rgba(33,199,122,.25);color:var(--green)}
.workload-progress{
    height:16px;
    margin:18px 0;
    border-radius:999px;
    overflow:hidden;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.08);
}
.workload-progress i{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(135deg,var(--red),var(--red2));
    box-shadow:0 0 22px rgba(228,32,39,.22);
}
.workload-calm .workload-progress i{background:linear-gradient(135deg,#1ea768,var(--green))}
.workload-normal .workload-progress i{background:linear-gradient(135deg,#6a97ff,#b7ccff)}
.workload-warning .workload-progress i{background:linear-gradient(135deg,#fff,var(--gold))}
.workload-metrics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-bottom:16px;
}
.workload-metrics div{
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}
.workload-metrics span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:850;
}
.workload-metrics strong{
    display:block;
    margin-top:3px;
    color:#fff;
    font-size:21px;
    line-height:1.1;
    overflow-wrap:anywhere;
}
.workload-columns{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:14px;
}
.workload-list,
.workload-hours{
    padding:14px;
    border-radius:20px;
    background:rgba(0,0,0,.16);
    border:1px solid rgba(255,255,255,.08);
}
.workload-list{
    display:grid;
    gap:9px;
}
.workload-list a,
.workload-hour-row{
    display:grid;
    grid-template-columns:118px 1fr 34px;
    gap:10px;
    align-items:center;
    color:#fff;
}
.workload-list a span,
.workload-hour-row span{
    color:#dfe2e9;
    font-weight:850;
    font-size:13px;
}
.workload-list a strong,
.workload-hour-row strong{
    text-align:right;
    color:var(--gold);
}
.workload-mini-track{
    height:10px;
    border-radius:999px;
    overflow:hidden;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.07);
}
.workload-mini-track i{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(135deg,var(--red),var(--red2));
}
.workload-mini-track.gold i{
    background:linear-gradient(135deg,#fff,var(--gold));
}
.workload-hours h3{
    margin:0 0 13px;
    font-size:16px;
}
.workload-hours{
    display:grid;
    gap:10px;
}
.mobile-order-list{
    display:none;
}
.mobile-order-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.028));
    border:1px solid rgba(255,255,255,.09);
    color:#fff;
    margin-bottom:10px;
}
.mobile-order-card strong,
.mobile-order-card span{
    display:block;
}
.mobile-order-card span{
    margin-top:4px;
    color:var(--muted);
    font-size:13px;
    font-weight:800;
}
.mobile-order-card b{
    color:var(--gold);
    white-space:nowrap;
}

@media(max-width:980px){
    .admin-sidebar{
        scrollbar-width:thin;
        box-shadow:inset -28px 0 34px rgba(0,0,0,.20),0 18px 48px rgba(0,0,0,.18);
    }
    .admin-sidebar a{
        padding:11px 13px;
        border:1px solid rgba(255,255,255,.06);
        background:rgba(255,255,255,.025);
    }
    .admin-main>h1{
        font-size:clamp(29px,6vw,42px);
        margin-top:4px;
    }
    .workload-top,
    .workload-columns{
        grid-template-columns:1fr;
    }
    .workload-score-box{
        display:grid;
        grid-template-columns:auto 1fr;
        align-items:center;
        gap:8px 12px;
        text-align:left;
        min-width:0;
    }
    .workload-score-box strong{
        margin:0;
        text-align:right;
    }
    .workload-score-box small{
        grid-column:1 / -1;
    }
}
@media(max-width:760px){
    .topbar .container.nav-wrap{
        width:min(100% - 16px, var(--container));
    }
    .nav-wrap{
        align-items:center;
    }
    .nav a{
        flex:1 1 auto;
        text-align:center;
        padding:10px 11px;
        border-radius:999px;
        background:rgba(255,255,255,.045);
        border:1px solid rgba(255,255,255,.08);
    }
    .admin-quick-search{
        padding:8px;
        border-radius:18px;
        background:rgba(255,255,255,.035);
        border:1px solid rgba(255,255,255,.08);
    }
    .admin-quick-search button{
        min-width:72px;
    }
    .admin-sidebar{
        margin:0 -2px 4px;
        border-radius:18px;
        padding:10px;
    }
    .admin-sidebar a{
        font-size:13px;
        border-radius:13px;
    }
    .admin-dashboard-summary{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:9px;
    }
    .admin-dashboard-summary .mini-card{
        padding:13px;
        border-radius:16px;
    }
    .admin-dashboard-summary .mini-card strong{
        font-size:22px;
        line-height:1.15;
        overflow-wrap:anywhere;
    }
    .workload-panel{
        padding:16px;
        border-radius:20px;
    }
    .workload-top h2{
        font-size:24px;
    }
    .workload-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .workload-metrics div{
        padding:12px;
        border-radius:15px;
    }
    .workload-list a,
    .workload-hour-row{
        grid-template-columns:96px 1fr 28px;
        gap:8px;
    }
    .workload-list a span,
    .workload-hour-row span{
        font-size:12px;
    }
    .notification-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }
    .notification-card{
        padding:12px;
        border-radius:15px;
    }
    .notification-card span{
        font-size:12px;
    }
    .latest-orders-table{
        display:none;
    }
    .mobile-order-list{
        display:block;
        margin-top:16px;
    }
    .mobile-list-head{
        margin-bottom:12px;
    }
    .mobile-list-head h2{
        margin:0;
        font-size:22px;
    }
    .dashboard-chart-card{
        padding:16px;
        border-radius:18px;
    }
    .dashboard-chart-card .section-head h2{
        font-size:21px;
    }
    .low-stock-table .table{
        min-width:560px;
    }
}
@media(max-width:430px){
    .admin-dashboard-summary{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    .admin-dashboard-summary .mini-card .muted{
        font-size:11px;
    }
    .admin-dashboard-summary .mini-card strong{
        font-size:19px;
    }
    .notification-grid{
        grid-template-columns:1fr;
    }
    .workload-metrics{
        grid-template-columns:1fr;
    }
    .workload-list a,
    .workload-hour-row{
        grid-template-columns:1fr 1fr 28px;
    }
    .workload-score-box{
        grid-template-columns:1fr;
        text-align:center;
    }
    .workload-score-box strong{
        text-align:center;
    }
    .mobile-order-card{
        align-items:flex-start;
        flex-direction:column;
    }
    .mobile-order-card b{
        width:100%;
        text-align:left;
    }
}

/* Destek, iade/değişim, PWA ve ürün soru-cevap ek düzenleri */
.support-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}.stack-list{display:grid;gap:12px}.ticket-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.04);transition:.18s}.ticket-row:hover{transform:translateY(-2px);border-color:rgba(255,65,75,.25);background:rgba(255,255,255,.07)}.ticket-row span:first-child{display:grid;gap:4px}.ticket-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.support-thread{display:grid;gap:14px}.message-card,.question-card{padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045)}.message-card p,.question-card p{margin:8px 0 0}.admin-message{border-color:rgba(255,65,75,.23);background:rgba(255,65,75,.08)}.customer-message{border-color:rgba(255,255,255,.1)}.question-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.question-answer{padding:12px;border-radius:14px;background:rgba(255,65,75,.08);border:1px solid rgba(255,65,75,.15)}.pending-question{border-style:dashed}.status-new{background:rgba(59,130,246,.14);color:#bfdbfe}.status-warn{background:rgba(245,158,11,.16);color:#fde68a}.status-ok{background:rgba(34,197,94,.14);color:#bbf7d0}.status-closed{background:rgba(148,163,184,.14);color:#e2e8f0}.quick-account-card{text-decoration:none;color:inherit}.quick-account-card:hover{transform:translateY(-3px);border-color:rgba(255,65,75,.25)}.compact-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.compact-form .field{min-width:240px;flex:1}.actions-cell{min-width:190px}.actions-cell form{margin-top:6px}.btn-mini.danger{background:rgba(239,68,68,.18);color:#fecaca;border-color:rgba(239,68,68,.28)}
@media(max-width:800px){.support-grid{grid-template-columns:1fr}.ticket-row,.ticket-detail-head,.question-head{display:grid}.ticket-row{align-items:start}.compact-form{display:grid}.compact-form .field{min-width:0}.actions-cell{min-width:0}.message-card,.question-card{padding:14px}.product-questions-section .product-detail,.product-reviews-section .product-detail{grid-template-columns:1fr}}

/* Müşteri Risk Yönetimi */
.risk-normal{background:rgba(34,197,94,.14);color:#bbf7d0;border-color:rgba(34,197,94,.24)}
.risk-watch{background:rgba(245,158,11,.16);color:#fde68a;border-color:rgba(245,158,11,.28)}
.risk-blocked{background:rgba(239,68,68,.18);color:#fecaca;border-color:rgba(239,68,68,.30)}
.customer-risk-panel{border-color:rgba(245,158,11,.18)}
.customer-risk-panel textarea{min-height:110px}
.members-table .status.risk-watch,.members-table .status.risk-blocked{margin-bottom:4px}
@media (max-width: 900px){
  .customer-risk-panel .form-row{grid-template-columns:1fr}
}

/* Operasyon paneli ek özellikleri */
.special-price-label{display:block;margin-top:4px;font-size:12px}
.packing-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.packing-check-grid label{background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:14px;padding:12px;color:var(--text);font-weight:700}
.preparation-board,.abandoned-cart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.prep-card,.abandoned-cart-card{padding:20px}
.prep-products{display:grid;gap:10px;margin:14px 0}
.prep-products div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.prep-products span{color:var(--muted);font-size:13px;text-align:right}
.small-cards{grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0}
.customer-pricing-form{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.preparation-panel{margin-bottom:18px}
@media(max-width:900px){.preparation-board,.abandoned-cart-grid{grid-template-columns:1fr}.packing-check-grid{grid-template-columns:1fr}.prep-products div{display:grid}.prep-products span{text-align:left}.small-cards{grid-template-columns:1fr}}

/* Toplu fiyat, teklif ve ürün değerlendirme düzeni */
.bulk-price-panel .section-head h2{margin:0;font-size:24px}.bulk-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.check-card{display:flex!important;align-items:center;gap:9px;border:1px solid var(--line);background:rgba(255,255,255,.05);border-radius:15px;padding:13px 14px;font-weight:800}.check-card input{width:auto!important}.quote-admin-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}.quote-items-box{display:grid;gap:12px}.quote-items-box h3{margin:6px 0 0}.quote-product-row{display:grid;grid-template-columns:minmax(180px,1.4fr) 90px 120px 140px;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);background:rgba(255,255,255,.04);border-radius:18px}.quote-product-row .field label{font-size:12px}.quote-row{align-items:flex-start}.quote-row b{color:var(--gold);font-size:18px}.quote-row .actions{margin-top:8px}.quote-row select{border:1px solid var(--line);background:#0c0e13;color:#fff;border-radius:12px;padding:9px;max-width:150px}.product-feedback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.feedback-summary-pills{display:flex;gap:8px;flex-wrap:wrap}.feedback-summary-pills span{border:1px solid var(--line);background:rgba(255,255,255,.06);border-radius:999px;padding:8px 12px;color:var(--gold);font-weight:900;font-size:13px}.feedback-box{padding:22px;display:grid;gap:18px}.feedback-box-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:14px}.feedback-box-head h2{margin:0;font-size:24px}.feedback-box-head p{margin:6px 0 0}.feedback-list{display:grid;gap:12px;max-height:520px;overflow:auto;padding-right:4px}.feedback-form-block{border-top:1px solid var(--line);padding-top:16px}.feedback-form-block h3{margin:0 0 12px}.feedback-form-block textarea{min-height:94px}.feedback-rating-badge{min-width:max-content;text-align:right;border:1px solid rgba(255,208,138,.20);background:rgba(255,208,138,.08);border-radius:16px;padding:10px 12px}.feedback-rating-badge strong{display:block;color:#fff}.compact-empty{padding:20px}.feedback-box .review-card,.feedback-box .question-card{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:16px}.feedback-box .review-card p,.feedback-box .question-card p{margin:8px 0 0}.feedback-box .form-row{grid-template-columns:140px 1fr}@media(max-width:1100px){.bulk-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-admin-grid,.product-feedback-grid{grid-template-columns:1fr}.feedback-list{max-height:none}}@media(max-width:760px){.bulk-price-grid,.quote-product-row,.feedback-box .form-row{grid-template-columns:1fr}.quote-product-row{gap:12px}.feedback-box{padding:18px}.feedback-box-head{display:grid}.feedback-rating-badge{text-align:left}.feedback-summary-pills{width:100%}.feedback-summary-pills span{flex:1;text-align:center}.bulk-products-table .table{min-width:920px}}

/* Teklifler sayfası temiz düzen */
.quotes-page{
    display:grid;
    gap:22px;
}
.quote-hero-head{
    margin-bottom:0;
    padding:22px 24px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    background:linear-gradient(135deg,rgba(228,32,39,.12),rgba(255,255,255,.035));
    box-shadow:0 16px 42px rgba(0,0,0,.20);
}
.quote-hero-head h1{
    margin:0;
    font-size:36px;
}
.quote-summary-cards{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.quote-summary-cards .mini-card{
    min-width:0;
}
.quote-summary-cards .mini-card strong{
    font-size:24px;
    overflow-wrap:anywhere;
}
.quote-create-panel,
.quote-list-panel{
    padding:24px;
    min-width:0;
    overflow:hidden;
}
.quote-panel-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}
.quote-panel-title h2{
    margin:0;
    font-size:26px;
}
.quote-panel-title p{
    margin:6px 0 0;
}
.quote-clean-form{
    gap:18px;
}
.quote-form-section{
    padding:18px;
    border:1px solid rgba(255,255,255,.085);
    border-radius:20px;
    background:rgba(255,255,255,.035);
    min-width:0;
}
.quote-form-section h3,
.quote-section-headline h3{
    margin:0 0 14px;
    font-size:20px;
}
.quote-section-headline{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    margin-bottom:12px;
}
.quote-form-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.quote-form-grid .field,
.quote-product-row-clean .field{
    min-width:0;
}
.quote-form-grid input,
.quote-form-grid select,
.quote-product-row-clean input,
.quote-product-row-clean select,
.quote-clean-form textarea{
    min-width:0;
    max-width:100%;
}
.quote-products-section{
    display:grid;
    gap:10px;
}
.quote-product-head,
.quote-product-row-clean{
    display:grid;
    grid-template-columns:minmax(220px,1.45fr) minmax(86px,.42fr) minmax(130px,.58fr) minmax(150px,.68fr);
    gap:12px;
    align-items:end;
}
.quote-product-head{
    padding:0 14px;
    color:var(--gold);
    font-weight:900;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.4px;
}
.quote-product-row-clean{
    padding:14px;
    border:1px solid rgba(255,255,255,.085);
    background:rgba(255,255,255,.045);
    border-radius:18px;
}
.quote-product-row-clean .field label{
    display:none;
}
.quote-submit-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.quote-submit-bar .btn{
    min-width:190px;
}
.quote-table-wrap{
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
}
.quote-table{
    min-width:920px;
}
.quote-table td,
.quote-table th{
    vertical-align:top;
}
.quote-money{
    color:var(--gold);
    font-size:18px;
    white-space:nowrap;
}
.quote-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    min-width:0;
}
.quote-actions form{
    display:flex;
    gap:7px;
    align-items:center;
    margin:0;
}
.quote-actions select{
    border:1px solid var(--line);
    background:#0c0e13;
    color:#fff;
    border-radius:12px;
    padding:9px;
    max-width:150px;
}
.quote-mobile-list{
    display:none;
}
.quote-mobile-card{
    display:grid;
    gap:9px;
    padding:16px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:18px;
    background:rgba(255,255,255,.045);
}
.quote-mobile-card>div:first-child{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.quote-mobile-card p{
    margin:0;
}
.quote-mobile-card b{
    color:var(--gold);
    font-size:20px;
}
.quote-empty{
    border:1px dashed rgba(255,255,255,.14);
    border-radius:18px;
    background:rgba(255,255,255,.03);
}

@media(max-width:1250px){
    .quote-form-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .quote-product-head{
        display:none;
    }
    .quote-product-row-clean{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .quote-product-row-clean .field label{
        display:block;
    }
}
@media(max-width:760px){
    .quote-hero-head{
        padding:18px;
        border-radius:20px;
    }
    .quote-hero-head h1{
        font-size:30px;
    }
    .quote-summary-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .quote-create-panel,
    .quote-list-panel{
        padding:16px;
        border-radius:20px;
    }
    .quote-panel-title,
    .quote-section-headline{
        display:grid;
    }
    .quote-form-section{
        padding:14px;
        border-radius:18px;
    }
    .quote-form-grid,
    .quote-product-row-clean{
        grid-template-columns:1fr;
    }
    .quote-submit-bar{
        display:grid;
    }
    .quote-submit-bar .btn{
        width:100%;
        min-width:0;
    }
    .quote-table-wrap{
        display:none;
    }
    .quote-mobile-list{
        display:grid;
        gap:12px;
    }
    .quote-actions,
    .quote-actions form{
        display:grid;
        grid-template-columns:1fr;
        width:100%;
    }
    .quote-actions .btn-secondary,
    .quote-actions .btn-mini,
    .quote-actions select{
        width:100%;
        max-width:none;
    }
}
@media(max-width:420px){
    .quote-summary-cards{
        grid-template-columns:1fr;
    }
}

/* Admin tema, maliyet ve barkod/QR ekleri */
.admin-panel.admin-density-compact .admin-layout{gap:14px;padding-top:18px}.admin-panel.admin-density-compact .panel,.admin-panel.admin-density-compact .table th,.admin-panel.admin-density-compact .table td{padding:10px}.admin-panel.admin-density-compact .mini-card{padding:13px}.admin-panel.admin-density-compact .admin-sidebar a{padding:9px 10px;font-size:13px}.admin-panel.admin-density-wide .container{width:min(1440px,95%)}.admin-panel.admin-density-wide .admin-layout{grid-template-columns:280px 1fr}
.admin-panel.admin-theme-light{--bg:#f4f6fa;--panel:#ffffff;--panel2:#ffffff;--line:rgba(15,23,42,.13);--text:#111827;--muted:#64748b;--shadow:0 18px 50px rgba(15,23,42,.10);background:#f4f6fa;color:#111827}.admin-panel.admin-theme-light .topbar{background:rgba(255,255,255,.92)}.admin-panel.admin-theme-light .admin-sidebar,.admin-panel.admin-theme-light .field input,.admin-panel.admin-theme-light .field textarea,.admin-panel.admin-theme-light .field select{background:#fff;color:#111827}.admin-panel.admin-theme-light .panel,.admin-panel.admin-theme-light .table-card,.admin-panel.admin-theme-light .mini-card{background:#fff}.admin-panel.admin-theme-light .table th{background:#f8fafc;color:#991b1b}.admin-panel.admin-theme-light .btn-secondary{background:#f8fafc;color:#111827}.admin-panel.admin-theme-light .nav a{color:#111827}
.admin-panel.admin-theme-dark{--bg:#030407;--panel:#080a10;--panel2:#0d111a;--line:rgba(255,255,255,.08);background:#030407}.admin-panel.admin-theme-red{background:radial-gradient(circle at 20% 0,rgba(255,0,0,.22),transparent 28%),#07080b}.admin-panel.admin-theme-red .admin-sidebar a.active,.admin-panel.admin-theme-red .admin-sidebar a:hover{background:linear-gradient(135deg,rgba(228,32,39,.32),rgba(255,208,138,.08))}.admin-panel.admin-theme-red .mini-card strong{color:#ffd08a}
.barcode-preview-card{margin:12px 0}.barcode-preview-grid{display:grid;grid-template-columns:1.5fr 120px auto;gap:16px;align-items:center}.barcode-svg{width:100%;max-width:360px;height:auto;border-radius:10px;overflow:hidden;background:#fff}.qr-preview{width:96px;height:96px;background:#fff;border-radius:10px;padding:6px}.barcode-print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.barcode-label-card{background:#fff;color:#111;border:1px solid #ddd;border-radius:18px;padding:16px;box-shadow:0 16px 34px rgba(0,0,0,.14)}.barcode-label-head,.barcode-label-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.barcode-label-head strong{font-size:16px}.barcode-label-head span{font-weight:900;color:#b91c1c}.barcode-label-body{display:grid;grid-template-columns:1fr 112px;gap:14px;align-items:center;margin:12px 0}.barcode-box{min-width:0}.qr-box{text-align:center}.qr-box img{width:106px;height:106px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:5px}.qr-box small{display:block;color:#475569;margin-top:4px}.barcode-label-foot{font-size:12px;color:#475569;border-top:1px solid #e5e7eb;padding-top:8px}.status.stock-empty{background:rgba(228,32,39,.12);border-color:rgba(228,32,39,.28);color:#ff4a4f}
@media(max-width:760px){.barcode-preview-grid,.barcode-label-body{grid-template-columns:1fr}.barcode-print-grid{grid-template-columns:1fr}.barcode-label-head,.barcode-label-foot{align-items:flex-start;flex-direction:column}.qr-box{text-align:left}.qr-box img{width:96px;height:96px}}
@media print{.no-print,.topbar,.admin-sidebar,.alert,.footer{display:none!important}.admin-layout,.container{display:block!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}.admin-main{width:100%!important}.barcode-print-grid{grid-template-columns:repeat(2,1fr)!important;gap:10mm!important}.barcode-label-card{break-inside:avoid;box-shadow:none;border:1px solid #111;border-radius:8px}.barcode-svg{max-width:100%}body{background:#fff!important;color:#111!important}}


/* Mobil admin üst bar düzeltmeleri */
.admin-topbar-nav{flex-wrap:wrap}
.inline-check{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-weight:700}
.inline-check input{accent-color:#e42027}
.inline-danger{color:#ffb4b7}
@media(max-width:760px){
  .admin-panel .topbar{position:sticky;top:0}
  .admin-panel .topbar .container.nav-wrap,
  .admin-panel .nav-wrap{
    height:auto;
    min-height:0;
    display:grid;
    grid-template-columns:1fr;
    align-items:stretch;
    gap:10px;
    padding:12px 0;
  }
  .admin-panel .admin-logo-only{max-width:180px;height:auto}
  .admin-panel .admin-quick-search{width:100%;margin:0;order:2}
  .admin-panel .admin-quick-search input{min-width:0}
  .admin-panel .admin-topbar-nav{
    width:100%;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    order:3;
  }
  .admin-panel .admin-topbar-nav a{
    width:100%;
    margin:0;
    white-space:nowrap;
  }
}
@media(max-width:460px){
  .admin-panel .admin-topbar-nav{grid-template-columns:1fr}
  .admin-panel .admin-logo-only{max-width:150px}
  .admin-panel .admin-quick-search{padding:7px}
}

/* Görselsiz ürünler için Şahin Garaj varsayılan görsel uyumu */
.product-img[src*="product-placeholder-sahin-garaj"],
.detail-img[src*="product-placeholder-sahin-garaj"],
.preview-img[src*="product-placeholder-sahin-garaj"]{
    object-fit:cover;
    object-position:center;
    background:#050506;
}

/* Genel kampanya duyuru çubuğu */
.site-announcement{
    background:linear-gradient(135deg,rgba(228,32,39,.18),rgba(255,208,138,.08)),#090b10;
    border-bottom:1px solid rgba(255,255,255,.10);
    position:relative;
    z-index:18;
}
.site-announcement-inner{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:10px 0;
}
.site-announcement-text{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.site-announcement-text strong{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:.5px;
    font-size:12px;
    flex:0 0 auto;
}
.site-announcement-text span{
    color:#fff;
    font-weight:800;
    overflow-wrap:anywhere;
}
.site-announcement-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}
.site-announcement-actions a{
    border-radius:999px;
    padding:8px 12px;
    background:linear-gradient(135deg,#fff,var(--gold));
    color:#111;
    font-weight:1000;
    font-size:13px;
}
.site-announcement-close{
    width:34px;
    height:34px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.16);
    color:#fff;
    background:rgba(255,255,255,.08);
    cursor:pointer;
    font-size:20px;
    line-height:1;
}
.notification-center-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.notification-center-card{
    display:grid;
    grid-template-columns:52px 1fr auto;
    gap:14px;
    align-items:center;
    padding:18px;
    border-radius:22px;
    border:1px solid var(--line);
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
    box-shadow:0 16px 40px rgba(0,0,0,.20);
}
.notification-center-card:hover{transform:translateY(-2px);border-color:rgba(255,208,138,.28)}
.notification-center-icon{
    width:52px;
    height:52px;
    border-radius:18px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-weight:1000;
}
.notification-center-card strong{display:block;color:#fff;font-size:18px;margin-bottom:3px}
.notification-center-card p{margin:0;color:var(--muted)}
.notification-center-card em{
    min-width:36px;
    height:36px;
    border-radius:999px;
    display:grid;
    place-items:center;
    color:#111;
    background:linear-gradient(135deg,#fff,var(--gold));
    font-style:normal;
    font-weight:1000;
}
.notification-center-card.danger .notification-center-icon{background:rgba(228,32,39,.22);color:#ffb4b7}
.notification-center-card.warning .notification-center-icon{background:rgba(255,208,138,.16);color:var(--gold)}
.inline-whatsapp-box{margin:16px 0;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04)}
.inline-whatsapp-box h3{margin:0 0 10px}.inline-whatsapp-box a{margin:0 8px 8px 0}
.compact-bullets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.compact-bullets div{padding:10px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);font-weight:800;color:#cfd3dc}
@media(max-width:760px){
    .site-announcement-inner{align-items:flex-start;flex-direction:column}
    .site-announcement-text{align-items:flex-start;flex-direction:column;gap:4px}
    .site-announcement-actions{width:100%;justify-content:space-between}
    .site-announcement-actions a{flex:1;text-align:center}
    .notification-center-grid{grid-template-columns:1fr}
    .notification-center-card{grid-template-columns:42px 1fr auto;padding:14px;border-radius:18px}
    .notification-center-icon{width:42px;height:42px;border-radius:15px}
    .compact-bullets{grid-template-columns:1fr 1fr}
    .whatsapp-template-layout{grid-template-columns:1fr!important}
}
@media(max-width:460px){.compact-bullets{grid-template-columns:1fr}}


/* Hızlı sipariş ve panel üye kaydı */
.member-create-panel,
.quick-order-panel{padding:24px;display:grid;gap:22px}
.quick-order-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.quick-products-head{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:end;justify-content:space-between;gap:16px}
.quick-selected-summary{min-width:112px;text-align:center;border:1px solid var(--line);border-radius:18px;padding:11px 14px;background:rgba(255,255,255,.045)}
.quick-selected-summary span{display:block;color:var(--muted);font-size:12px;font-weight:800}
.quick-selected-summary strong{display:block;color:var(--gold);font-size:26px;line-height:1.05}
.quick-product-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,260px) auto;gap:12px;align-items:end}
.quick-clear-products{height:46px}
.quick-product-list{display:grid;gap:14px;max-height:720px;overflow:auto;padding:2px 4px 2px 0}
.quick-product-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.quick-product-row{padding:14px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.04);transition:border-color .18s ease,background .18s ease,transform .18s ease}
.quick-product-row:hover{border-color:rgba(255,208,138,.20);background:rgba(255,255,255,.06)}
.quick-product-row.selected{border-color:rgba(255,208,138,.42);background:linear-gradient(180deg,rgba(255,208,138,.10),rgba(255,255,255,.04))}
.quick-product-row.out-of-stock{opacity:.58}
.quick-product-check{display:flex!important;align-items:flex-start;gap:10px;margin:0;font-weight:800}
.quick-product-check>input{width:auto!important;flex:0 0 auto;margin-top:20px}
.quick-product-card-main{display:grid;grid-template-columns:58px 1fr;gap:11px;align-items:center;min-width:0;width:100%}
.quick-product-thumb{width:58px;height:58px;border-radius:16px;object-fit:cover;background:#090a0f;border:1px solid var(--line)}
.quick-product-info{min-width:0}
.quick-product-info strong{display:block;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-product-info small{display:block;color:var(--muted);font-weight:650;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-product-info em{display:inline-flex;margin-top:7px;font-style:normal;color:var(--gold);font-weight:900}
.quick-product-fields{display:grid;grid-template-columns:74px 1fr 118px;gap:9px;margin-top:12px;align-items:end}
.quick-product-fields .field label{font-size:12px;margin-bottom:5px;color:var(--muted)}
.quick-product-fields .field input{padding:10px 11px;border-radius:13px}
.quick-total-box{margin-top:16px}.quick-total-box strong{display:block;font-size:30px;color:var(--gold);margin-top:5px}
@media(max-width:1180px){.quick-product-card-grid{grid-template-columns:1fr}.quick-product-list{max-height:none}}
@media(max-width:900px){.quick-order-grid,.quick-product-toolbar{grid-template-columns:1fr}.quick-products-head{align-items:stretch}.quick-selected-summary{text-align:left}.quick-product-fields{grid-template-columns:1fr 1fr}.quick-product-fields .field:last-child{grid-column:1 / -1}}
@media(max-width:760px){.member-create-panel,.quick-order-panel{padding:18px}.quick-product-row{gap:12px}.quick-product-check{align-items:flex-start}.quick-products-head{display:grid}.quick-product-card-main{grid-template-columns:52px 1fr}.quick-product-thumb{width:52px;height:52px}.quick-product-fields{grid-template-columns:1fr}.quick-product-info strong,.quick-product-info small{white-space:normal}}



/* Hızlı sipariş ürün görünürlük düzeltmesi */
.quick-product-card-grid{
    display:grid !important;
}
.quick-product-card-grid .quick-product-row{
    display:block;
    visibility:visible;
    opacity:1;
}
.quick-product-card-grid .quick-product-row.quick-hidden{
    display:none !important;
}
.quick-product-card-grid .quick-product-row.out-of-stock{
    opacity:.62;
}



/* Admin mobil: sadece Bildirimler / Siteye Git / Çıkış hamburger menü */
.admin-toplinks-menu-btn{display:none;width:54px;height:54px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,#252936,#1c202b);color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.035);align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;flex:0 0 auto;-webkit-tap-highlight-color:transparent}
.admin-toplinks-menu-btn span{display:block;width:21px;height:3px;border-radius:999px;background:#fff;transition:transform .2s ease,opacity .2s ease}
body.admin-toplinks-open .admin-toplinks-menu-btn span:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.admin-toplinks-open .admin-toplinks-menu-btn span:nth-child(2){opacity:0}
body.admin-toplinks-open .admin-toplinks-menu-btn span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
@media(max-width:760px){
  .admin-panel .topbar .container.nav-wrap,.admin-panel .nav-wrap{grid-template-columns:auto 1fr auto;align-items:center;gap:10px}
  .admin-panel .admin-logo-only{grid-column:1;max-width:150px}
  .admin-panel .admin-toplinks-menu-btn{display:flex!important;grid-column:3;justify-self:end;order:1}
  .admin-panel .admin-quick-search{grid-column:1 / -1;order:2;width:100%}
  .admin-panel .admin-topbar-nav.admin-toplinks-menu{display:none!important;position:absolute;right:4%;top:78px;z-index:120;width:min(260px,92vw);grid-template-columns:1fr!important;flex-direction:column;gap:8px;padding:12px;border-radius:20px;background:linear-gradient(180deg,#11141b,#0c0e13);border:1px solid rgba(255,255,255,.10);box-shadow:0 24px 70px rgba(0,0,0,.48)}
  body.admin-toplinks-open .admin-topbar-nav.admin-toplinks-menu{display:grid!important}
  .admin-panel .admin-topbar-nav.admin-toplinks-menu a{width:100%;margin:0;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.055);font-weight:800;justify-content:center}
}
@media(max-width:460px){
  .admin-panel .admin-logo-only{max-width:135px}
  .admin-panel .admin-toplinks-menu-btn{width:52px;height:52px;border-radius:17px}
  .admin-panel .admin-topbar-nav.admin-toplinks-menu{top:74px}
}

/* Araç uyumu / depo / tedarikçi / stok fişi ekleri */
.feature-subpanel{padding:20px;display:grid;gap:14px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:22px}
.feature-subpanel h2{margin:0 0 2px;font-size:20px}.feature-subpanel p{margin:0}.vehicle-filter-form .actions{margin-top:12px}.vehicle-stock{display:block;margin-top:6px;color:var(--gold)!important}.product-info-panel{border:1px solid rgba(255,208,138,.18);background:rgba(255,208,138,.07);border-radius:18px;padding:14px 16px;margin:16px 0}.product-info-panel strong{color:var(--gold)}.product-info-panel p{margin:5px 0 0}.admin-two-col{grid-template-columns:minmax(320px,.75fr) 1.25fr;align-items:start}.stock-receipt-lines{display:grid;gap:12px}.stock-receipt-line{display:grid;grid-template-columns:1fr 120px 150px;gap:12px;align-items:end;padding:13px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.035)}
@media(max-width:980px){.admin-two-col{grid-template-columns:1fr}.stock-receipt-line{grid-template-columns:1fr}.vehicle-filter-form .form-row{grid-template-columns:1fr}}



/* Personel görevleri, SEO ve etiket geliştirmeleri */
.task-list{display:grid;gap:12px}
.task-card{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:start;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.045);padding:15px}
.task-card p{margin:6px 0 8px;color:var(--muted)}
.task-overdue{border-color:rgba(255,74,79,.38);background:rgba(255,74,79,.07)}
.task-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.backup-file-list{display:grid;gap:8px;margin-top:14px}
.backup-file-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.04)}
.backup-file-list small{color:var(--muted)}
.product-tags-row span.tag-sale{background:rgba(228,32,39,.18);border-color:rgba(228,32,39,.28);color:#ffd7d8}
.product-tags-row span.tag-new{background:rgba(33,199,122,.15);border-color:rgba(33,199,122,.28);color:#bdf8d8}
.product-tags-row span.tag-best{background:rgba(255,208,138,.15);border-color:rgba(255,208,138,.30);color:var(--gold)}
.product-tags-row span.tag-limited{background:rgba(255,150,74,.14);border-color:rgba(255,150,74,.28);color:#ffd1aa}
.product-tags-row span.tag-default{background:rgba(255,255,255,.08)}
@media(max-width:760px){
    .task-card{grid-template-columns:1fr}
    .task-actions{justify-content:flex-start}
    .backup-file-list a{align-items:flex-start;flex-direction:column}
}



/* Karşılaştırma, ürün paketi, WhatsApp geçmişi, garanti ve hedef sistemi */
.btn-compare{background:#2a2f3b}
.compare-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.035)}
.compare-table{width:100%;border-collapse:collapse;min-width:760px}
.compare-table th,.compare-table td{padding:14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);vertical-align:top;text-align:left}
.compare-table th:first-child,.compare-table td:first-child{width:160px;color:var(--gold);font-weight:900}
.compare-table th img{width:120px;height:90px;object-fit:cover;border-radius:16px;margin-bottom:10px;background:#08090e}
.compare-table th strong{display:block;margin-bottom:10px}
.mini-tag{display:inline-flex;margin:3px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid var(--line);font-size:12px}
.bundle-cover{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;background:#08090e}
.bundle-cover img{width:100%;height:95px;object-fit:cover;border-radius:14px}
.bundle-items{display:grid;gap:6px;margin:12px 0}
.bundle-items span{font-size:13px;color:var(--muted);padding:7px 9px;border-radius:12px;background:rgba(255,255,255,.045)}
.bundle-admin-items{display:grid;gap:10px}
.bundle-admin-row{display:grid;grid-template-columns:1fr 120px;gap:10px}
.whatsapp-history-panel{margin-top:18px}
.whatsapp-history-list{display:grid;gap:10px;margin-top:14px}
.whatsapp-history-list>div{border:1px solid var(--line);border-radius:16px;padding:12px;background:rgba(255,255,255,.04)}
.whatsapp-history-list p{margin:6px 0;color:var(--muted)}
.product-policy-note{margin:12px 0}
.target-panel{margin:18px 0;padding:20px}
.target-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.target-grid>div{border:1px solid var(--line);border-radius:18px;padding:15px;background:rgba(255,255,255,.045)}
.target-grid span{display:block;color:var(--muted);font-weight:800}
.target-grid strong{display:block;margin:8px 0 10px}
@media(max-width:760px){
    .bundle-admin-row,.target-grid{grid-template-columns:1fr}
    .compare-table{min-width:680px}
}



/* Ürün performansı, müşteri segmentleri, kargo takip linki ve hızlı işlem paneli */
.admin-quick-actions-panel{padding:18px;margin:18px 0}
.quick-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.quick-action-grid a{display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border:1px solid var(--line);font-weight:900;text-align:center}
.quick-action-grid a:hover{border-color:rgba(255,208,138,.35);color:var(--gold);transform:translateY(-1px)}
.segment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}
.segment-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.045)}
.segment-card.active,.segment-card:hover{border-color:rgba(255,208,138,.35);background:rgba(255,208,138,.08)}
.segment-card span{font-weight:900}
.segment-card strong{font-size:28px;color:var(--gold)}
.table td .mini-tag{margin:2px}
@media(max-width:900px){
    .quick-action-grid,.segment-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
    .quick-action-grid,.segment-grid{grid-template-columns:1fr}
}



/* Kampanya hedefleme, gelişmiş filtre, zaman çizelgesi, kasa ve sepet silme */
.advanced-filter-form .form-row{align-items:end}
.cart-remove-btn{margin-top:8px;width:100%;padding:8px 10px;border-radius:12px}
.timeline-list{display:grid;gap:12px}
.timeline-item{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start}
.timeline-item>span{width:14px;height:14px;border-radius:999px;background:var(--gold);box-shadow:0 0 0 5px rgba(255,208,138,.12);margin-top:4px}
.timeline-item>div{border:1px solid var(--line);border-radius:16px;padding:12px;background:rgba(255,255,255,.04)}
.timeline-item p{margin:5px 0;color:var(--muted)}
.pos-panel .pos-product-rows{display:grid;gap:10px}
.pos-product-row{display:grid;grid-template-columns:1fr 120px;gap:10px;align-items:end}
@media(max-width:760px){
    .pos-product-row{grid-template-columns:1fr}
}



/* Tam dükkan yönetimi paketi */
.timeline-list,.management-mini-list{display:grid;gap:10px}
.management-badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}
.management-badge-grid .mini-card{min-height:92px}
.pos-product-row,.bundle-admin-row{align-items:end}
.table .status{white-space:nowrap}
@media(max-width:900px){.management-badge-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.management-badge-grid{grid-template-columns:1fr}}



/* Premium genel buton ve kupon arama düzeni */
.btn,
.btn-secondary,
.btn-danger,
.btn-mini,
button.btn,
button.btn-secondary,
button.btn-danger,
button.btn-mini,
.form button,
.actions a,
.actions button{
    border-radius:16px!important;
    letter-spacing:.2px;
    font-weight:900;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn,
button.btn{
    background:linear-gradient(135deg,#e42027 0%,#961219 52%,#5b070b 100%)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    box-shadow:0 12px 30px rgba(228,32,39,.24), inset 0 1px 0 rgba(255,255,255,.14)!important;
}
.btn-secondary,
button.btn-secondary,
.btn-mini{
    background:linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.035))!important;
    border:1px solid rgba(255,208,138,.22)!important;
    color:#f4f1ea!important;
    box-shadow:0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.09)!important;
}
.btn-danger,
button.btn-danger{
    background:linear-gradient(135deg,#3a1114,#8b171d)!important;
    border:1px solid rgba(255,84,90,.32)!important;
    color:#ffe5e6!important;
    box-shadow:0 12px 26px rgba(150,18,25,.20)!important;
}
.btn:hover,
.btn-secondary:hover,
.btn-danger:hover,
.btn-mini:hover,
button:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 36px rgba(0,0,0,.26), 0 0 0 1px rgba(255,208,138,.16)!important;
}
.form input,
.form select,
.form textarea,
.admin-quick-search input,
.premium-list-search{
    border-radius:16px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035))!important;
    border:1px solid rgba(255,208,138,.18)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.13)!important;
}
.form input:focus,
.form select:focus,
.form textarea:focus,
.admin-quick-search input:focus,
.premium-list-search:focus{
    outline:none;
    border-color:rgba(255,208,138,.48)!important;
    box-shadow:0 0 0 3px rgba(255,208,138,.10), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.premium-selector-field{margin-top:18px}
.premium-select-box{
    border:1px solid rgba(255,208,138,.18);
    border-radius:22px;
    background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
    box-shadow:0 16px 38px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.06);
    overflow:hidden;
}
.premium-select-head{
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    align-items:center;
    padding:12px;
    border-bottom:1px solid rgba(255,208,138,.14);
    background:rgba(255,255,255,.035);
}
.premium-counter{
    white-space:nowrap;
    color:var(--gold);
    font-weight:900;
    border:1px solid rgba(255,208,138,.24);
    border-radius:999px;
    padding:9px 12px;
    background:rgba(255,208,138,.08);
}
.premium-check-list{
    max-height:330px;
    overflow:auto;
    padding:10px;
    display:grid!important;
    gap:8px!important;
}
.premium-check-list label{
    display:flex!important;
    align-items:center;
    gap:12px;
    padding:12px 13px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background:rgba(255,255,255,.035);
    color:#f7f4ee;
    cursor:pointer;
}
.premium-check-list label:hover{
    border-color:rgba(255,208,138,.30);
    background:rgba(255,208,138,.075);
}
.premium-check-list label.selected-row{
    border-color:rgba(228,32,39,.46);
    background:linear-gradient(135deg,rgba(228,32,39,.16),rgba(255,208,138,.06));
}
.premium-check-list input[type="checkbox"]{
    width:18px!important;
    height:18px!important;
    accent-color:#e42027;
    flex:0 0 auto;
}
.premium-check-list label span{
    display:grid;
    gap:3px;
}
.premium-check-list label strong{
    font-size:14px;
}
.premium-check-list label small{
    color:var(--muted);
    font-size:12px;
}
.premium-check-list::-webkit-scrollbar{width:10px}
.premium-check-list::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:999px}
.premium-check-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d5a94f,#e42027);border-radius:999px}
.premium-list-empty{
    margin:10px;
    padding:14px;
    border-radius:16px;
    border:1px dashed rgba(255,208,138,.25);
    color:var(--muted);
    text-align:center;
}
.permission-checks.coupon-checks{
    border-radius:20px;
    border:1px solid rgba(255,208,138,.14);
    background:rgba(255,255,255,.035);
    padding:12px;
}
.table-card{
    border-radius:24px!important;
    box-shadow:0 20px 55px rgba(0,0,0,.23)!important;
}
.panel{
    box-shadow:0 16px 42px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045);
}
@media(max-width:760px){
    .premium-select-head{grid-template-columns:1fr}
    .premium-counter{width:max-content}
    .premium-check-list{max-height:280px}
}



/* Tam site premium arayüz birleştirme */
:root{
    --premium-panel-bg:linear-gradient(180deg,rgba(255,255,255,.072),rgba(255,255,255,.026));
    --premium-line:rgba(255,208,138,.18);
    --premium-line-strong:rgba(255,208,138,.34);
    --premium-red:#e42027;
    --premium-gold:#ffd08a;
}
body{
    background:
        radial-gradient(circle at 20% 0%,rgba(228,32,39,.12),transparent 32%),
        radial-gradient(circle at 85% 10%,rgba(255,208,138,.08),transparent 30%),
        linear-gradient(180deg,#050509,#090a10 38%,#050509)!important;
}
.topbar,
.admin-panel .topbar{
    background:rgba(5,6,10,.86)!important;
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,208,138,.16)!important;
    box-shadow:0 18px 45px rgba(0,0,0,.30);
}
.panel,
.table-card,
.total-box,
.product-card,
.mini-card,
.segment-card,
.task-card,
.order-file-card,
.cargo-summary-box,
.ready-whatsapp-box,
.hero-mini,
.product-detail > .panel,
.admin-quick-actions-panel,
.target-panel,
.dashboard-chart-card,
.workload-panel,
.activity-panel,
.backup-panel{
    background:var(--premium-panel-bg)!important;
    border:1px solid var(--premium-line)!important;
    border-radius:24px!important;
    box-shadow:0 18px 48px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.065)!important;
}
.product-card{
    overflow:hidden;
    position:relative;
}
.product-card:before,
.panel:before,
.table-card:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 30%,rgba(255,208,138,.045));
    opacity:.55;
}
.panel,
.table-card{position:relative}
.product-card:hover,
.mini-card:hover,
.segment-card:hover,
.table-card:hover,
.panel:hover{
    border-color:var(--premium-line-strong)!important;
    box-shadow:0 24px 62px rgba(0,0,0,.30), 0 0 0 1px rgba(255,208,138,.08), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.product-img,
.thumb,
.compare-table th img,
.bundle-cover img{
    border-radius:18px!important;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.product-body h3 a,
.product-body h3,
.section-head h1,
.hero-mini h1,
.panel h2,
.panel h3,
.table-card strong{
    letter-spacing:.2px;
}
.table{
    border-collapse:separate!important;
    border-spacing:0 8px!important;
}
.table thead th{
    background:linear-gradient(180deg,rgba(255,208,138,.13),rgba(255,255,255,.045))!important;
    color:var(--premium-gold)!important;
    border-bottom:1px solid rgba(255,208,138,.18)!important;
    font-weight:900!important;
}
.table tbody tr{
    background:linear-gradient(180deg,rgba(255,255,255,.058),rgba(255,255,255,.026))!important;
    box-shadow:0 10px 26px rgba(0,0,0,.14);
}
.table tbody td{
    border-top:1px solid rgba(255,255,255,.065)!important;
    border-bottom:1px solid rgba(255,255,255,.045)!important;
}
.table tbody td:first-child{
    border-left:1px solid rgba(255,255,255,.055)!important;
    border-top-left-radius:16px!important;
    border-bottom-left-radius:16px!important;
}
.table tbody td:last-child{
    border-right:1px solid rgba(255,255,255,.055)!important;
    border-top-right-radius:16px!important;
    border-bottom-right-radius:16px!important;
}
.status,
.badge,
.stock,
.pill,
.mini-tag,
.product-tags-row span{
    border-radius:999px!important;
    border:1px solid rgba(255,208,138,.20)!important;
    background:linear-gradient(180deg,rgba(255,208,138,.12),rgba(255,255,255,.045))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
    font-weight:900!important;
}
.form label,
.field label{
    color:#f6ead2!important;
    font-weight:900!important;
    letter-spacing:.15px;
}
.form small,
.muted{
    color:#aeb4c0!important;
}
.form-row{
    gap:14px!important;
}
.form input,
.form select,
.form textarea,
.admin-quick-search input,
.search-box input,
.qty,
input[type="search"]{
    color:#fff!important;
}
.form select option{
    background:#090a10;
    color:#fff;
}
.alert{
    border-radius:18px!important;
    border:1px solid rgba(255,208,138,.18)!important;
    box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.alert.success{
    background:linear-gradient(135deg,rgba(29,185,112,.16),rgba(255,208,138,.05))!important;
}
.alert.error{
    background:linear-gradient(135deg,rgba(228,32,39,.16),rgba(255,208,138,.04))!important;
}
.grid .product-card,
.grid-4 .product-card,
.grid-3 .product-card{
    transform:translateZ(0);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.grid .product-card:hover,
.grid-4 .product-card:hover,
.grid-3 .product-card:hover{
    transform:translateY(-3px);
}
.admin-sidebar,
.admin-menu,
.nav.admin-menu{
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;
    border:1px solid rgba(255,208,138,.14)!important;
    border-radius:24px!important;
}
.nav a,
.admin-menu a,
.admin-topbar-nav a{
    border-radius:14px!important;
    transition:.18s ease;
}
.nav a:hover,
.admin-menu a:hover,
.admin-topbar-nav a:hover{
    background:rgba(255,208,138,.09)!important;
    color:var(--premium-gold)!important;
}
.quick-action-grid a{
    background:linear-gradient(135deg,rgba(228,32,39,.15),rgba(255,208,138,.07),rgba(255,255,255,.035))!important;
    border:1px solid rgba(255,208,138,.20)!important;
    box-shadow:0 14px 32px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.cart-line{
    border-radius:22px!important;
    border:1px solid rgba(255,208,138,.16)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
    box-shadow:0 14px 32px rgba(0,0,0,.20);
    margin:10px!important;
}
.premium-group-box .premium-check-list{
    max-height:220px;
}
.permission-checks:not(.premium-check-list){
    border-radius:20px!important;
    border:1px solid rgba(255,208,138,.14)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
    padding:12px!important;
}
.permission-checks:not(.premium-check-list) label{
    border-radius:14px!important;
    padding:9px 10px!important;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.055);
}
.permission-checks:not(.premium-check-list) label:hover{
    border-color:rgba(255,208,138,.26);
    background:rgba(255,208,138,.07);
}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:rgba(255,255,255,.045)}
::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#d5a94f,#e42027);
    border-radius:999px;
    border:2px solid rgba(8,9,14,.9);
}
::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,#ffd08a,#e42027);
}
@media(max-width:760px){
    .panel,
    .table-card,
    .total-box,
    .product-card,
    .mini-card{
        border-radius:20px!important;
    }
    .table{
        border-spacing:0 6px!important;
    }
}



/* Dinamik ürün satırları: seçtikçe yeni ürün alanı açılır */
.dynamic-product-rows{
    display:grid;
    gap:12px;
}
.dynamic-product-row{
    animation:dynamicRowIn .18s ease both;
}
.dynamic-product-row.dynamic-row-hidden{
    display:none!important;
}
.dynamic-product-row:not(.dynamic-row-hidden){
    border-radius:20px;
}
@keyframes dynamicRowIn{
    from{opacity:0;transform:translateY(-6px)}
    to{opacity:1;transform:translateY(0)}
}
.quote-products-section.dynamic-product-rows{
    display:grid;
}
.quote-product-head{
    margin-bottom:2px;
}
.stock-receipt-line.dynamic-product-row,
.pos-product-row.dynamic-product-row,
.bundle-admin-row.dynamic-product-row,
.quote-product-row.dynamic-product-row{
    background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
    border:1px solid rgba(255,208,138,.12);
    padding:12px;
    box-shadow:0 12px 26px rgba(0,0,0,.14);
}
.stock-receipt-line.dynamic-product-row:hover,
.pos-product-row.dynamic-product-row:hover,
.bundle-admin-row.dynamic-product-row:hover,
.quote-product-row.dynamic-product-row:hover{
    border-color:rgba(255,208,138,.26);
}



/* Teklifler sayfası kesin dinamik ürün satırı düzeltmesi */
.quote-dynamic-row.dynamic-row-hidden{
    display:none!important;
}
.quote-dynamic-row{
    animation:dynamicRowIn .18s ease both;
}
.quote-products-section .quote-product-head{
    display:grid;
}



/* Ürün arama alanı ve mobil admin buton oranları */
.products-premium-search{
    padding:0!important;
    overflow:hidden;
    margin-bottom:24px!important;
}
.products-premium-search:after{
    content:"";
    display:block;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,208,138,.35),transparent);
}
.premium-search-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:20px 22px 16px;
    border-bottom:1px solid rgba(255,208,138,.14);
    background:
        radial-gradient(circle at 0% 0%,rgba(228,32,39,.16),transparent 34%),
        linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
}
.premium-search-title h2{
    margin:8px 0 4px;
    font-size:26px;
}
.premium-search-title p{
    margin:0;
    color:var(--muted);
}
.premium-reset-link{
    white-space:nowrap;
}
.products-premium-search .form-row{
    padding:0 22px;
    margin:14px 0;
}
.products-premium-search .form-row:first-of-type{
    padding-top:4px;
}
.premium-search-main-row{
    display:grid!important;
    grid-template-columns:minmax(280px,1.5fr) minmax(220px,.8fr)!important;
}
.premium-search-field{
    position:relative;
}
.search-input-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
    border:1px solid rgba(255,208,138,.24);
    box-shadow:0 14px 32px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.08);
    padding:0 13px;
}
.search-input-wrap span{
    color:var(--gold);
    font-size:18px;
}
.search-input-wrap input{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding-left:0!important;
    height:48px;
}
.products-premium-search .field select,
.products-premium-search .field input:not(.search-input-wrap input){
    min-height:48px;
}
.premium-search-actions{
    padding:6px 22px 22px;
    margin:0!important;
}
.premium-search-actions .btn,
.premium-search-actions .btn-secondary{
    min-width:160px;
    justify-content:center;
}
@media(max-width:760px){
    .premium-search-title{
        display:grid;
        padding:16px;
    }
    .premium-search-title h2{
        font-size:21px;
    }
    .premium-reset-link{
        width:100%;
        justify-content:center;
        text-align:center;
    }
    .products-premium-search .form-row{
        padding:0 16px;
        margin:10px 0;
    }
    .premium-search-main-row{
        grid-template-columns:1fr!important;
    }
    .search-input-wrap input,
    .products-premium-search .field select,
    .products-premium-search .field input:not(.search-input-wrap input){
        min-height:42px;
        height:42px;
    }
    .premium-search-actions{
        padding:4px 16px 16px;
        display:grid!important;
        grid-template-columns:1fr 1fr;
        gap:8px;
    }
    .premium-search-actions .btn,
    .premium-search-actions .btn-secondary{
        min-width:0;
        width:100%;
    }

    /* Mobil admin butonlarını aynı oranda ve daha dengeli yap */
    .admin-panel .btn,
    .admin-panel .btn-secondary,
    .admin-panel .btn-danger,
    .admin-panel .btn-mini,
    .admin-panel button.btn,
    .admin-panel button.btn-secondary,
    .admin-panel button.btn-danger,
    .admin-panel button.btn-mini,
    .admin-panel .form button,
    .admin-panel .actions a,
    .admin-panel .actions button{
        min-height:38px!important;
        padding:9px 12px!important;
        font-size:13px!important;
        line-height:1.15!important;
        border-radius:13px!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:6px!important;
    }
    .admin-panel .actions{
        gap:7px!important;
    }
    .admin-panel .section-head .btn,
    .admin-panel .section-head .btn-secondary,
    .admin-panel .section-head .btn-danger{
        min-height:36px!important;
        padding:8px 11px!important;
        font-size:12.5px!important;
    }
    .admin-panel .quick-action-grid a{
        min-height:46px!important;
        padding:9px 10px!important;
        font-size:12.5px!important;
        border-radius:14px!important;
    }
    .admin-panel .form-row{
        gap:10px!important;
    }
    .admin-panel .form input,
    .admin-panel .form select,
    .admin-panel .form textarea{
        min-height:40px!important;
        padding:9px 11px!important;
        font-size:13px!important;
        border-radius:13px!important;
    }
    .admin-panel .field label,
    .admin-panel .form label{
        font-size:13px!important;
    }
    .admin-panel .table .btn,
    .admin-panel .table .btn-secondary,
    .admin-panel .table .btn-danger,
    .admin-panel .table button{
        min-height:32px!important;
        padding:7px 9px!important;
        font-size:12px!important;
        border-radius:11px!important;
    }
    .admin-panel .product-detail .btn,
    .admin-panel .product-detail .btn-secondary,
    .admin-panel .product-detail .btn-danger{
        width:auto!important;
    }
    .admin-panel .quote-submit-bar .btn,
    .admin-panel .quote-submit-bar .btn-secondary,
    .admin-panel .panel > .btn,
    .admin-panel form > .btn{
        min-height:40px!important;
    }
    .admin-panel .admin-toplinks-menu a{
        min-height:36px!important;
        padding:8px 10px!important;
        font-size:12.5px!important;
    }
}
@media(max-width:420px){
    .premium-search-actions{
        grid-template-columns:1fr;
    }
    .admin-panel .actions{
        display:flex!important;
        flex-wrap:wrap!important;
    }
    .admin-panel .actions .btn,
    .admin-panel .actions .btn-secondary,
    .admin-panel .actions .btn-danger,
    .admin-panel .actions button{
        flex:1 1 auto;
    }
}



/* Ürün arama bölümü kompakt düzen */
.products-compact-search{
    padding:0!important;
    margin-bottom:18px!important;
    border-radius:20px!important;
}
.compact-search-title{
    padding:12px 16px 10px!important;
    align-items:center!important;
}
.compact-search-title h2{
    font-size:19px!important;
    margin:0 0 2px!important;
}
.compact-search-title p{
    font-size:12.5px!important;
    margin:0!important;
}
.compact-search-title .premium-reset-link{
    min-height:34px!important;
    padding:7px 12px!important;
    font-size:12.5px!important;
    border-radius:12px!important;
}
.compact-search-grid{
    display:grid;
    grid-template-columns:2fr 1fr .75fr .75fr 1fr 1fr 1fr 1fr auto;
    gap:9px;
    align-items:end;
    padding:12px 16px 14px;
}
.compact-search-grid .field{
    min-width:0;
}
.compact-search-grid .field label{
    font-size:12px!important;
    margin-bottom:5px!important;
}
.compact-search-grid input,
.compact-search-grid select{
    min-height:36px!important;
    height:36px!important;
    font-size:12.5px!important;
    padding:7px 10px!important;
    border-radius:12px!important;
}
.compact-search-grid .search-input-wrap{
    height:36px!important;
    min-height:36px!important;
    border-radius:12px!important;
    padding:0 10px!important;
}
.compact-search-grid .search-input-wrap input{
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
}
.compact-search-grid .search-input-wrap span{
    font-size:14px!important;
}
.compact-filter-actions{
    display:flex;
    align-items:end;
}
.compact-filter-actions .btn{
    min-height:36px!important;
    height:36px!important;
    padding:7px 14px!important;
    font-size:12.5px!important;
    border-radius:12px!important;
    white-space:nowrap;
}
.compact-filter-type{
    grid-column:auto;
}
.compact-filter-sort{
    grid-column:auto;
}
.compact-filter-stock{
    grid-column:auto;
}
.compact-filter-tag{
    grid-column:auto;
}
@media(max-width:1180px){
    .compact-search-grid{
        grid-template-columns:2fr 1fr 1fr 1fr;
    }
    .compact-search-wide{
        grid-column:span 2;
    }
    .compact-filter-actions{
        grid-column:span 4;
        justify-content:flex-end;
    }
}
@media(max-width:760px){
    .compact-search-title{
        padding:12px!important;
        display:flex!important;
        flex-direction:row!important;
        justify-content:space-between!important;
        gap:10px!important;
    }
    .compact-search-title h2{
        font-size:17px!important;
    }
    .compact-search-title p{
        display:none;
    }
    .compact-search-title .premium-reset-link{
        width:auto!important;
        min-height:32px!important;
        padding:7px 10px!important;
        font-size:12px!important;
    }
    .compact-search-grid{
        grid-template-columns:1fr 1fr;
        gap:8px;
        padding:10px 12px 12px;
    }
    .compact-search-wide{
        grid-column:span 2;
    }
    .compact-filter-category{
        grid-column:span 2;
    }
    .compact-search-grid input,
    .compact-search-grid select,
    .compact-search-grid .search-input-wrap{
        height:34px!important;
        min-height:34px!important;
        font-size:12px!important;
        border-radius:11px!important;
    }
    .compact-search-grid .search-input-wrap input{
        height:32px!important;
        min-height:32px!important;
    }
    .compact-search-grid .field label{
        font-size:11.5px!important;
    }
    .compact-filter-type{
        grid-column:1;
    }
    .compact-filter-sort{
        grid-column:2;
    }
    .compact-filter-stock{
        grid-column:1;
    }
    .compact-filter-tag{
        grid-column:2;
    }
    .compact-filter-actions{
        grid-column:span 2;
    }
    .compact-filter-actions .btn{
        width:100%;
        height:34px!important;
        min-height:34px!important;
        font-size:12px!important;
    }
}
@media(max-width:420px){
    .compact-search-grid{
        grid-template-columns:1fr 1fr;
    }
    .compact-filter-price input{
        width:100%;
    }
}



/* Ödeme tamamı alındı seçilince tutar otomatik dolum efekti */
.payment-auto-filled{
    border-color:rgba(33,199,122,.70)!important;
    box-shadow:0 0 0 3px rgba(33,199,122,.16), 0 12px 26px rgba(33,199,122,.12)!important;
}



/* Ayarlar > Satış Hedefleri düzenleme alanı */
.target-settings-box{
    border:1px solid rgba(255,208,138,.16);
    border-radius:22px;
    padding:14px;
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.022));
    box-shadow:0 14px 34px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.055);
    margin:10px 0 22px;
}
.target-settings-box .form-row{
    margin:0!important;
}
.target-settings-box input{
    font-weight:900;
}
@media(max-width:760px){
    .target-settings-box{
        padding:12px;
        border-radius:18px;
    }
}



/* Final mobil denge ve taşma güvenliği */
html, body{
    max-width:100%;
    overflow-x:hidden;
}
img, video, canvas, svg{
    max-width:100%;
}
.table-card{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
@media(max-width:760px){
    .admin-panel .container,
    .container{
        width:100%;
        max-width:100%;
        padding-left:12px!important;
        padding-right:12px!important;
    }
    .admin-panel .section-head{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:10px!important;
    }
    .admin-panel .section-head .actions,
    .admin-panel .section-head > a,
    .admin-panel .section-head .btn,
    .admin-panel .section-head .btn-secondary{
        align-self:flex-start;
    }
    .admin-panel .actions{
        max-width:100%;
    }
    .admin-panel .actions a,
    .admin-panel .actions button,
    .admin-panel .btn,
    .admin-panel .btn-secondary,
    .admin-panel .btn-danger,
    .admin-panel .btn-mini{
        max-width:100%;
        white-space:normal!important;
        text-align:center;
    }
    .admin-panel .table-card .actions{
        flex-wrap:wrap!important;
    }
    .admin-panel .table-card .actions a,
    .admin-panel .table-card .actions button{
        flex:0 1 auto;
    }
    .admin-panel h1{
        font-size:24px!important;
        line-height:1.16!important;
    }
    .admin-panel h2{
        font-size:19px!important;
        line-height:1.2!important;
    }
    .admin-panel h3{
        font-size:16px!important;
    }
    .admin-panel .panel,
    .admin-panel .table-card{
        padding:14px!important;
    }
    .admin-panel .table-card table{
        min-width:680px;
    }
    .admin-panel .product-detail{
        grid-template-columns:1fr!important;
    }
    .admin-panel .form-row{
        grid-template-columns:1fr!important;
    }
    .admin-panel .quick-action-grid,
    .admin-panel .cards{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:430px){
    .admin-panel .quick-action-grid,
    .admin-panel .cards{
        grid-template-columns:1fr!important;
    }
    .admin-panel .btn,
    .admin-panel .btn-secondary,
    .admin-panel .btn-danger,
    .admin-panel .btn-mini{
        font-size:12px!important;
        padding:8px 10px!important;
    }
}



/* Bağımsız Veresiye Defteri */
.credit-book-layout{
    display:grid;
    grid-template-columns:minmax(280px,360px) 1fr;
    gap:18px;
    align-items:start;
}
.credit-book-sidebar,
.credit-book-main .panel,
.credit-book-table{
    border-color:rgba(255,208,138,.16)!important;
}
.small-head{
    margin-bottom:10px!important;
}
.small-head h2{
    margin-bottom:2px!important;
}
.credit-customer-form{
    margin-bottom:16px;
}
.credit-customer-list{
    display:grid;
    gap:8px;
    max-height:520px;
    overflow:auto;
    padding-right:3px;
}
.credit-customer-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.035);
    color:var(--text);
    text-decoration:none;
}
.credit-customer-list a.active,
.credit-customer-list a:hover{
    border-color:rgba(255,208,138,.36);
    background:linear-gradient(135deg,rgba(255,208,138,.12),rgba(228,32,39,.08));
}
.credit-customer-list small{
    display:block;
    color:var(--muted);
    margin-top:3px;
}
.credit-customer-list em{
    font-style:normal;
    font-weight:900;
    white-space:nowrap;
    color:var(--muted);
}
.credit-customer-list em.debt{
    color:#ff757a;
}
.credit-customer-list em.credit{
    color:#38d486;
}
.credit-book-customer-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:16px;
}
.credit-book-customer-head h2{
    margin:6px 0 4px;
}
.credit-book-customer-head p{
    margin:0;
    color:var(--muted);
}
.credit-book-forms{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin:16px 0;
}
.credit-book-table table{
    min-width:960px;
}
@media(max-width:980px){
    .credit-book-layout{
        grid-template-columns:1fr;
    }
    .credit-customer-list{
        max-height:none;
    }
    .credit-book-forms{
        grid-template-columns:1fr;
    }
}
@media(max-width:760px){
    .credit-book-summary-cards,
    .credit-book-main .balance-cards{
        grid-template-columns:1fr 1fr!important;
    }
    .credit-book-customer-head{
        align-items:stretch;
        flex-direction:column;
    }
    .credit-book-customer-head form{
        width:100%;
    }
    .credit-book-customer-head .btn-danger{
        width:100%;
    }
    .credit-book-table{
        overflow-x:auto;
    }
}
@media(max-width:430px){
    .credit-book-summary-cards,
    .credit-book-main .balance-cards{
        grid-template-columns:1fr!important;
    }
}



/* Veresiye Defteri - düzenli çoklu müşteri görünümü */
.credit-book-layout-clean{
    grid-template-columns:300px minmax(0,1fr)!important;
    align-items:start!important;
    gap:18px!important;
    width:100%!important;
    max-width:100%!important;
}
.credit-book-layout-clean *{
    box-sizing:border-box;
}
.credit-book-main{
    min-width:0!important;
    max-width:100%!important;
}
.credit-book-sidebar{
    min-width:0!important;
    overflow:hidden;
}
.credit-sidebar-title{
    padding:14px 14px 12px;
    margin:-2px -2px 14px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(135deg,rgba(228,32,39,.18),rgba(255,255,255,.035));
}
.credit-sidebar-title h2{
    margin:8px 0 4px!important;
    font-size:22px!important;
}
.credit-sidebar-title p,
.credit-list-head span{
    margin:0;
    color:var(--muted);
    font-size:13px;
}
.credit-new-customer-form{
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    margin-bottom:14px!important;
}
.credit-new-customer-form textarea{
    min-height:78px!important;
}
.credit-compact-row,
.credit-edit-grid,
.credit-amount-grid,
.credit-payment-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.credit-edit-grid,
.credit-amount-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.credit-list-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:12px 0 10px;
}
.credit-list-head h3{
    margin:0!important;
    font-size:16px!important;
}
.credit-customer-list{
    max-height:430px!important;
}
.credit-customer-list a{
    min-width:0!important;
}
.credit-customer-list a span{
    min-width:0;
}
.credit-customer-list a strong,
.credit-customer-list a small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:175px;
}
.credit-book-customer-head{
    margin-bottom:12px!important;
    padding:16px!important;
}
.credit-head-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.credit-head-actions strong{
    color:var(--gold);
    font-size:15px;
}
.credit-edit-panel{
    margin-bottom:14px;
}
.credit-edit-panel h3{
    margin:0 0 12px!important;
    font-size:17px!important;
}
.credit-edit-form .btn-secondary{
    margin-top:4px;
}
.credit-selected-cards{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin:0 0 14px!important;
}
.credit-book-forms-clean{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:16px!important;
    margin:14px 0!important;
}
.credit-action-card{
    min-width:0!important;
    padding:18px!important;
}
.credit-action-card h2{
    font-size:20px!important;
    margin-bottom:6px!important;
}
.credit-action-card p{
    min-height:42px;
}
.credit-book-table{
    max-width:100%;
    overflow-x:auto!important;
}
.credit-book-table table{
    min-width:820px!important;
}
@media(max-width:1100px){
    .credit-book-layout-clean{
        grid-template-columns:280px minmax(0,1fr)!important;
    }
    .credit-book-forms-clean{
        grid-template-columns:1fr!important;
    }
}
@media(max-width:860px){
    .credit-book-layout-clean{
        grid-template-columns:1fr!important;
    }
    .credit-customer-list{
        max-height:none!important;
    }
    .credit-customer-list a strong,
    .credit-customer-list a small{
        max-width:260px;
    }
    .credit-selected-cards{
        grid-template-columns:1fr!important;
    }
    .credit-edit-grid,
    .credit-amount-grid,
    .credit-payment-grid,
    .credit-compact-row{
        grid-template-columns:1fr!important;
    }
}
@media(max-width:520px){
    .credit-book-summary-cards{
        grid-template-columns:1fr!important;
    }
    .credit-book-customer-head{
        flex-direction:column!important;
        align-items:stretch!important;
    }
    .credit-head-actions{
        align-items:stretch;
        justify-content:stretch;
        flex-direction:column;
    }
    .credit-head-actions .btn-danger,
    .credit-head-actions form{
        width:100%;
    }
}
