:root{--ink:#202722;--muted:#717971;--green:#111111;--bg:#f6f7f4;--line:#e0e5dc}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}h1,h2,p{margin:0}button:focus-visible,a:focus-visible{outline:3px solid #c08b47;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #87a88c;outline-offset:1px}button:disabled{opacity:.55;cursor:not-allowed}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{max-width:1260px;margin:auto;padding:17px 30px;display:flex;align-items:center;gap:38px}.brand{display:block;line-height:0;flex-shrink:0}.brand img{width:122px;height:53px;object-fit:contain}.header-inner nav{display:flex;gap:24px;align-items:center}.header-inner nav a{font-size:13px;padding:8px 0;color:#747c72;border-bottom:2px solid transparent}.header-inner nav a.active{border-color:var(--green);color:var(--ink);font-weight:600}.header-inner nav a:hover{color:var(--green)}.account{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:12px}.account>span{max-width:160px;overflow-wrap:anywhere}.account small{display:block;color:var(--muted);font-size:10px}.account-link{color:var(--muted)}.text-button{background:none;border:0;padding:0;color:#6e766c;font-size:12px}.container{max-width:1260px;margin:auto;padding:40px 30px 60px;min-height:calc(100vh - 160px)}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#7b8678;font-weight:600}h1{font-size:30px;line-height:1.25;letter-spacing:-.7px;font-weight:650;overflow-wrap:anywhere}.page-title h1{margin:5px 0 8px}.page-title p{color:var(--muted);font-size:13px}.actions,.form-actions{display:flex;gap:10px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);padding:11px 17px;border-radius:7px;font-size:13px;font-weight:550;line-height:1.5;background:white;color:var(--ink);white-space:nowrap}.button:hover{background:#f0f3eb;border-color:#b8c8b4}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#000;border-color:#000}.searchbar{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:13px;margin-bottom:26px}.searchbar input{max-width:400px;margin:0;background:#f8f9f6}.result-count{margin-left:auto;font-size:12px;color:var(--muted);padding-right:8px;white-space:nowrap}.clear-search{font-size:12px;color:var(--muted)}input:not([type=checkbox]):not([type=hidden]),textarea,select{width:100%;padding:12px 13px;border:1px solid #d7ddd2;background:white;color:var(--ink);border-radius:6px;line-height:1.4;min-width:0}input[type=file]{font-size:12px}textarea{resize:vertical}label{display:block;font-size:13px;font-weight:550;margin:22px 0 8px}.required{color:#ad6b3c}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{border:1px solid var(--line);border-radius:11px;background:white;overflow:hidden;display:flex;flex-direction:column}.product-visual{display:block;aspect-ratio:4/3;background:#f0f2ec;border-bottom:1px solid var(--line);overflow:hidden}.product-visual img{width:100%;height:100%;object-fit:contain;background:white;transition:transform .2s}.product-visual:hover img{transform:scale(1.03)}.product-info{padding:18px;flex:1;display:flex;flex-direction:column}.product-info h2{font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.product-description{font-size:12px;color:var(--muted);margin:8px 0 18px;line-height:1.7;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px;overflow-wrap:anywhere}.product-numbers{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-top:auto}.product-numbers>strong{font-size:17px;font-weight:650;letter-spacing:-.3px}.stock{font-size:11px;background:#edf3e8;color:#486547;padding:4px 8px;border-radius:4px;display:inline-block}.stock.out{background:#f4eee5;color:#916e44}.card-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e8;padding-top:13px;margin-top:18px;font-size:11px;color:#6f7b68;gap:12px}.edit-link{color:var(--green);font-weight:600}.no-image{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:100%;height:100%;min-height:160px;color:#9ba793;background:#f1f4ec}.no-image>span{font-size:48px;font-weight:300;line-height:1}.no-image small{font-size:11px;color:#7d8876}.catalog-note{font-size:11px;color:var(--muted);margin-top:27px}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:32px;font-size:12px}.empty{background:white;border:1px dashed #cfd8c5;border-radius:10px;padding:60px 20px;text-align:center}.empty>span{font-size:56px;color:#9fae92}.empty h2{font-size:21px;font-weight:600;margin-bottom:10px}.empty p{color:var(--muted);font-size:13px;margin-bottom:24px}.notice{padding:14px 17px;border:1px solid transparent;border-radius:7px;margin-bottom:22px;font-size:13px}.notice a{text-decoration:underline}.success{background:#ebf3e5;border-color:#d4e2c7;color:#46643a}.error{background:#fff1e9;border-color:#efd8c9;color:#904d32}.back-link{display:inline-block;font-size:12px;color:#6e7c66;margin-bottom:20px}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:start}.detail-picture{aspect-ratio:1;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.detail-picture img{width:100%;height:100%;object-fit:contain}.detail-picture .no-image{height:100%}.detail-info{padding:25px 0}.detail-info h1{font-size:32px;margin:8px 0 23px}.detail-price{font-size:28px;font-weight:600;margin-bottom:12px}.detail-info h2{font-size:14px;margin:32px 0 12px}.description-full{font-size:14px;color:#656e61;line-height:1.9;overflow-wrap:anywhere}.detail-info>.button{margin-top:35px}.product-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}.form-panel{padding:28px;background:white;border:1px solid var(--line);border-radius:10px}.form-panel h2{font-size:17px;font-weight:600;margin-bottom:8px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:8px}.image-preview{aspect-ratio:4/3;background:#f1f4ec;border-radius:8px;overflow:hidden;margin:22px 0}.image-preview img{width:100%;height:100%;object-fit:contain}.checkbox{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:400}.checkbox input{width:17px;height:17px;accent-color:var(--green)}.product-form>.form-actions{grid-column:1/-1;justify-content:flex-end}.narrow{max-width:620px}.narrow>label:first-of-type{margin-top:0}.narrow .form-actions{margin-top:28px;justify-content:flex-end}.site-footer{max-width:1260px;margin:auto;border-top:1px solid var(--line);padding:20px 30px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#92998c;gap:20px}.signature{display:flex;align-items:center;justify-content:center;gap:10px;font-size:9px;color:#8b9286}.signature img{width:132px;height:auto;object-fit:contain}.login-body{min-height:100vh;display:grid;place-items:center;padding:25px}.login-card{width:100%;max-width:420px;padding:40px;background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 50px #344b2410}.login-logo{display:block;width:160px;height:72px;object-fit:contain;margin:0 auto 32px}.login-card h1{text-align:center;font-size:24px}.login-card>p{text-align:center;font-size:12px;color:var(--muted);margin:10px 0 27px}.login-card label{font-size:12px}.full{width:100%;margin-top:25px}.login-card .signature{border-top:1px solid var(--line);padding-top:25px;margin-top:32px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.table-wrap{overflow-x:auto;border:1px solid var(--line);background:white;border-radius:9px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;color:#697562;background:#f0f4eb;padding:14px 18px}td{padding:16px 18px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}tr:last-child td{border-bottom:0}td p{font-size:11px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere;white-space:normal}td strong{overflow-wrap:anywhere}.print-image{width:130px}.print-image img{width:90px;height:75px;object-fit:contain}.print-image .no-image{width:90px;min-height:75px;height:75px}.print-image .no-image span{font-size:30px}.print-image .no-image small{display:none}.nowrap{white-space:nowrap}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-inner{gap:25px}.header-inner nav{gap:15px}.account{gap:12px}.account>span{max-width:100px}}
@media(max-width:800px){.header-inner{flex-wrap:wrap;padding:15px 20px;gap:15px}.brand img{width:105px;height:45px}.account{order:2}.header-inner nav{order:3;width:100%;border-top:1px solid var(--line);padding-top:9px;gap:22px}.account>span{max-width:150px}.container{padding:28px 20px 40px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.page-title{align-items:flex-start;flex-direction:column;gap:18px}.page-title .actions{width:100%}h1{font-size:27px}.product-form{grid-template-columns:1fr}.detail-layout{gap:25px}.detail-info h1{font-size:26px}.detail-info{padding:10px 0}.signature img{width:116px}.site-footer{padding:20px}.form-panel{padding:23px}}
@media(max-width:480px){.container{padding:24px 15px 35px}.header-inner{padding:14px 15px}.account{font-size:11px;gap:12px}.account>span{max-width:85px}.account-link,.text-button{font-size:11px}.header-inner nav a{font-size:12px}.brand img{width:93px;height:40px}.header-inner nav{gap:24px}.product-grid{gap:11px}.product-info{padding:13px}.product-info h2{font-size:14px}.product-description{font-size:11px;margin-bottom:13px;min-height:37px}.product-numbers>strong{font-size:15px}.stock{font-size:10px;padding:3px 6px}.card-actions{font-size:10px;gap:6px;margin-top:13px}.searchbar{padding:10px;flex-wrap:wrap}.searchbar input{flex:1;min-width:150px}.result-count{font-size:11px}.searchbar .clear-search{order:4}.searchbar .result-count{order:3}.searchbar .button{padding:11px 13px}.detail-layout{grid-template-columns:1fr;gap:15px}.detail-info h1{font-size:27px}.detail-price{font-size:25px}.field-row{gap:13px}.form-panel{padding:20px}.button{font-size:12px;padding:10px 14px}.page-title .actions .button{flex:1}.login-card{padding:30px 25px}.login-body{padding:15px}.site-footer{padding:20px 15px;gap:10px;font-size:10px}.signature{font-size:8px;gap:7px}.signature img{width:104px}.print-image{width:85px}.print-image img{width:60px;height:60px}td,th{padding:12px}td{font-size:12px}}
@media print{@page{size:A4;margin:12mm}body{background:white;color:#111;font-size:10pt}.site-header{border-bottom:1px solid #ddd}.header-inner{padding:0 0 12px;display:block}.brand img{width:100px;height:45px}.header-inner nav,.account,.actions,.notice,.back-link{display:none!important}.container{padding:20px 0;max-width:none;min-height:0}.page-title{margin-bottom:20px}.page-title h1{font-size:21pt}.page-title p{font-size:9pt}.site-footer{padding:12px 0;max-width:none;font-size:8pt}.print-catalog{border:0;overflow:visible}.print-catalog table{table-layout:fixed}.print-catalog th:nth-child(1){width:17%}.print-catalog th:nth-child(2){width:49%}.print-catalog th:nth-child(3){width:12%}.print-catalog th:nth-child(4){width:22%}th,td{padding:8px;font-size:9pt}.print-catalog td p{font-size:8pt}tr{break-inside:avoid}thead{display:table-header-group}.nowrap{white-space:normal}.signature img{width:104px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Hesap / kayıt akışı */
.login-shell{width:100%;max-width:900px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.login-shell .login-card{max-width:none;height:100%}.login-shell .login-logo{margin-bottom:24px}.register-card h2{text-align:center;font-size:22px;font-weight:650}.register-card>p{text-align:center;font-size:12px;color:var(--muted);margin:10px 0 27px}.login-signature{grid-column:1/-1;background:white;border:1px solid var(--line);border-radius:10px;padding:14px 20px}.password-setup-card{max-width:460px}.panel-intro{font-size:12px;color:var(--muted);margin:6px 0 18px}.account-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}.account-grid .form-panel>label:first-of-type{margin-top:20px}.account-grid .form-actions{margin-top:26px;justify-content:flex-end}.approval-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.approval-item{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafbf8}.approval-item>div:first-child{min-width:0}.approval-item strong,.approval-item span,.approval-item small{display:block;overflow-wrap:anywhere}.approval-item span{font-size:12px;color:var(--muted);margin-top:2px}.approval-item small{font-size:10px;color:#98a092;margin-top:5px}.approval-actions{display:flex;gap:8px;flex-shrink:0}.approval-actions form{margin:0}.mini-empty{padding:24px 16px;border:1px dashed #d6ddcf;border-radius:8px;text-align:center;color:var(--muted);font-size:12px;margin-top:18px}.customer-section{margin-top:30px}.section-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:14px}.section-heading h2{font-size:18px}.section-heading p{font-size:12px;color:var(--muted);margin-top:5px}.empty.compact{padding:25px}.empty.compact p{margin:0}
@media(max-width:800px){.login-shell{max-width:460px;grid-template-columns:1fr}.login-signature{grid-column:1}.account-grid{grid-template-columns:1fr}.approval-item{align-items:flex-start}.approval-actions{flex-direction:column}}
@media(max-width:480px){.login-shell{gap:14px}.register-card h2{font-size:20px}.approval-item{flex-direction:column}.approval-actions{width:100%;flex-direction:row}.approval-actions form{flex:1}.approval-actions .button{width:100%}.customer-section .table-wrap{margin-left:-5px;margin-right:-5px}}

/* Kategori ve sipariş sistemi */
.header-inner nav{flex-wrap:wrap}.product-category{font-size:10px;color:#788574;margin-bottom:6px;text-transform:uppercase;letter-spacing:.6px}.catalog-filters select{max-width:220px;margin:0}.category-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.category-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafbf8}.category-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.category-actions{display:flex;gap:8px;align-items:center}.category-actions form{margin:0}.add-cart-form{display:grid;grid-template-columns:90px auto;gap:10px;align-items:end;max-width:310px;margin-top:28px}.add-cart-form label{grid-column:1/-1;margin:0}.add-cart-form .button{height:45px}.qty-input{max-width:90px}.cart-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 0 24px}.cart-actions strong{font-size:18px}.order-checkout{max-width:720px}.order-status{display:inline-block;padding:5px 9px;border-radius:999px;font-size:11px;background:#eef1ec;color:#596557}.order-status.large{font-size:13px;padding:7px 12px}.status-yeni{background:#eef1ec;color:#596557}.status-hazirlaniyor{background:#fff3dd;color:#8b652d}.status-kargoda{background:#eaf2f8;color:#4b6f87}.status-tamamlandi{background:#e8f2e6;color:#4c7048}.status-iptal{background:#f8e8e4;color:#934f43}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:24px}.table-wrap.flat{border:0;border-radius:0}.order-meta{margin:18px 0 0}.order-meta dt{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin-top:18px}.order-meta dd{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}.status-form{border-top:1px solid var(--line);margin-top:25px;padding-top:5px}.manual-order-form{max-width:900px}.order-lines-heading{margin-top:28px}.order-line{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:10px;align-items:center;margin-bottom:10px}.order-line input,.order-line select{margin:0}.order-line .button{height:45px}.manual-order-form>.form-actions{margin-top:28px;justify-content:flex-end}
@media(max-width:800px){.order-detail-grid{grid-template-columns:1fr}.catalog-filters select{max-width:none;flex:1;min-width:150px}.category-item{align-items:flex-start}.order-line{grid-template-columns:1fr 85px}.order-line .remove-order-line{grid-column:1/-1}.header-inner nav{row-gap:6px}}
@media(max-width:480px){.cart-actions{align-items:flex-start;flex-direction:column}.category-item{flex-direction:column}.category-actions{width:100%}.category-actions .button{flex:1}.order-line{grid-template-columns:1fr}.order-line .remove-order-line{grid-column:auto}.add-cart-form{grid-template-columns:80px 1fr}}

/* v5: navigasyon, tek kart giriş, katalog görünümü, müşteri profili ve bakiye */
.header-inner{overflow:visible}.main-nav{overflow:visible}.nav-menu{position:relative}.nav-menu-button{border:0;background:transparent;color:#747c72;font-size:13px;padding:8px 0;border-bottom:2px solid transparent}.nav-menu.active>.nav-menu-button,.nav-menu-button:hover{color:var(--ink);border-color:var(--green);font-weight:600}.nav-dropdown,.account-dropdown{position:absolute;top:calc(100% + 8px);left:-14px;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 14px 36px rgba(32,39,34,.12);padding:7px;z-index:50;opacity:0;visibility:hidden;transform:translateY(-5px);transition:.16s ease}.nav-menu:hover .nav-dropdown,.nav-menu:focus-within .nav-dropdown,.nav-menu.menu-open .nav-dropdown{opacity:1;visibility:visible;transform:none}.nav-dropdown a{display:block!important;border:0!important;padding:9px 11px!important;border-radius:6px;white-space:nowrap}.nav-dropdown a:hover,.nav-dropdown a.active{background:#f0f4eb;color:var(--green)!important}.account-menu{margin-left:auto;position:relative}.account-trigger{border:0;background:transparent;display:flex;align-items:center;gap:9px;padding:5px 0;color:var(--ink);text-align:left}.account-trigger svg{width:22px;height:22px;color:var(--green);flex:none}.account-trigger span{max-width:170px}.account-trigger strong{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-trigger small{display:block;color:var(--muted);font-size:10px}.account-trigger b{font-size:11px;color:var(--muted);font-weight:400}.account-dropdown{left:auto;right:0;min-width:180px}.account-menu:hover .account-dropdown,.account-menu:focus-within .account-dropdown,.account-menu.menu-open .account-dropdown{opacity:1;visibility:visible;transform:none}.account-dropdown a,.account-dropdown-button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:6px;font-size:12px;color:#626d5f}.account-dropdown a:hover,.account-dropdown-button:hover{background:#f0f4eb;color:var(--green)}.account-dropdown form{margin:0}

.auth-card{max-width:450px;padding:34px 38px}.auth-card .login-logo{margin-bottom:22px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f4ee;border-radius:8px;padding:4px;margin-bottom:26px}.auth-tab{border:0;background:transparent;border-radius:6px;padding:9px 12px;font-size:13px;color:var(--muted)}.auth-tab.active{background:white;color:var(--ink);font-weight:600;box-shadow:0 1px 5px rgba(32,39,34,.08)}.auth-viewport{overflow:hidden}.auth-track{display:flex;width:300%;transition:transform .28s ease;align-items:flex-start}.auth-panel{flex:0 0 33.333333%;width:33.333333%;padding:0 1px}.auth-card[data-auth-panel="login"] .auth-track{transform:translateX(0)}.auth-card[data-auth-panel="register"] .auth-track{transform:translateX(-33.333333%)}.auth-card[data-auth-panel="forgot"] .auth-track{transform:translateX(-66.666666%)}.auth-panel h1{text-align:center;font-size:23px}.auth-panel>p{text-align:center;font-size:12px;color:var(--muted);margin:9px 0 24px}.auth-link-button{display:block;border:0;background:none;color:var(--green);font-size:12px;padding:8px 0 0;margin-left:auto}.auth-link-button.centered{margin:13px auto 0}.auth-card .signature{margin-top:25px}.auth-card .signature img{width:150px}

.catalog-view-toggle{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden;margin-left:auto}.view-button{border:0;border-right:1px solid var(--line);background:white;padding:8px 10px;font-size:11px;color:var(--muted)}.view-button:last-child{border-right:0}.view-button.active{background:#eaf0e5;color:var(--green);font-weight:600}.catalog-filters .result-count{margin-left:0}.catalog-category-section{margin:0 0 34px}.catalog-category-heading{display:flex;align-items:center;gap:14px;margin:0 0 14px}.catalog-category-heading h2{font-size:19px;font-weight:650}.catalog-category-heading:after{content:"";height:1px;background:var(--line);flex:1}.view-list .product-grid{display:flex;flex-direction:column;gap:10px}.view-list .product-card{display:grid;grid-template-columns:130px minmax(0,1fr);min-height:112px}.view-list .product-visual{aspect-ratio:auto;height:100%;min-height:112px;border-bottom:0;border-right:1px solid var(--line)}.view-list .product-info{padding:14px 17px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title nums" "desc nums" "actions actions";column-gap:20px}.view-list .product-info h2{grid-area:title}.view-list .product-description{grid-area:desc;min-height:0;margin:4px 0 8px;-webkit-line-clamp:1}.view-list .product-numbers{grid-area:nums;align-self:center;justify-content:flex-end;flex-direction:column;align-items:flex-end;margin:0}.view-list .card-actions{grid-area:actions;margin-top:6px;padding-top:8px}.view-list .no-image{min-height:112px}.view-list .no-image>span{font-size:32px}.view-list .no-image small{display:none}

.pending-panel{margin-bottom:24px}.customer-create-panel{margin-bottom:24px}.customer-create-panel[hidden]{display:none}.customer-create-panel .form-actions{margin-top:24px;justify-content:flex-end}.balance{font-weight:650}.balance.negative,.amount-minus{color:#9b4a3a}.amount-plus{color:#315f3f}.balance-card{background:white;border:1px solid var(--line);border-radius:10px;padding:14px 18px;min-width:170px;text-align:right}.balance-card small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.5px}.balance-card strong{display:block;font-size:22px;margin-top:2px}.customer-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.65fr);gap:24px;align-items:start}.customer-detail-grid aside{display:flex;flex-direction:column;gap:18px}.balance-input-row{display:grid;grid-template-columns:120px 1fr;gap:10px;margin-top:16px}.balance-input-row select,.balance-input-row input{margin:0}.password-action .full{margin-top:15px}.profile-form{max-width:900px}.profile-form .form-actions{margin-top:26px;justify-content:flex-end}.address-row textarea{min-height:130px}.inline-link{color:var(--green);text-decoration:underline;text-underline-offset:2px}

@media(max-width:900px){.main-nav{gap:15px!important}.account-trigger span{max-width:115px}.customer-detail-grid{grid-template-columns:1fr}.catalog-filters{flex-wrap:wrap}.catalog-view-toggle{margin-left:0}.catalog-filters .result-count{margin-left:auto}}
@media(max-width:800px){.main-nav{overflow:visible}.nav-dropdown{left:0}.account-menu{order:2}.account-trigger span{max-width:145px}.view-list .product-card{grid-template-columns:105px minmax(0,1fr)}.view-list .product-info{grid-template-columns:1fr;grid-template-areas:"title" "desc" "nums" "actions"}.view-list .product-numbers{flex-direction:row;align-items:center;justify-content:space-between;margin-top:4px}.auth-card{max-width:450px}.field-row.address-row{grid-template-columns:1fr}}
@media(max-width:520px){.auth-card{padding:28px 22px}.auth-card .login-logo{width:145px}.auth-panel h1{font-size:21px}.catalog-view-toggle span{display:none}.view-list .product-card{grid-template-columns:88px minmax(0,1fr)}.view-list .product-visual{min-height:105px}.view-list .product-info{padding:11px 12px}.view-list .product-description{display:none}.view-list .card-actions{font-size:10px}.view-list .no-image{min-height:105px}.balance-card{width:100%;text-align:left}.field-row{grid-template-columns:1fr}.account-trigger b{display:none}.account-trigger span{max-width:95px}}
.auth-viewport{transition:height .25s ease}
.signature img{width:150px}.auth-card .signature img{width:165px}@media(max-width:800px){.signature img{width:135px}}@media(max-width:480px){.signature img{width:125px}.auth-card .signature img{width:145px}}

/* v6: kısmi teslimat, bakiye bildirimi ve özel fiyatlandırma */
.form-hint{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin:8px 0 0}.optional{font-weight:400;color:var(--muted)}
.price-stack{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25}.price-stack strong{font-size:17px;font-weight:650;letter-spacing:-.3px}.stock-inline{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.status-kismi_kargolandi{background:#fff0d6;color:#8a6227}.status-kargolandi{background:#e6eff7;color:#456e89}
.delivery-panel{margin-bottom:24px}.delivery-qty{max-width:130px}.deliver-all-form{border-top:1px solid var(--line);margin-top:18px;padding-top:18px;display:flex;gap:14px;align-items:center}.deliver-all-form .form-hint{margin:0}.customer-section{margin-top:28px}.notification-status{display:inline-block;padding:5px 9px;border-radius:999px;font-size:11px;background:#eef1ec;color:#596557;white-space:nowrap}.notification-status.status-onay_bekliyor{background:#fff3dd;color:#8b652d}.notification-status.status-onaylandi{background:#e8f2e6;color:#4c7048}.notification-status.status-reddedildi{background:#f8e8e4;color:#934f43}.balance-notification-form{max-width:800px}.balance-approval{align-items:center}.balance-approval>div:first-child{display:flex;flex-direction:column;gap:3px}
.special-price-panel{margin-top:24px}.special-price-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.6fr) auto;gap:12px;align-items:end;margin-bottom:22px}.special-price-form label{margin:0 0 8px}.special-price-form .button{height:45px}.special-price-panel .empty{padding:26px 20px}
.delivery-slip-wrap{max-width:920px;margin:0 auto}.delivery-slip-actions{display:flex;justify-content:space-between;gap:10px;margin-bottom:18px}.delivery-slip{background:#fff;border:1px solid var(--line);border-radius:10px;padding:34px}.delivery-slip-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.delivery-slip-head h1{font-size:26px;margin:5px 0}.delivery-slip-head p{color:var(--muted);font-size:12px}.delivery-slip-head img{width:135px;height:65px;object-fit:contain}.delivery-slip-meta{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:24px}.delivery-slip-meta>div{display:flex;flex-direction:column;gap:4px}.delivery-slip-meta small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.delivery-slip-meta strong{font-size:15px}.delivery-slip-meta span{font-size:12px;color:#5f685d}.delivery-slip-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px;color:var(--muted);font-size:10px}
@media(max-width:1000px){.header-inner{gap:22px}.header-inner nav{gap:16px}.main-nav>a,.nav-menu-button{font-size:12px}.account-trigger span{max-width:125px}}
@media(max-width:800px){.special-price-form{grid-template-columns:1fr}.special-price-form .button{height:auto}.deliver-all-form{align-items:flex-start;flex-direction:column}.delivery-slip-meta{grid-template-columns:1fr}.delivery-slip{padding:22px}.delivery-slip-head img{width:105px}.delivery-slip-actions{flex-wrap:wrap}}
@media(max-width:520px){.price-stack strong{font-size:15px}.delivery-slip-head{flex-direction:column-reverse}.delivery-slip-footer{flex-direction:column}.delivery-slip-actions .button{flex:1}.account-trigger small{font-size:9px}}
@media print{body{background:#fff}.site-header,.site-footer,.delivery-slip-actions{display:none!important}.container{max-width:none;padding:0;min-height:0}.delivery-slip-wrap{max-width:none}.delivery-slip{border:0;padding:0}.delivery-slip table{font-size:12px}.delivery-slip th,.delivery-slip td{padding:10px 12px}}

/* S3: operasyon, stok ve teslimat akışı */
.notice.warning{background:#fff8df;border-color:#ead79d;color:#775d1f}.row-warning{margin-top:6px;font-size:11px;color:#9a5a31}.profile-required p{margin:8px 0 18px;color:var(--muted)}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.dashboard-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.dashboard-card small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.dashboard-card strong{font-size:24px;letter-spacing:-.5px}.stock-actions{display:flex;flex-direction:column;gap:8px;min-width:220px}.stock-actions form{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:7px}.stock-actions input{padding:8px 9px!important}.stock-actions .button{padding:8px 11px}.inline-form{display:inline-block}.shipping-action-panel,.shipping-photo-panel{margin-bottom:22px}.shipping-action-panel .form-actions{margin-top:16px}.shipping-photo-panel img{display:block;max-width:520px;width:100%;max-height:520px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f4f5f1}.danger-zone{margin-top:14px}.danger{background:#9a3f31;color:#fff;border-color:#9a3f31}.danger:hover{background:#7f3025;border-color:#7f3025}.danger-outline{border-color:#d7aaa1;color:#873e31;background:#fff}.danger-outline:hover{background:#fff1ed;border-color:#c9897d}.order-status.status-hazirlaniyor{background:#fff5dc;color:#7d621d}.order-status.status-kargolandi{background:#e8f2e5;color:#45663e}.order-status.status-iptal{background:#f8e9e5;color:#8a4337}.special-price-panel{margin-top:24px}
@media(max-width:900px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-actions{min-width:180px}}
@media(max-width:600px){.dashboard-cards{grid-template-columns:1fr}.stock-actions{min-width:160px}.stock-actions form{grid-template-columns:1fr}.shipping-action-panel .form-actions{align-items:stretch}.shipping-action-panel .button{width:100%}}
@media print{.shipping-action-panel,.shipping-photo-panel{display:none!important}}
.stock-choice-card{margin-top:16px;padding:18px;border:1px solid #e6cf91;background:#fff8e6;border-radius:9px}.stock-choice-title{font-weight:700;margin-bottom:6px}.stock-choice-card p{margin-bottom:14px;color:#4b4f49}.stock-choice-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.stock-choice-actions form{margin:0}.stock-choice-note{font-size:12px;color:#8b5f1c}.stock-choice-card>small{display:block;margin-top:10px;color:#74684e}.delivery-plan{display:flex;flex-direction:column;gap:3px;min-width:170px}.delivery-plan strong{color:var(--green)}.delivery-plan span{font-size:12px;color:#98671b}.cart-line-actions{display:flex;gap:7px;align-items:center}.cart-line-actions form{margin:0}.cart-line-actions .button{padding:8px 11px}.checkout-summary{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);background:#f7f9f5;border-radius:7px;font-size:13px}@media(max-width:700px){.stock-choice-actions{align-items:stretch}.stock-choice-actions form,.stock-choice-actions .button{width:100%}.cart-line-actions{flex-direction:column;align-items:stretch}.cart-line-actions .button{width:100%}}

/* S5: ürün seçenekleri ve kombinasyon bazlı fiyat / stok */
.variant-selector{margin:22px 0 16px;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fff}.variant-selector h2{margin:0 0 14px}.variant-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.variant-option-grid label{margin-top:0}.variant-live-summary{display:flex;flex-direction:column;align-items:flex-start}.variant-line-label{font-size:11px;color:#586858;margin:4px 0 3px;line-height:1.45}.option-management{margin-top:24px}.option-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.option-group-card{border:1px solid var(--line);border-radius:9px;background:#fafbf8;padding:16px;position:relative}.option-group-card.new-option{border-style:dashed}.option-group-form .form-actions{margin-top:12px;justify-content:flex-start}.option-delete-form{position:absolute;right:16px;top:16px}.option-delete-form .button{padding:7px 10px;font-size:10px}.compact-notice{margin:16px 0}.variant-admin-form{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.variant-admin-form h3{margin:0 0 4px;font-size:18px}.variant-price-input{min-width:130px}.variant-stock-input{min-width:110px}.variant-save-bottom{margin-top:16px;justify-content:flex-end}.product-form input[readonly]{background:#f1f3ee;color:#667064}.stock.out{white-space:nowrap}
@media(max-width:800px){.variant-option-grid,.option-groups{grid-template-columns:1fr}.option-delete-form{position:static;margin-top:10px}.variant-admin-form .section-heading{align-items:flex-start;flex-direction:column;gap:12px}}

/* S6: sade katalog ve ürün detayından stok işlemleri */
.stock-inline-form{display:flex;gap:8px;align-items:center;min-width:250px}.stock-inline-form input{max-width:115px;margin:0}.stock-inline-form .button{padding:10px 12px}.stock-single-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stock-single-actions .form-actions{margin-top:18px;justify-content:flex-end}.stock-single-actions .form-panel label{margin-top:18px}@media(max-width:800px){.stock-single-actions{grid-template-columns:1fr}.stock-inline-form{min-width:220px}}

/* S7: müşteri bakiye merkezi ve varyasyon fotoğrafları */
.my-balance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.my-balance-left,.my-balance-right{display:flex;flex-direction:column;gap:24px}.balance-summary-panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px 26px}.balance-summary-panel small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.55px;margin-bottom:4px}.balance-summary-panel strong{display:block;font-size:30px;line-height:1.2;letter-spacing:-.5px}.balance-column-section{min-width:0}.balance-column-section .section-heading{align-items:center}.balance-form-intro{margin-bottom:12px}.balance-notification-form .form-actions{margin-top:22px;justify-content:flex-end}.notification-history{margin-top:0}.my-balance-grid td,.my-balance-grid th{padding:13px 14px}.my-balance-grid td{font-size:12px}
.variant-image-admin{display:flex;flex-direction:column;gap:8px;min-width:190px;max-width:240px}.variant-image-admin>img,.variant-image-empty{width:96px;height:76px;border:1px solid var(--line);border-radius:7px;background:#f2f4ef;object-fit:contain}.variant-image-empty{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:10px}.variant-image-admin input[type=file]{max-width:220px}.variant-image-admin small{font-size:10px;color:var(--muted)}.variant-image-remove{margin:0;font-size:10px;line-height:1.35}.variant-admin-form td{vertical-align:top}.detail-picture img{transition:opacity .12s ease}
@media(max-width:900px){.my-balance-grid{grid-template-columns:1fr}.my-balance-right{order:1}.my-balance-left{order:0}}
@media(max-width:520px){.balance-summary-panel{padding:20px}.balance-summary-panel strong{font-size:26px}.balance-column-section .section-heading{align-items:flex-start}.balance-column-section .section-heading .button{width:auto}.variant-image-admin{min-width:160px}}

/* S8: varyant rozetleri, pasif sepet butonu ve ön sipariş ekranı */
[hidden]{display:none!important}.stock.stock-unavailable{font-size:13px;font-weight:700;padding:7px 11px}.button:disabled:hover{cursor:not-allowed}.button.primary:disabled:hover{background:var(--green);border-color:var(--green)}.variant-live-summary .price-badge[hidden],.variant-live-summary .stock[hidden]{display:none!important}.preorder-prepare-form{display:flex;align-items:center;gap:8px;min-width:250px}.preorder-prepare-form input{width:96px!important}.preorder-action-cell{min-width:280px}.preorder-action-cell .inline-link{display:inline-block;margin-top:8px;font-size:11px;color:var(--green)}
@media(max-width:520px){.stock.stock-unavailable{font-size:12px;padding:6px 9px}.preorder-prepare-form{min-width:220px}}

/* S9: sade müşteri fiyatı/ürün kartı ve daha belirgin stok durumu */
.stock.customer-stock{font-size:13px;font-weight:700;padding:7px 11px}
.stock.customer-stock:not(.out){font-size:14px;padding:8px 12px}
.card-actions .card-primary-action{width:100%}
@media(max-width:480px){.stock.customer-stock{font-size:12px;padding:6px 9px}.stock.customer-stock:not(.out){font-size:13px;padding:7px 10px}}
.stock-add-edit-panel{margin-top:24px}.stock-add-edit-form{display:grid;grid-template-columns:minmax(180px,320px) auto;gap:10px;align-items:end;max-width:520px}.stock-add-edit-form label{grid-column:1/-1;margin-top:10px}.stock-add-edit-form .button{height:46px}@media(max-width:600px){.stock-add-edit-form{grid-template-columns:1fr}.stock-add-edit-form label{grid-column:auto}}

/* S10: sade katalog, açılır yönetim panelleri ve yönetici bakiye düzeni */
.menu-caret{display:inline-block;margin-left:4px;font-size:8px;line-height:1;color:#677164;vertical-align:middle;transform:translateY(-1px)}
.account-caret{margin-left:1px;flex:none}
.employee-create-panel{margin-bottom:24px}
.employee-create-panel[hidden]{display:none!important}
.special-customer-list{margin-top:24px}
.catalog-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;align-items:stretch}
.catalog-filters input,.catalog-filters select{max-width:none!important;margin:0;height:46px}
.catalog-filters .button{width:100%;height:46px}
.catalog-filter-reset{margin:-14px 0 26px;text-align:right}
.catalog-filter-reset .clear-search{display:inline-block;padding:4px 2px}
.customer-stock{font-size:13px;font-weight:700;padding:7px 11px}
.admin-balance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.admin-balance-column{min-width:0}
.admin-balance-right{display:flex;flex-direction:column;gap:24px;min-width:0}
.admin-balance-approvals .approval-item{align-items:flex-start}
.admin-balance-approvals .approval-actions{flex-direction:column}
.admin-balance-approvals .approval-actions .button{width:100%}

@media(max-width:900px){
  .catalog-filters{grid-template-columns:1fr 1fr}
  .catalog-filters .button{grid-column:1/-1}
  .admin-balance-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .catalog-filters{grid-template-columns:1fr}
  .catalog-filters .button{grid-column:auto}
  .catalog-filter-reset{text-align:left;margin-top:-16px}
  .account-trigger .account-caret{display:none}
  .admin-balance-approvals .approval-actions{width:100%;flex-direction:row}
}
/* Dolgulu açılır menü üçgeni */
.menu-caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #677164;font-size:0;line-height:0;margin-left:5px;transform:none}

/* S11: siyah tema, sade nav hover ve ürün kombinasyon düzenleme */
.nav-menu-button:hover{color:var(--ink);font-weight:400;border-bottom-color:transparent}
.nav-menu.active>.nav-menu-button{color:var(--ink);border-color:var(--green);font-weight:600}
.input-suffix{display:flex;align-items:stretch;width:100%;border:1px solid #d7ddd2;background:#fff;border-radius:6px;overflow:hidden}
.input-suffix>input:not([type=checkbox]):not([type=hidden]){border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;flex:1;min-width:0}
.input-suffix>b{display:flex;align-items:center;justify-content:center;padding:0 12px;border-left:1px solid #e1e4df;background:#f6f7f4;color:#4b4f49;font-size:12px;font-weight:650;white-space:nowrap}
.input-suffix:focus-within{outline:2px solid #9a9a9a;outline-offset:1px;border-color:#9a9a9a}
.input-suffix.compact{min-width:135px;max-width:190px}
.variant-image-admin{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;min-width:300px;max-width:420px}
.variant-image-preview{flex:0 0 auto}
.variant-image-preview>img,.variant-image-preview>.variant-image-empty{width:96px;height:76px;border:1px solid var(--line);border-radius:7px;background:#f2f4ef;object-fit:contain;display:flex;align-items:center;justify-content:center}
.variant-image-controls{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.variant-image-controls input[type=file]{max-width:100%;font-size:11px}
.variant-image-controls .checkbox{margin:0;font-size:10px}
.variant-price-input,.variant-stock-input{min-width:0!important}
.edit-link{color:#111}
.login-story{background:#111}
@media(max-width:720px){.variant-image-admin{min-width:250px;max-width:320px}.input-suffix.compact{min-width:120px}}

/* S12: bakiye işaretleri, sade sepet/sipariş ve İstanbulMarka imzası */
.site-footer{justify-content:flex-end}
.footer-credit{font-size:10px;color:#8b8f89}
.footer-credit a{color:#111;font-weight:600}
.footer-credit a:hover{text-decoration:underline}
.cart-page-title{align-items:flex-end}
.cart-total-heading{margin-left:auto;text-align:right}
.cart-total-heading small{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}
.cart-total-heading strong{display:block;font-size:24px;line-height:1.2;letter-spacing:-.35px}
.cart-checkout-notice{margin:18px 0 0}
.cart-profile-required{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0 0;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:8px}
.cart-profile-required strong{font-size:13px}.cart-profile-required span{font-size:12px;color:var(--muted);margin-right:auto}.cart-profile-required .button{padding:8px 12px}
.cart-checkout-row{display:grid;grid-template-columns:6fr 3fr 3fr;gap:12px;align-items:center;margin-top:18px}
.cart-checkout-row .cart-note-input{height:46px;margin:0}
.cart-checkout-row .button{height:46px;width:100%;margin:0}
.cart-continue-button{background:#fff}
.order-success-card{text-align:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px 20px;margin:0 0 28px}
.order-success-check{width:82px;height:82px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;background:#2f8d46;color:#fff;font-size:46px;font-weight:800;line-height:1}
.order-success-card h2{font-size:23px;margin-bottom:5px}.order-success-card p{font-size:12px;color:var(--muted)}
.order-lines-empty{padding:26px 18px;border:0;background:#f8f9f7}.order-lines-empty p{margin:0}
.delivery-panel .section-heading{margin-bottom:14px}
.delivery-panel td,.delivery-panel th{padding-top:13px;padding-bottom:13px}
@media(max-width:760px){.cart-checkout-row{grid-template-columns:1fr 1fr}.cart-note-input{grid-column:1/-1}.cart-total-heading{margin-left:0;text-align:left}.cart-page-title{align-items:flex-start}.order-success-check{width:72px;height:72px;font-size:40px}}
@media(max-width:480px){.cart-checkout-row{grid-template-columns:1fr}.cart-note-input{grid-column:auto}.cart-checkout-row .button{width:100%}.order-success-card{padding:26px 16px}}

/* S13: teslimata çekme işlemleri */
.delivery-actions{margin-top:18px;justify-content:flex-end;flex-wrap:wrap}
.delivery-history-section{margin-top:0;margin-bottom:28px}
@media(max-width:600px){.delivery-actions{align-items:stretch;flex-direction:column}.delivery-actions .button{width:100%}}

[hidden]{display:none!important}.manager-dashboard{margin-bottom:34px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dashboard-heading h1{font-size:26px}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 19px;display:flex;align-items:center;justify-content:space-between;gap:14px;transition:border-color .18s,transform .18s,box-shadow .18s}.dashboard-card:hover{border-color:#111;transform:translateY(-1px);box-shadow:0 8px 22px #0000000d}.dashboard-card span{font-size:12px;color:var(--muted);font-weight:550}.dashboard-card strong{font-size:25px;line-height:1;color:#111}.catalog-title{margin-top:0}.option-management>.section-heading{align-items:center}.option-management>.section-heading .button{margin-left:auto}.preorder-action-cell .preorder-prepare-form{margin-bottom:0}@media(max-width:900px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.dashboard-grid{grid-template-columns:1fr}.dashboard-card{padding:16px}}

/* S16: ayrı kontrol paneli, dengeli mobil menü ve yatay taşma düzeltmeleri */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.container,.header-inner,.site-footer,.page-title,.form-panel,.product-card,.detail-layout,.product-form,.customer-detail-grid,.admin-balance-grid,.my-balance-grid,.order-detail-grid{min-width:0;max-width:100%}
.table-wrap{max-width:100%}
textarea{resize:none!important;overflow:hidden;min-height:46px}
.dashboard-page{margin-top:0}
.dashboard-money strong{font-size:20px;letter-spacing:-.25px;white-space:nowrap}

/* Açılır menüler dokunmatik cihazlarda sadece tıklamayla açılıp kapanır. */
.nav-menu:hover .nav-dropdown,.nav-menu:focus-within .nav-dropdown,.account-menu:hover .account-dropdown,.account-menu:focus-within .account-dropdown{opacity:0;visibility:hidden;transform:translateY(-5px)}
.nav-menu.menu-open .nav-dropdown,.account-menu.menu-open .account-dropdown{opacity:1;visibility:visible;transform:none}
@media(hover:hover) and (pointer:fine){
  .nav-menu:hover .nav-dropdown,.nav-menu:focus-within .nav-dropdown,.account-menu:hover .account-dropdown,.account-menu:focus-within .account-dropdown{opacity:1;visibility:visible;transform:none}
}

@media(max-width:800px){
  .header-inner{width:100%;max-width:100%;justify-content:space-between;overflow:visible}
  .brand{max-width:36%}
  .account-menu{margin-left:auto;max-width:60%;min-width:0}
  .account-trigger{max-width:100%;min-width:0}
  .account-trigger span{min-width:0;max-width:145px}
  .main-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;width:100%;max-width:100%;align-items:stretch}
  .main-nav>a,.main-nav>.nav-menu{width:100%;min-width:0}
  .main-nav>a,.nav-menu-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:8px 5px!important;text-align:center;line-height:1.2;white-space:normal}
  .nav-menu-button{gap:3px}
  .nav-dropdown{min-width:180px;max-width:calc(100vw - 30px);left:0}
  .main-nav>:nth-child(3n) .nav-dropdown{left:auto;right:0}
  .account-dropdown{max-width:calc(100vw - 30px);right:0;left:auto}
  .container{width:100%;max-width:100%}
  .page-title,.actions,.form-actions{max-width:100%}
  img,svg{max-width:100%}
}

@media(max-width:520px){
  .login-body{width:100%;max-width:100vw;padding:14px;overflow-x:hidden}
  .login-card,.auth-card,.password-setup-card{width:100%;max-width:calc(100vw - 28px);min-width:0;padding-left:20px;padding-right:20px}
  .auth-viewport,.auth-track,.auth-panel,.login-card form{min-width:0;max-width:100%}
  .auth-track{max-width:none}
  .header-inner{padding-left:12px;padding-right:12px}
  .container{padding-left:12px;padding-right:12px}
  .site-footer{padding-left:12px;padding-right:12px}
  .main-nav{gap:6px!important}
  .main-nav>a,.nav-menu-button{font-size:11px!important;padding:7px 3px!important}
  .nav-dropdown{max-width:calc(100vw - 24px)}
  .account-dropdown{max-width:calc(100vw - 24px)}
  .dashboard-money strong{font-size:18px}
}
@media(max-width:800px){
  .main-nav>.manager-home-link{grid-column:1/-1;min-height:36px;border:1px solid var(--line);border-radius:7px;background:#fff}
}


/* S17: mobil menude logo ana sayfa, daha okunakli sekmeler */
@media(max-width:800px){
  .main-nav>.manager-home-link{display:none!important}
  .main-nav>a,.nav-menu-button{min-height:48px;padding:10px 6px!important;font-size:13px!important;line-height:1.25}
  .nav-menu-button{font-size:13px!important}
}
@media(max-width:520px){
  .main-nav{gap:7px!important}
  .main-nav>a,.nav-menu-button{min-height:48px;padding:10px 4px!important;font-size:12px!important;line-height:1.25}
  .nav-menu-button{font-size:12px!important}
}


/* S19: personel ürün görünümü ve çalışan kontrol paneli */
.staff-stock-hero{display:flex;align-items:baseline;gap:10px;margin:0 0 18px;padding:0;color:#111}
.staff-stock-hero span{font-size:13px;color:var(--muted);font-weight:600}
.staff-stock-hero strong{font-size:25px;line-height:1.1;letter-spacing:-.35px;font-weight:700}
.employee-stock-section{margin-top:24px;width:100%}
.employee-stock-section .section-heading{margin-bottom:10px}
.employee-stock-section .section-heading h2{margin:0;font-size:15px}
.employee-stock-table th,.employee-stock-table td{padding:11px 12px}
.employee-stock-table th:first-child,.employee-stock-table td:first-child{width:44%}
.employee-stock-table .stock-inline-form{display:flex;align-items:center;gap:8px;min-width:0}
.employee-stock-table .stock-inline-form .input-suffix{min-width:0;flex:1}
.employee-stock-table .stock-inline-form .button{flex:0 0 auto;padding:10px 13px}
.stock-employee-edit-form{padding:16px;margin-top:0}
.stock-employee-edit-form label{margin-top:0}
.stock-employee-edit-form .form-actions{margin-top:12px}
.staff-product-stock{margin-top:13px}
.staff-card-stock{font-size:14px;padding:7px 10px;font-weight:700;background:#f1f2ef;color:#111}
.dashboard-card-static{cursor:default}
.dashboard-card-static:hover{transform:none;border-color:var(--line);box-shadow:none}
@media(max-width:800px){
  .staff-stock-hero strong{font-size:22px}
  .employee-stock-table .stock-inline-form{flex-direction:column;align-items:stretch}
  .employee-stock-table .stock-inline-form .button{width:100%}
}

/* S21: çalışan stok tablosu oranları */
.employee-stock-table table{table-layout:fixed}
.employee-stock-table th:first-child,.employee-stock-table td:first-child{width:60%}
.employee-stock-table th:last-child,.employee-stock-table td:last-child{width:40%}
.employee-stock-table .stock-inline-form{justify-content:flex-end;width:100%}
.employee-stock-table .stock-inline-form .input-suffix{flex:0 1 220px;width:220px;max-width:220px}
.employee-stock-table .stock-inline-form input{max-width:none!important;width:100%}
.employee-stock-table .stock-inline-form .button{margin-left:0}
@media(max-width:800px){
  .employee-stock-table th:first-child,.employee-stock-table td:first-child{width:62%}
  .employee-stock-table th:last-child,.employee-stock-table td:last-child{width:38%}
  .employee-stock-table th,.employee-stock-table td{padding:10px 8px}
  .employee-stock-table td:first-child strong{font-size:11px;line-height:1.35;display:block;overflow-wrap:anywhere}
  .employee-stock-table .stock-inline-form{flex-direction:column;align-items:flex-end;gap:6px}
  .employee-stock-table .stock-inline-form .input-suffix{flex:none;width:96px;max-width:96px}
  .employee-stock-table .stock-inline-form .input-suffix>b{padding:0 7px;font-size:10px}
  .employee-stock-table .stock-inline-form .button{width:96px;padding:8px 7px;font-size:11px}
}

/* Ürün bazlı fiyatlandırma ve doğrudan yönetici düzenleme */
.manager-product-inline-form{margin-top:20px;padding:20px}
.manager-product-inline-form h2{margin:0 0 8px!important;font-size:17px!important}
.manager-product-inline-form label{margin-top:16px}
.manager-product-inline-form .field-row label{margin-top:16px}
.manager-product-inline-form .form-actions{margin-top:18px;justify-content:flex-end}
.manager-variant-table th,.manager-variant-table td{padding:11px 12px;vertical-align:middle}
.manager-variant-table th:first-child,.manager-variant-table td:first-child{min-width:180px}
.manager-variant-table th:nth-child(2),.manager-variant-table td:nth-child(2){min-width:300px}
.manager-variant-table th:last-child,.manager-variant-table td:last-child{width:160px}
.manager-variant-table .input-suffix{min-width:120px}
.manager-option-management{margin-top:28px}
.detail-info .special-price-panel h2{margin:0 0 6px!important;font-size:17px!important}
.detail-info .special-price-panel .section-heading p{color:var(--muted);font-size:12px}
@media(max-width:800px){
  .manager-product-inline-form{padding:18px}
  .manager-variant-table th:nth-child(2),.manager-variant-table td:nth-child(2){min-width:250px}
}
.customer-delete-panel{margin-top:14px}.customer-delete-note{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.55}

/* S22: parola yönetimi ve mobil yerleşim sağlamlaştırması */
.password-manual-panel .form-hint{margin:4px 0 0}
.password-manual-form label:first-of-type{margin-top:16px}
.password-manual-form .full{margin-top:16px}
.table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.detail-info,.customer-detail-grid>*,.order-detail-grid>*,.my-balance-grid>*,.admin-balance-grid>*{min-width:0}

@media(max-width:800px){
  .detail-layout{grid-template-columns:1fr;gap:22px}
  .detail-picture{width:100%;max-width:620px;margin:0 auto}
  .detail-info{width:100%;padding-top:4px}
  .actions,.form-actions,.section-heading{flex-wrap:wrap}
  .section-heading{align-items:flex-start}
  .manager-product-inline-form{width:100%;max-width:100%;padding:18px}
  .manager-product-inline-form .field-row{grid-template-columns:1fr}
  .manager-variant-table{width:100%;max-width:100%;overflow-x:auto}
  .manager-option-management,.option-management{width:100%;max-width:100%}
  .option-group-card,.variant-admin-form,.special-price-panel{min-width:0;max-width:100%}
  .customer-detail-grid aside{min-width:0;width:100%}
}

@media(max-width:600px){
  .page-title,.section-heading{gap:12px}
  .page-title .actions,.actions,.form-actions{width:100%;min-width:0}
  .actions .button,.form-actions .button{max-width:100%}
  .balance-input-row{grid-template-columns:1fr}
  .searchbar input{min-width:0}
  .delivery-slip-actions{align-items:stretch}
  .delivery-slip-actions .button{max-width:100%}
  .password-manual-panel,.password-action{min-width:0}
}

@media(max-width:480px){
  .button{max-width:100%;white-space:normal;text-align:center}
  .form-panel,.manager-product-inline-form{padding:18px}
  .detail-info h1{font-size:25px}
  .detail-price{font-size:23px}
  .section-heading>.button{width:100%}
  .option-management>.section-heading .button{margin-left:0}
  .manager-variant-table th:first-child,.manager-variant-table td:first-child{min-width:150px}
  .manager-variant-table th:nth-child(2),.manager-variant-table td:nth-child(2){min-width:220px}
  .manager-variant-table th:last-child,.manager-variant-table td:last-child{width:125px}
  .variant-image-admin{min-width:220px;max-width:260px}
  .special-price-panel .table-wrap,.customer-section .table-wrap{max-width:100%}
}

/* S22: liste fiyatı, KDV ibaresi, fişin iki eşit sütunu */
.price-stack .original-price,.cart-price-wrap .original-price,.detail-price-wrap .original-price{display:block;color:var(--muted);font-size:12px;font-weight:400;text-decoration:line-through;margin-bottom:3px}
.price-stack .price-tax{display:inline;font-size:10px;font-weight:400;letter-spacing:0;margin-left:4px;white-space:nowrap;color:var(--muted)}
.detail-price-wrap .price-tax{font-size:12px;font-weight:400;white-space:nowrap;color:var(--muted)}
.detail-price-wrap .detail-price{margin-top:0}
.cart-price-wrap strong{display:block}
.delivery-slip-meta{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.delivery-slip-meta .delivery-address-label{margin-top:10px}
@media print{.delivery-slip-meta{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px}.delivery-slip-meta>div{min-width:0}}
@media screen and (max-width:800px){.delivery-slip-meta{grid-template-columns:1fr}}
