@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--red:#c92535;--red2:#a91e2b;--ink:#172033;--muted:#7d8798;--line:#e8ebf1;--bg:#f5f6f9;--white:#fff;--navy:#19243a;--green:#16875d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#fff;border-right:1px solid var(--line);padding:25px 17px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 30px}.brand img{width:48px;height:48px;object-fit:contain}.brand span{display:flex;flex-direction:column;letter-spacing:.12em;color:#111b2d}.brand b{font:800 16px Manrope,sans-serif}.brand small{font-size:9px;letter-spacing:.17em;color:#8790a0;margin-top:3px}.nav-label{font-size:10px;color:#9aa2b0;font-weight:700;letter-spacing:.13em;padding:0 13px 11px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:9px;color:#687286;font-weight:600}.sidebar nav a:hover,.sidebar nav a.active{background:#fff0f1;color:var(--red)}.sidebar nav a:first-letter{font-size:17px}.side-bottom{margin-top:auto}.user-chip{display:flex;align-items:center;gap:10px;padding:13px 8px;border-top:1px solid var(--line)}.user-chip b,.user-chip small{display:block}.user-chip b{font-size:12px}.user-chip small{color:var(--muted);margin-top:3px;font-size:11px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fce5e7;color:var(--red);font-weight:800}.avatar.red{margin-left:6px;background:var(--red);color:white}.logout{width:100%;border:0;background:transparent;color:#778196;text-align:left;padding:10px 12px;cursor:pointer}.logout:hover{color:var(--red)}.main{margin-left:248px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:91px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.crumb{font-size:11px;color:#8a93a2}.topbar h1{font:800 22px Manrope,sans-serif;margin:4px 0 0}.top-right{display:flex;align-items:center;color:#778196;font-size:12px}.online-dot{height:7px;width:7px;border-radius:50%;background:#39b980;margin-right:8px}.content{padding:31px 42px 48px;flex:1;max-width:1550px;width:100%;margin:0 auto}.welcome{background:linear-gradient(115deg,#202c45,#34415b);border-radius:15px;color:#fff;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;min-height:165px;overflow:hidden;position:relative}.welcome:after{content:'';position:absolute;width:250px;height:250px;border:1px solid #ffffff18;border-radius:50%;right:14%;top:-136px;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff05}.welcome>div,.welcome>a{z-index:1}.welcome .eyebrow{color:#ffb9c0}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:700;color:var(--red);margin:0 0 8px}.welcome h2{font:800 24px Manrope,sans-serif;margin:0 0 7px}.welcome p:not(.eyebrow){margin:0;color:#ced5e2}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;border-radius:8px;font-weight:700;border:1px solid transparent;cursor:pointer;white-space:nowrap}.btn.primary{background:var(--red);color:white}.btn.primary:hover{background:var(--red2)}.btn.outline{background:white;border-color:#dfe3eb;color:#344057}.btn.light{background:#f3f5f8;color:#5f6878}.btn.small{padding:7px 10px;font-size:12px}.btn.full{width:100%;margin-top:10px}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px;margin:20px 0 32px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;gap:14px;align-items:center}.stat-icon{height:43px;width:43px;display:grid;place-items:center;border-radius:11px;font-size:20px}.red-bg{background:#fff0f1;color:var(--red)}.blue-bg{background:#edf4ff;color:#3477d4}.green-bg{background:#e9f8f1;color:#188658}.gold-bg{background:#fff7e6;color:#bd8112}.stat small,.stat strong,.stat span{display:block}.stat small{color:#7f8998;font-size:11px}.stat strong{font:800 20px Manrope,sans-serif;margin:4px 0}.stat span{font-size:10px;color:#a0a7b2}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px}.section-head h2,.table-title{font:800 17px Manrope,sans-serif;margin:0 0 4px}.section-head p{margin:0;color:var(--muted);font-size:12px}.text-link{font-size:12px;color:var(--red);font-weight:700;border:0;background:none;padding:0;cursor:pointer}.table-wrap{overflow:auto;border:1px solid var(--line);background:white;border-radius:11px;margin-bottom:25px}table{border-collapse:collapse;width:100%;min-width:730px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#939baa;background:#fafbfd;font-weight:700}th,td{padding:13px 16px;border-bottom:1px solid #eef0f4;vertical-align:middle}td{font-size:12px;color:#414b5e}tr:last-child td{border-bottom:0}td b,td small{display:block}td b{color:#293448}td small{font-size:10px;color:#8c95a3;margin-top:4px;max-width:180px}.badge{display:inline-block;padding:5px 8px;border-radius:20px;background:#fff4e3;color:#ad7419;font-size:10px;font-weight:700;white-space:nowrap}.badge.off{background:#f1f2f4;color:#707785}.empty{text-align:center!important;padding:28px;color:#929baa!important}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px}.product-card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.product-top,.product-bottom{display:flex;justify-content:space-between;align-items:center}.category{background:#f5f6f9;color:#5c6678;border-radius:20px;padding:5px 8px;font-size:10px}.stock{font-size:10px;color:#198259}.stock.out{color:var(--red)}.product-card h3{font:700 15px Manrope,sans-serif;margin:17px 0 3px}.sku{font-size:10px;color:#9ba3af;margin:0}.desc{height:36px;color:#7c8695;font-size:11px;line-height:1.5;margin:12px 0;overflow:hidden}.product-bottom{border-top:1px solid #f0f1f4;padding-top:13px}.product-bottom strong{font:800 16px Manrope,sans-serif}.product-bottom input{width:68px;padding:8px;border:1px solid #dfe3eb;border-radius:7px}.inline{margin-top:13px}.catalog-order{display:block}.order-submit{display:flex;align-items:end;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:17px;margin-top:18px}.order-submit label{flex:1}.order-submit input{display:block;width:100%;margin-top:5px}.order-submit .btn{height:42px}.toolbar{display:flex;justify-content:flex-end;margin:-5px 0 15px}.table-title{margin:26px 0 12px}.late{color:var(--red);font-weight:700}label{display:block;color:#495367;font-size:12px;font-weight:600}input,select,textarea{margin-top:6px;width:100%;padding:11px 12px;border:1px solid #dce1e9;border-radius:8px;background:#fff;color:#263145;outline:none}input:focus,select:focus,textarea:focus{border-color:#d66b75;box-shadow:0 0 0 3px #c9253512}dialog{border:0;border-radius:14px;padding:0;width:min(550px,92vw);box-shadow:0 20px 70px #18233b35}dialog::backdrop{background:#111a2a88}.modal-form{padding:25px}.modal-form h2{font:800 20px Manrope,sans-serif;margin:0 0 19px}.modal-form label{margin:12px 0}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.compact-form{display:grid;gap:7px;min-width:190px;padding:8px}.compact-form input,.compact-form select{margin:0;padding:8px;font-size:11px}details summary{color:var(--red);font-weight:700;cursor:pointer}.success,.alert{padding:12px 15px;border-radius:8px;margin-bottom:17px;background:#e9f8f1;color:#187450;font-size:12px}.alert{background:#fff0f1;color:#a8212e}.app-footer{padding:16px 42px;border-top:1px solid var(--line);color:#939baa;font-size:10px;display:flex;justify-content:space-between}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 0,#fff 0,#f5f6f9 56%)}.login-card{width:min(440px,92vw);padding:38px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 20px 60px #19243a12}.brand-logo{width:120px;height:66px;object-fit:contain;object-position:left center;margin-bottom:14px}.login-card h1{font:800 23px Manrope,sans-serif;margin:0 0 8px}.muted{color:#818b9b;font-size:12px;margin:0 0 23px}.login-card label{margin:14px 0}.login-foot{margin-top:20px;border-top:1px solid var(--line);padding-top:16px;color:#9aa2af;text-align:center;font-size:10px}.receipt-actions{display:flex;justify-content:space-between;margin-bottom:18px}.receipt{background:#fff;border:1px solid #dfe3ea;border-radius:4px;max-width:800px;margin:0 auto;padding:42px 48px;color:#242c3a}.receipt-head{display:flex;align-items:center;gap:20px;border-bottom:2px solid var(--red);padding-bottom:18px}.receipt-head img{width:110px;height:70px;object-fit:contain}.receipt-head b{font:800 14px Manrope,sans-serif}.receipt-head p{margin:5px 0;color:var(--red);font-weight:700}.receipt-head small{color:#818a98}.receipt h2{text-align:center;font:800 21px Manrope,sans-serif;letter-spacing:.06em;margin:28px 0 19px}.receipt-no{display:flex;justify-content:space-between;padding:12px;background:#f6f7f9;font-size:12px}.receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:23px 0}.receipt-grid>div{display:grid;gap:8px}.receipt-grid small{color:#8b94a1;font-size:9px;letter-spacing:.1em;font-weight:700}.receipt-grid b{font-size:13px}.receipt-grid span{font-size:11px;color:#586274}.amount-words{border:1px solid #e1e4e9;padding:12px;font-size:12px;font-weight:700}.receipt-note{font-size:10px;color:#747e8d;margin:22px 0}.signatures{display:grid;grid-template-columns:1fr 1fr;text-align:center;margin-top:55px;font-size:12px;font-weight:700}.signatures>div{padding:20px 0;border-top:1px solid #8c94a0;margin:0 25px}.signatures small{font-size:10px;color:#7c8592;font-weight:400}.receipt footer{text-align:center;border-top:1px solid #e7e9ed;margin-top:22px;padding-top:12px;font-size:9px;color:#949ba7}
@media(max-width:900px){.sidebar{width:74px;padding:20px 10px}.brand{padding:0 3px 27px}.brand img{width:44px}.brand span,.nav-label,.sidebar nav a span,.user-chip>div:nth-child(2),.logout{display:none}.sidebar nav a{justify-content:center;padding:13px 5px;font-size:18px}.user-chip{justify-content:center}.main{margin-left:74px}.topbar{padding:0 23px}.content{padding:24px}.app-footer{padding:14px 24px}}@media(max-width:600px){.topbar{height:78px;padding:0 16px}.topbar h1{font-size:18px}.top-right{font-size:0}.content{padding:18px 14px}.welcome{padding:22px;align-items:flex-start;gap:18px;flex-direction:column}.welcome h2{font-size:20px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:12px;gap:9px}.stat-icon{width:34px;height:34px}.stat strong{font-size:16px}.stat span{font-size:9px}.section-head{align-items:flex-start;gap:10px}.section-head h2{font-size:15px}.section-head .btn{font-size:10px;padding:10px}.product-grid{grid-template-columns:1fr}.order-submit{align-items:stretch;flex-direction:column}.app-footer{padding:13px 14px;display:block}.app-footer span{display:block;margin-top:5px}.two{grid-template-columns:1fr}.receipt{padding:22px 18px}.receipt-grid{gap:12px}.receipt-head{gap:10px}.receipt-head img{width:76px}.receipt-head b{font-size:10px}.receipt-actions .btn{font-size:11px;padding:10px}.login-card{padding:28px 23px}}
@media print{body{background:white}.sidebar,.topbar,.app-footer,.receipt-actions{display:none!important}.main{margin:0}.content{padding:0;max-width:none}.receipt{border:0;margin:0 auto;padding:18mm 16mm;max-width:none}.receipt footer{position:fixed;bottom:8mm;left:0;right:0}}
.product-image,.product-placeholder{display:block;width:100%;height:112px;max-height:112px;object-fit:contain;background:#f7f8fa;border-radius:9px;margin:0 0 14px}.product-placeholder{display:grid;place-items:center;color:#a9b0bc;font-size:34px}
/* Refined responsive sign-in experience */
.login{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f4f6fa;font-family:'DM Sans',Arial,sans-serif}.login-shell{width:min(1100px,100%);min-height:660px;display:grid;grid-template-columns:1.02fr .98fr;background:#fff;border:1px solid #e6e9ef;border-radius:24px;overflow:hidden;box-shadow:0 28px 90px #18233b16}.login-showcase{position:relative;overflow:hidden;padding:39px 48px;background:linear-gradient(145deg,#172238 0%,#202e49 62%,#293953 100%);color:#fff;display:flex;flex-direction:column}.showcase-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.showcase-brand img{width:55px;height:48px;object-fit:contain;background:#fff;border-radius:9px;padding:3px}.showcase-brand span{font:800 13px Manrope,Arial,sans-serif;letter-spacing:.1em}.showcase-brand small{display:block;font:500 9px 'DM Sans',Arial,sans-serif;color:#bdc8d9;letter-spacing:.16em;margin-top:4px}.showcase-copy{position:relative;z-index:1;margin:auto 0}.secure-tag{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #ffffff24;border-radius:30px;color:#dce3ee;font-size:9px;font-weight:700;letter-spacing:.12em}.secure-tag i{width:7px;height:7px;border-radius:50%;background:#65d6a4;box-shadow:0 0 0 4px #65d6a41c}.showcase-copy h2{font:800 clamp(34px,4vw,49px)/1.12 Manrope,Arial,sans-serif;letter-spacing:-.04em;margin:25px 0 13px}.showcase-copy>p{max-width:365px;color:#c2ccda;line-height:1.7;font-size:13px;margin:0}.showcase-points{display:grid;gap:16px;margin-top:35px}.showcase-points>div{display:flex;align-items:center;gap:13px;color:#e1e6ee;font-size:12px}.showcase-points b{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ffffff12;color:#ff9da6;font-size:9px;letter-spacing:.04em}.showcase-bottom{position:relative;z-index:1;color:#9daabd;font-size:9px;letter-spacing:.16em}.showcase-bottom span{color:#e15a66;padding:0 6px}.showcase-orbit{position:absolute;width:390px;height:390px;border:1px solid #ffffff12;border-radius:50%;right:-230px;top:16%;box-shadow:0 0 0 34px #ffffff06,0 0 0 70px #ffffff04,0 0 0 110px #ffffff03}.login-panel{padding:48px 55px 23px;display:flex;flex-direction:column;justify-content:center}.login-card{width:100%;max-width:390px;margin:auto;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.brand-logo{width:90px;height:52px;object-fit:contain;object-position:left center;margin:0 0 30px}.login-card h1{font:800 27px Manrope,Arial,sans-serif;letter-spacing:-.03em;margin:0 0 8px;color:#19243a}.login-card .muted{font-size:13px;margin:0 0 27px}.login-card label{margin:17px 0;color:#3c4658;font-size:12px}.login-card input{height:47px;margin-top:8px;border-color:#dfe4ec;border-radius:9px;padding:0 13px;background:#fbfcfe}.login-card input:focus{background:white;border-color:#c92535;box-shadow:0 0 0 4px #c9253510}.login-card .btn.full{height:48px;margin-top:16px;border-radius:9px;font-size:13px}.login-card .btn.full span{font-size:17px}.login-foot{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:23px;padding-top:0;border:0;color:#8992a1;font-size:10px}.lock-icon{color:#37916e;font-size:12px}.login-panel-foot{text-align:center;color:#a0a7b2;font-size:9px;margin-top:23px}.autofill-decoys{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.login-card .alert{margin-bottom:15px}@media(max-width:760px){.login{padding:14px;place-items:start center}.login-shell{grid-template-columns:1fr;max-width:520px;min-height:0;border-radius:18px}.login-showcase{min-height:235px;padding:24px 27px}.showcase-brand img{width:45px;height:40px}.showcase-copy{margin:25px 0 0}.showcase-copy h2{font-size:27px;margin:14px 0 7px}.showcase-copy>p{font-size:11px;max-width:330px}.showcase-points,.showcase-bottom{display:none}.showcase-orbit{width:230px;height:230px;right:-145px;top:15%}.login-panel{padding:31px 27px 18px}.login-card{max-width:none}.brand-logo{display:none}.login-card h1{font-size:23px}.login-card .muted{margin-bottom:22px}.login-panel-foot{margin-top:22px}}
/* Dealer shopping cart */
.add-to-cart{display:flex;align-items:center;gap:7px}.product-bottom .add-to-cart input{width:62px;margin:0;padding:8px 6px;text-align:center}.add-to-cart .btn{font-size:11px}.cart-empty,.checkout-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.cart-empty{text-align:center;padding:52px 20px}.cart-empty-icon{font-size:38px}.cart-empty h2{font:800 19px Manrope,sans-serif;margin:12px 0 6px}.cart-empty p{color:var(--muted);margin:0 0 19px}.cart-table{min-width:650px}.cart-product{display:flex;align-items:center;gap:12px;min-width:250px}.cart-product img{width:58px;height:48px;object-fit:contain;background:#f7f8fa;border-radius:6px}.cart-product small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.cart-qty{width:76px;margin:0}.cart-update-row{display:flex;align-items:center;justify-content:space-between;margin:14px 0 20px}.cart-total,.checkout-bottom>span{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:12px}.cart-total strong,.checkout-bottom b{font:800 20px Manrope,sans-serif;color:var(--ink)}.checkout-card{display:grid;grid-template-columns:1fr auto;align-items:end;gap:22px}.checkout-card label{max-width:500px}.checkout-card label input{margin-top:8px}.checkout-bottom{display:flex;align-items:center;gap:22px}.checkout-bottom .btn{min-height:43px}@media(max-width:700px){.checkout-card{grid-template-columns:1fr}.checkout-bottom{justify-content:space-between}.cart-update-row{align-items:flex-start;gap:12px;flex-direction:column}}
.nav-service{margin-top:12px!important;background:#fff1f1;color:#b8202f!important;border:1px solid #f6d6d9;font-weight:700!important}.nav-service:hover{background:#c92535!important;color:#fff!important;border-color:#c92535}
/* Accounting date filters and printable reports */
.report-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:11px;margin:18px 0}.report-filters label{min-width:165px}.report-filters input{margin-top:5px}.report-filters .btn{height:40px}.compact-form{max-width:240px}.compact-form select,.compact-form input{min-width:0}.compact-form+.text-link{margin-top:8px}@media print{.report-filters,.toolbar,details,.welcome button{display:none!important}.table-wrap{overflow:visible;border:0}.table-wrap table{min-width:0}.table-wrap th,.table-wrap td{padding:7px;font-size:9px}}

/* Visual refresh: Seçkin B2B portal */
:root{--red:#c72032;--red2:#a91728;--ink:#18243a;--muted:#788396;--line:#e7ebf1;--bg:#f3f5f8;--navy:#17243b}
.login{padding:32px;background:radial-gradient(ellipse at 12% 10%,#fff 0,transparent 34%),linear-gradient(135deg,#f1f3f7,#e9edf3)}
.login-shell{width:min(1220px,100%);min-height:700px;grid-template-columns:1fr .96fr;border-radius:26px;border-color:#e5e8ee;box-shadow:0 35px 100px #17243b1c}
.login-showcase{padding:44px 54px;background:linear-gradient(145deg,#142038 0%,#1d2d49 58%,#293b59 100%)}
.login-showcase:before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 45%,#ffffff06 45.2%,transparent 68%),radial-gradient(ellipse at 15% 100%,#c7203224,transparent 42%);pointer-events:none}
.showcase-brand img{width:64px;height:56px;border-radius:12px;padding:5px;box-shadow:0 7px 20px #0002}
.showcase-copy{max-width:490px}
.showcase-copy h2{font-size:clamp(36px,4vw,52px);line-height:1.08;letter-spacing:-.045em;margin:27px 0 16px;padding:2px 0 4px;overflow:visible}
.showcase-copy>p{max-width:390px;font-size:14px;line-height:1.8;color:#d0d8e5}
.showcase-points{gap:13px;margin-top:32px}
.showcase-points>div{font-size:13px}
.showcase-points b{width:34px;height:34px;border-radius:10px;background:#ffffff10;color:#ffadb5}
.showcase-orbit{width:440px;height:440px;right:-270px;top:13%;border-color:#ffffff16;box-shadow:0 0 0 38px #ffffff07,0 0 0 78px #ffffff05,0 0 0 122px #ffffff03}
.login-panel{padding:54px 70px 28px;background:linear-gradient(180deg,#fff,#fcfcfd)}
.login-card{max-width:410px}
.brand-logo{width:156px;height:78px;margin:0 0 35px}
.login-card .eyebrow{font-size:10px;letter-spacing:.18em;margin-bottom:10px}
.login-card h1{font-size:30px;letter-spacing:-.04em}
.login-card .muted{font-size:13px;line-height:1.65;margin-bottom:30px}
.login-card label{margin:18px 0;font-size:12px}
.login-card input{height:50px;border-radius:11px;background:#f9fafc;padding:0 15px;transition:border-color .18s,box-shadow .18s,background .18s}
.login-card input:hover{border-color:#cbd3df}
.login-card .btn.full{height:51px;margin-top:18px;border-radius:11px;box-shadow:0 9px 20px #c7203225;transition:transform .18s,box-shadow .18s,background .18s}
.login-card .btn.full:hover{transform:translateY(-1px);box-shadow:0 12px 24px #c7203233}
.login-foot{color:#737f91;font-size:10px}
.login-panel-foot{font-size:10px;color:#8993a2}
/* Main portal surfaces */
.sidebar{box-shadow:5px 0 26px #17243b08}
.sidebar nav a{border-radius:11px;transition:background .16s,color .16s,transform .16s}
.sidebar nav a:hover{transform:translateX(2px)}
.topbar{box-shadow:0 4px 16px #17243b05}
.stat,.product-card,.cart-empty,.checkout-card{box-shadow:0 5px 18px #17243b06;transition:transform .18s,box-shadow .18s,border-color .18s}
.stat:hover,.product-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #17243b0d;border-color:#dce1e9}
.product-card{border-radius:15px;padding:19px}
.table-wrap{border-radius:13px;box-shadow:0 5px 18px #17243b05}
th{background:#f7f8fb}
.btn{transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}
.btn.primary:hover{transform:translateY(-1px);box-shadow:0 7px 16px #c7203224}
@media(max-width:760px){.login{padding:14px}.login-shell{min-height:0;grid-template-columns:1fr;border-radius:20px}.login-showcase{padding:25px 27px;min-height:260px}.showcase-brand img{width:50px;height:44px}.showcase-copy h2{font-size:29px;line-height:1.12;margin:16px 0 8px}.showcase-copy>p{font-size:12px}.login-panel{padding:32px 27px 20px}.brand-logo{width:130px;height:64px;margin-bottom:25px}.login-card h1{font-size:25px}.login-card .muted{margin-bottom:22px}}
@media(max-width:420px){.login-showcase{min-height:245px;padding:22px}.showcase-copy h2{font-size:26px}.login-panel{padding:28px 22px 18px}.login-card input{height:47px}}

/* Product quick view, modeled on the supplied product detail example */
.product-card-clickable{cursor:pointer;position:relative}.product-card-clickable:focus-visible{outline:3px solid #c9253555;outline-offset:3px}.product-card-clickable .product-image,.product-card-clickable .product-placeholder{height:170px;max-height:170px}.product-view-btn{margin-left:auto}.product-detail-dialog{width:min(1050px,94vw);max-width:1050px;max-height:90vh;overflow:auto;border:1px solid #e5e9f0;border-radius:20px}.product-detail-dialog::backdrop{background:#101827a6;backdrop-filter:blur(3px)}.product-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;padding:30px;position:relative}.product-detail-visual{min-height:420px;background:#fff;border:1px solid #e5e9f0;border-radius:16px;display:grid;place-items:center;padding:24px}.product-detail-visual img{display:block;width:100%;height:100%;max-height:520px;object-fit:contain}.product-detail-visual .product-placeholder{width:100%;height:100%;max-height:none;min-height:350px;margin:0}.product-detail-info{padding:10px 0;display:flex;flex-direction:column;align-items:stretch}.product-detail-info h2{font:800 clamp(21px,2.2vw,30px) Manrope,sans-serif;line-height:1.25;margin:15px 0 19px;color:#131d32}.product-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-detail-facts>div{min-height:64px;padding:12px 14px;background:#f7f9fc;border:1px solid #edf0f5;border-radius:11px;display:flex;flex-direction:column;gap:5px}.product-detail-facts small,.product-detail-description small{font-size:10px;letter-spacing:.09em;color:#8793a6;font-weight:700}.product-detail-facts b{font-size:13px;color:#334057}.product-detail-facts .detail-in-stock{color:#13845c}.product-detail-facts .detail-out-stock{color:#c92535}.product-detail-description{margin-top:15px;padding:15px;background:#fff9eb;border:1px solid #ffedbd;border-radius:11px}.product-detail-description p{margin:8px 0 0;color:#596477;font-size:13px;line-height:1.65;white-space:normal}.product-detail-buy{display:grid;grid-template-columns:100px 1fr;gap:12px;align-items:end;margin-top:auto;padding-top:20px}.product-detail-buy label{font-size:11px}.product-detail-buy input{height:48px;margin-top:6px;text-align:center}.product-detail-buy .btn{height:48px;font-size:14px}.product-detail-close{position:absolute;right:15px;top:14px;z-index:1;width:38px;height:38px;border:0;border-radius:50%;background:#f1f3f7;color:#4e586a;font-size:26px;line-height:1;cursor:pointer}.product-detail-close:hover{background:#ffecee;color:var(--red)}.detail-close-btn{align-self:flex-end;margin-top:auto}@media(max-width:720px){.product-detail{grid-template-columns:1fr;gap:17px;padding:17px}.product-detail-visual{min-height:230px;max-height:330px;padding:14px}.product-detail-visual img{max-height:290px}.product-detail-visual .product-placeholder{min-height:210px}.product-detail-info{padding:0 2px 5px}.product-detail-info h2{font-size:21px;margin:11px 38px 14px 0}.product-detail-buy{margin-top:18px}.product-detail-dialog{width:96vw;border-radius:15px}.product-bottom{flex-wrap:wrap;gap:9px}.product-view-btn{margin-left:0}}
.catalog-admin-actions{display:flex;gap:9px}.catalog-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(190px,1fr) auto;gap:12px;align-items:end;padding:16px;margin:-1px 0 20px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 18px #17243b05}.catalog-filters label{font-size:11px}.catalog-filters input,.catalog-filters select{height:43px;margin-top:6px}.catalog-result-count{padding:0 3px 13px;color:#7d8798;font-size:11px;white-space:nowrap}.product-card[hidden]{display:none!important}@media(max-width:700px){.catalog-admin-actions{width:100%}.catalog-admin-actions .btn{flex:1;padding:10px 8px;font-size:11px}.section-head:has(.catalog-admin-actions){align-items:stretch;flex-direction:column}.catalog-filters{grid-template-columns:1fr;gap:8px;padding:13px}.catalog-result-count{padding:5px 0 0}}
.category-manager-dialog{width:min(900px,94vw);max-width:900px;max-height:90vh;overflow:auto;border-radius:18px}.category-manager{position:relative;padding:28px}.category-manager>h2{font:800 22px Manrope,sans-serif;margin:0 48px 7px 0}.category-manager>.muted{margin-bottom:18px}.category-add-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1fr) auto;gap:12px;align-items:end;padding:16px;background:#f7f9fc;border:1px solid #e9edf3;border-radius:12px}.category-add-form .btn{height:43px}.category-manager-list{margin-top:20px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.category-manager-head,.category-manage-row{display:grid;grid-template-columns:minmax(350px,1fr) minmax(140px,.55fr) 70px;gap:12px;align-items:center;padding:10px 13px}.category-manager-head{background:#f7f8fb;color:#7c8798;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.category-manage-row{border-top:1px solid #edf0f4}.category-edit-form{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,.9fr) auto;gap:8px;align-items:center}.category-edit-form input,.category-edit-form select{height:38px;margin:0;padding:7px 9px;font-size:12px}.category-edit-form .btn{padding:8px 10px}.category-manage-row>form:last-child{margin:0}.category-parent-label{color:#737e8f;font-size:11px}.btn.danger{background:#fff0f1;color:#b52231;border-color:#f3d4d7}.btn.danger:hover{background:#ffe3e6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.category-manager{padding:20px 14px}.category-add-form{grid-template-columns:1fr;gap:8px}.category-add-form .btn{width:100%}.category-manager-head{display:none}.category-manage-row{grid-template-columns:1fr auto;gap:7px}.category-edit-form{grid-template-columns:1fr 1fr;grid-column:1/-1}.category-edit-form .btn{grid-column:1/-1}.category-parent-label{grid-column:1}.category-manage-row>form:last-child{grid-column:2;grid-row:2}.category-manager-dialog{width:96vw}}
.category-edit-form label{font-size:9px;color:#8791a1}.category-edit-form input,.category-edit-form select{display:block;width:100%;height:36px;margin-top:4px}
/* Bayi catalog and live cart quantity controls */
.product-card .product-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:stretch}.product-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.product-price-row strong{white-space:nowrap;flex:1;font-size:15px}.product-price-row .product-view-btn{flex:0 0 auto;margin-left:0}.product-bottom .add-to-cart{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;width:100%;min-width:0}.product-bottom .add-to-cart input{width:100%;height:40px;margin:0;text-align:center}.product-bottom .add-to-cart .btn{width:100%;min-width:0;height:40px;padding:7px 8px;white-space:nowrap}.cart-quantity-control{display:grid;grid-template-columns:34px 60px 34px;align-items:center;gap:4px}.cart-quantity-control button{height:36px;border:1px solid #dce2eb;border-radius:8px;background:#fff;color:#29364b;font-size:18px;cursor:pointer}.cart-quantity-control button:hover:not(:disabled){border-color:#d48089;color:var(--red);background:#fff8f8}.cart-quantity-control button:disabled{opacity:.42;cursor:not-allowed}.cart-quantity-control .cart-qty{width:60px;height:36px;margin:0;padding:5px;text-align:center;font-weight:700}.cart-save-error{color:var(--red)!important;font-weight:700}.cart-update-row{align-items:center}.cart-update-row>span{font-size:11px;color:var(--muted)}.cart-line-total{white-space:nowrap}@media(max-width:700px){.product-bottom .add-to-cart{grid-template-columns:70px minmax(0,1fr)}.product-price-row .product-view-btn{font-size:10px;padding:7px 8px}.cart-quantity-control{grid-template-columns:32px 54px 32px}.cart-quantity-control .cart-qty{width:54px}}

/* Bayi yönetimi */
.dealer-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 14px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px}.dealer-toolbar label{white-space:nowrap}.dealer-toolbar input{max-width:390px;margin:0;padding:9px 11px}.dealer-toolbar span{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}.dealer-actions{display:flex;align-items:center;gap:6px}.dealer-actions form{margin:0}.dealer-actions .btn{font-size:10px;padding:7px 9px}.btn.danger{background:#fff0f1;color:#a8212e;border-color:#f4d5d8}.btn.danger:hover{background:#ffe1e4}tr[hidden]{display:none!important}@media(max-width:700px){.dealer-toolbar{flex-wrap:wrap}.dealer-toolbar input{max-width:none;flex:1;min-width:150px}.dealer-toolbar span{margin-left:0;width:100%}.dealer-actions{flex-wrap:wrap;min-width:185px}}

.product-admin-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding-top:12px;border-top:1px solid #f0f1f4}.product-admin-actions .inline{margin:0}.product-edit-preview{display:block;width:100%;height:130px;object-fit:contain;background:#f7f8fa;border:1px solid var(--line);border-radius:9px;padding:8px;margin:4px 0 12px}.product-admin-actions .text-link{white-space:nowrap}@media(max-width:600px){.product-admin-actions{align-items:flex-start;flex-direction:column}.product-admin-actions .btn{width:100%}}

.quote-create-card{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:20px;margin-top:15px;padding:18px 20px;background:linear-gradient(135deg,#fff,#fbfcfe);border:1px solid var(--line);border-radius:12px}.quote-create-card label span{font-weight:400;color:var(--muted)}.quote-create-card>div{display:flex;align-items:center;gap:20px}.quote-create-card p{font-size:11px;color:var(--muted);margin:0}.quote-create-card .btn{min-height:42px}.profile-logo-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 18px #17243b06}.profile-logo-copy h2{font:800 21px Manrope,sans-serif;margin:4px 0}.profile-logo-copy p{color:var(--muted);font-size:12px;margin:0}.profile-logo-preview{width:min(260px,38%);height:135px;object-fit:contain;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fafbfd}.profile-logo-empty{display:grid;place-items:center;width:220px;height:120px;border:1px dashed #cbd2de;border-radius:10px;color:var(--muted);font-size:12px}.profile-logo-form{max-width:620px;margin-top:18px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px}.profile-logo-form label small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.remove-logo-form{margin-top:14px}.quote-paper{max-width:1000px;margin:0 auto;padding:42px;background:#fff;border:1px solid #e3e7ee;border-radius:8px;color:#253147;box-shadow:0 8px 30px #17243b0a}.quote-paper-head{display:grid;grid-template-columns:180px minmax(0,1fr) 210px;gap:24px;align-items:center;padding-bottom:25px;border-bottom:2px solid var(--red)}.quote-logo-box{display:grid;place-items:center;min-height:100px;padding:10px;border:1px solid #e8ebf1;border-radius:10px;background:#fff}.quote-logo-box img{max-width:100%;max-height:105px;object-fit:contain}.quote-logo-box strong{text-align:center;font:800 15px Manrope,sans-serif}.quote-company-info h1{font:800 19px Manrope,sans-serif;margin:0 0 6px}.quote-company-info p{margin:0 0 6px;color:#5e6879;font-weight:700;font-size:12px}.quote-company-info span{display:block;margin-top:3px;color:#697487;font-size:11px}.quote-heading{text-align:right;display:grid;gap:7px}.quote-heading span{font:800 20px Manrope,sans-serif;color:var(--red);letter-spacing:.07em}.quote-heading b{font-size:13px}.quote-heading small{color:#697487;font-size:10px}.quote-items-table{width:100%;min-width:0;margin-top:28px}.quote-items-table th{padding:11px 9px;background:#f7f8fa;color:#606b7c}.quote-items-table td{padding:12px 9px;font-size:11px}.quote-items-table td small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.quote-items-table tfoot td{background:#fafbfd;font-weight:800;border-top:2px solid #e5e8ee}.quote-items-table tfoot td:last-child{text-align:right;color:var(--red);font-size:15px}.quote-items-table tfoot td:first-child{text-align:right}.quote-note{margin-top:24px;padding:15px;background:#fafbfd;border:1px solid #eceff4;border-radius:8px}.quote-note p{margin:7px 0 0;font-size:12px;line-height:1.6;white-space:normal}.quote-disclaimer{margin-top:30px;padding-top:14px;border-top:1px solid #e9ecf1;color:#7c8695;font-size:10px;line-height:1.55}.quote-paper-footer{margin-top:35px;padding-top:12px;border-top:1px solid #e9ecf1;color:#9098a5;font-size:9px;text-align:center}@media(max-width:800px){.quote-create-card{grid-template-columns:1fr}.quote-create-card>div{align-items:flex-start;flex-direction:column;gap:10px}.quote-paper{padding:25px 18px}.quote-paper-head{grid-template-columns:130px 1fr;gap:14px}.quote-heading{grid-column:1/-1;text-align:left;grid-template-columns:1fr 1fr}.quote-heading span{grid-column:1/-1}.quote-heading small{text-align:left}.profile-logo-card{align-items:flex-start;flex-direction:column}.profile-logo-preview,.profile-logo-empty{width:100%;max-width:320px}.quote-items-table th,.quote-items-table td{padding:8px 5px;font-size:9px}}
@media print{.quote-create-card,.profile-logo-form,.remove-logo-form{display:none!important}.quote-paper{max-width:none;margin:0;padding:10mm;border:0;border-radius:0;box-shadow:none}.quote-paper-head{grid-template-columns:38mm 1fr 40mm;gap:6mm}.quote-logo-box{min-height:26mm}.quote-logo-box img{max-height:23mm}.quote-items-table{min-width:0}.quote-items-table th,.quote-items-table td{padding:3mm 2mm;font-size:9pt}.quote-items-table td small{font-size:8pt}.quote-disclaimer{font-size:8pt}}
.quote-recipient-fields{display:grid!important;gap:9px!important}.quote-recipient-fields>strong{font:800 13px Manrope,sans-serif;color:var(--ink)}.quote-recipient-fields .two{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.quote-recipient-fields label{margin:0}.quote-recipient-fields input{padding:9px 10px}.quote-create-card>div:last-child{display:flex;align-items:flex-end;flex-direction:column;gap:13px}.quote-create-card>div:last-child p{align-self:flex-start;line-height:1.5}.quote-recipient{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0 0;padding:16px 18px;background:#fafbfd;border:1px solid #e9edf3;border-left:3px solid var(--red);border-radius:8px}.quote-recipient>div{display:grid;gap:5px}.quote-recipient small{font-size:9px;letter-spacing:.1em;color:#8490a1;font-weight:800}.quote-recipient b{font-size:13px}.quote-recipient span{font-size:10px;color:#687487;white-space:pre-line}@media(max-width:800px){.quote-create-card>div:last-child{align-items:stretch}.quote-recipient-fields .two{grid-template-columns:1fr}.quote-recipient{grid-template-columns:1fr;gap:12px}}@media print{.quote-recipient{break-inside:avoid}.quote-recipient-fields{display:none!important}}

.product-admin-visibility{display:flex;align-items:center;gap:14px}.product-admin-visibility form{margin:0}.product-admin-visibility .text-link{white-space:nowrap}@media(max-width:600px){.product-admin-visibility{width:100%;justify-content:space-between}.product-admin-visibility form{width:auto}.product-admin-visibility .btn{width:auto}}
