:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#18212f;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}a{color:#2457d6;text-decoration:none}.wrap{max-width:1180px;margin:auto;padding:0 18px}header{background:#101827;color:#fff}.nav{display:flex;align-items:center;justify-content:space-between;min-height:62px;gap:20px}.brand{font-weight:800;color:#fff;font-size:20px}.nav nav{display:flex;gap:15px;flex-wrap:wrap}.nav nav a{color:#dce6ff}main{padding-top:28px;padding-bottom:50px}h1{font-size:28px}h2{font-size:20px}.card{background:#fff;border:1px solid #e3e7ef;border-radius:14px;padding:18px;margin:14px 0;box-shadow:0 2px 10px #1018270a}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.stat b{display:block;font-size:28px;margin-top:6px}.muted{color:#667085}.price{font-size:26px;font-weight:800}.up{color:#a33}.down{color:#087a45}table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}th,td{padding:11px 12px;border-bottom:1px solid #edf0f5;text-align:left;vertical-align:top}th{background:#f9fafc;font-size:13px;color:#475467}input,select,button,textarea{width:100%;padding:10px 11px;border:1px solid #cfd6e2;border-radius:9px;background:#fff;font:inherit}button,.btn{display:inline-block;width:auto;background:#2457d6;color:#fff;border:0;padding:10px 14px;border-radius:9px;cursor:pointer}.btn.secondary{background:#475467}.btn.danger{background:#b42318}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.flash{padding:12px 14px;border-radius:10px;margin-bottom:15px}.flash.ok{background:#eaf8f1;color:#067647}.flash.err{background:#fff0ee;color:#b42318}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2ff;font-size:12px}.badge.bad{background:#fff0ee;color:#b42318}.badge.good{background:#eaf8f1;color:#067647}footer{color:#667085;border-top:1px solid #e4e7ec;padding:22px 0;margin-top:20px}@media(max-width:760px){.nav{align-items:flex-start;flex-direction:column;padding-top:14px;padding-bottom:14px}.nav nav{gap:10px}table{display:block;overflow:auto;white-space:nowrap}}
.thumb{width:64px;height:64px;object-fit:contain;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.thumb.placeholder{display:flex;align-items:center;justify-content:center;color:#98a2b3}.product-card{display:block;color:inherit}.product-image-wrap{height:190px;display:flex;align-items:center;justify-content:center;margin:-4px -4px 14px;background:#fff;border-radius:11px;overflow:hidden}.product-image-wrap.placeholder{background:#f9fafb;color:#98a2b3;font-size:13px}.product-image{width:100%;height:100%;object-fit:contain}.product-head{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:24px;align-items:center}.product-detail-image{height:280px;display:flex;align-items:center;justify-content:center}.product-detail-image img{max-width:100%;max-height:100%;object-fit:contain}@media(max-width:640px){.product-head{grid-template-columns:1fr}.product-detail-image{height:220px}}

/* v0.1.4: keşif eylemi her yönetim ekranında görünür */
.nav-discovery-form{margin:0;display:flex;align-items:center}.nav-discovery-form input[type=hidden]{display:none}.nav-discovery-btn{background:#0b7a53;border:1px solid #19a974;color:#fff;font-weight:700;padding:8px 11px;white-space:nowrap}.discovery-cta{border:2px solid #b7e4d2;background:#f1fbf6}.discovery-cta .primary-discovery{font-size:16px;font-weight:800;background:#0b7a53;padding:12px 18px}.discovery-status{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}.discovery-status>div{background:#fff;border:1px solid #dceee5;border-radius:10px;padding:10px}.discovery-status b{display:block;font-size:20px;margin-top:3px}.nowrap{white-space:nowrap}@media(max-width:760px){.nav nav{align-items:flex-start}.nav-discovery-form{width:100%}.nav-discovery-btn{width:100%;text-align:center}.discovery-cta .primary-discovery{width:100%}}

/* v0.1.6 */
.badge.warn{background:#fff7e6;color:#a15c00}.log-table pre{white-space:pre-wrap;word-break:break-word;max-width:520px;max-height:280px;overflow:auto;background:#101827;color:#e5e7eb;padding:10px;border-radius:8px;font-size:12px}.log-table details summary{cursor:pointer;color:#2457d6}.pagination{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.mode-chip{display:inline-block;padding:5px 9px;border-radius:999px;background:#f2f4f7;font-size:12px}.mode-chip.hybrid{background:#fff7e6;color:#a15c00}


/* v0.3.0 family -> variant catalog */
.family-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;margin-top:18px}.family-card{display:block;background:#fff;border:1px solid #e3e7ef;border-radius:18px;overflow:hidden;color:inherit;box-shadow:0 6px 24px #1018270a;transition:.18s transform,.18s box-shadow}.family-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #10182714}.family-visual{height:230px;background:linear-gradient(180deg,#fff,#f8fafc);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.family-visual.placeholder{color:#98a2b3}.family-body{padding:17px}.family-body h2{margin:4px 0 8px;font-size:21px}.variant-summary{font-size:13px;color:#667085;margin-bottom:12px}.family-body .price{display:flex;flex-direction:column;margin:8px 0}.family-body .price small{font-size:12px;font-weight:600;color:#667085}.pending-price{font-size:17px;color:#667085}.color-stack{position:relative;width:78%;height:90%}.color-stack img{position:absolute;inset:7% auto auto 50%;width:66%;height:86%;object-fit:contain;transform:translateX(calc(-50% + (var(--stack-i) * 18px))) rotate(calc((var(--stack-i) - 1.5) * 2deg));filter:drop-shadow(0 8px 10px #10182726);background:#fff;border-radius:16px}.color-stack img:last-child{z-index:9}.admin-stack{position:relative;width:88px;height:70px}.admin-stack img{position:absolute;width:55px;height:65px;object-fit:contain;left:calc(var(--stack-i) * 12px);top:2px;background:#fff;border-radius:8px;box-shadow:0 3px 8px #10182720}
.product-shell{display:grid;grid-template-columns:minmax(320px,1fr) minmax(390px,1.1fr);gap:22px;align-items:stretch}.product-gallery,.product-config{margin-top:0}.hero-stage{height:520px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff,#fafbfc);border-radius:14px;overflow:hidden}.hero-stage img{width:100%;height:100%;object-fit:contain}.hero-placeholder{color:#98a2b3}.hero-meta{display:flex;justify-content:space-between;gap:10px;margin-top:13px}.product-config h1{font-size:32px;margin:5px 0 26px}.option-title{font-size:18px;font-weight:800;margin:18px 0 10px}.capacity-options,.color-options{display:flex;gap:10px;flex-wrap:wrap}.option-btn{background:#fff;color:#344054;border:1px solid #d0d5dd;min-width:105px;font-weight:700}.option-btn.selected{border:2px solid #1570ef;background:#eff8ff;color:#175cd3}.color-choice{display:grid;grid-template-columns:42px auto;align-items:center;gap:8px;background:#fff;color:#344054;border:1px solid #d0d5dd;padding:8px 12px;min-width:130px}.color-choice.selected{border:2px solid #1570ef;background:#eff8ff}.color-choice img{width:38px;height:44px;object-fit:contain}.color-dot{width:28px;height:28px;border-radius:50%;background:#eaecf0}.selected-price{margin:28px 0 18px;border-top:1px solid #eaecf0;padding-top:22px}.selected-price span,.selected-price small{display:block;color:#667085}.selected-price strong{display:block;font-size:34px;color:#1738d1;margin:5px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.offer-row{display:grid;grid-template-columns:1.3fr 1fr .7fr auto;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #eaecf0}.offer-row:last-child{border-bottom:0}.offer-row small{display:block;color:#667085;margin-top:4px}.offer-price{font-weight:800;font-size:20px;color:#1738d1}.history-list{display:grid;gap:8px}.history-list>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f0f2f5}@media(max-width:850px){.product-shell{grid-template-columns:1fr}.hero-stage{height:360px}.product-config h1{font-size:27px}.offer-row{grid-template-columns:1fr 1fr}.offer-row .btn{grid-column:1/-1;text-align:center}.family-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}@media(max-width:560px){.hero-stage{height:300px}.family-grid{grid-template-columns:1fr 1fr;gap:10px}.family-visual{height:170px}.family-body{padding:12px}.family-body h2{font-size:16px}.family-body .price{font-size:19px}.color-choice{min-width:calc(50% - 5px)}.offer-row{grid-template-columns:1fr}.family-card{border-radius:14px}}


/* v0.3.1 admin clustered catalog live filter */
.family-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 12px}.family-filter-input-wrap{display:flex;gap:8px;flex:1;max-width:720px}.family-filter-input-wrap input{min-width:0}.catalog-filter-empty{padding:24px;text-align:center;color:#667085;background:#f9fafb;border:1px dashed #d0d5dd;border-radius:12px;margin-top:12px}#family-catalog-table tr[hidden]{display:none!important}@media(max-width:700px){.family-filter-bar{align-items:stretch;flex-direction:column}.family-filter-input-wrap{max-width:none}.family-filter-input-wrap .btn{flex:0 0 auto}}

/* v0.3.3: frontpage kalite bildirimi + güvenli görünürlük */
.family-card-main{display:block;color:inherit}.report-zone{border-top:1px solid #edf0f5;padding:10px 12px;background:#fbfcfe}.report-zone .family-report{display:flex;justify-content:flex-end}.report-btn{background:#b42318}.report-btn:hover,.report-mini:hover{filter:brightness(.95)}.variant-report-list{margin-top:8px}.variant-report-list summary{cursor:pointer;color:#475467;font-size:13px}.variant-report-items{display:grid;gap:6px;margin-top:8px}.variant-report-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #eaecf0;border-radius:8px;background:#fff;font-size:13px}.variant-report-item form{margin:0}.report-mini{width:auto;padding:6px 9px;background:#b42318;color:#fff;border:0;border-radius:7px;font-size:12px}.report-form-inline{display:inline-flex;margin:0}.report-form-inline input[type=hidden],.report-form input[type=hidden]{display:none}.review-details pre{white-space:pre-wrap;word-break:break-word;max-width:680px;max-height:320px;overflow:auto;background:#101827;color:#e5e7eb;padding:10px;border-radius:8px;font-size:12px}@media(max-width:560px){.report-zone .family-report .report-btn{width:100%}.variant-report-item{align-items:flex-start}.report-form-inline{width:100%}.report-form-inline .report-btn{width:100%}}

/* v0.3.8 price freshness */
.price-time{display:block;font-size:10px!important;line-height:1.25;color:#8993a4;font-weight:500;margin-top:2px;white-space:nowrap}
.selected-price .price-time{margin-top:3px}
