*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#fafafa;color:#17191c;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1300px;margin:auto;padding:0 24px}.top,.admin-head{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.97);border-bottom:1px solid #e8e8e8;backdrop-filter:blur(14px)}.top-inner,.admin-top{display:flex;align-items:center;gap:22px;min-height:76px}.brand{font-weight:850;font-size:29px;letter-spacing:-2px;white-space:nowrap}.logo{max-width:140px;max-height:54px;object-fit:contain}.contacts{display:flex;gap:10px 18px;flex-wrap:wrap;align-items:center;font-size:12px;color:#555;flex:1}.contacts a:first-child{color:#111;font-weight:700}button{font:inherit;cursor:pointer;background:#1d232a;color:white;border:1px solid #1d232a;border-radius:9px;padding:11px 16px;font-weight:650}button:hover{opacity:.88}button:disabled{opacity:.4;cursor:not-allowed}.cart-button{white-space:nowrap}.intro{padding:46px 0 26px}.eyebrow{letter-spacing:2px;color:#777;font-size:11px;font-weight:800}.intro h1{font-size:clamp(28px,4vw,48px);letter-spacing:-1.6px;margin:8px 0}.intro p{color:#666;max-width:560px}.banner-area{overflow:hidden;border-radius:16px;margin-bottom:30px}.banner-track{display:flex;transition:transform .5s ease}.banner{flex:0 0 100%;min-height:220px;background:#333a43 center/cover;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:36px 50px}.banner h2{font-size:32px;margin:0}.banner p{max-width:500px}.banner-dots{display:flex;gap:8px;justify-content:center;padding:12px}.banner-dots button{width:9px;height:9px;padding:0;border:0;background:#bbb;border-radius:50%}.banner-dots button.active{background:#1b1e21}.category-nav{display:flex;gap:8px;overflow-x:auto;padding:4px 0 25px}.category-nav a,.admin-tabs a{white-space:nowrap;border:1px solid #e2e2e2;background:#fff;border-radius:9px;padding:10px 16px;font-weight:600}.category-nav a:hover,.admin-tabs .selected{background:#222831;color:white;text-decoration:none}.catalog-section{margin-bottom:40px;scroll-margin-top:110px}.section-title{display:flex;align-items:center;gap:16px}.section-title h2{font-size:25px}.section-title small,.muted{color:#777}.table-scroll{overflow-x:auto;border:1px solid #e8e8e8;border-radius:13px;background:#fff}table{border-collapse:collapse;width:100%}.products th{font-size:12px;color:#6a6e75;background:#f5f6f7;text-align:left;white-space:nowrap}.products td,.products th{padding:16px 12px;border-bottom:1px solid #eee;vertical-align:middle}.products td{min-width:90px}.products .desc{max-width:260px;font-size:13px;color:#62676e}.products .photo-cell{min-width:105px}.photo-cell img{width:82px;height:75px;object-fit:contain}.placeholder{width:82px;height:75px;display:grid;place-items:center;background:#f0f1f2;color:#999;font-weight:800}.sku{font-size:12px;color:#6a6e75}.price{white-space:nowrap}.products del{white-space:nowrap;color:#999}.empty{text-align:center;color:#999}footer{border-top:1px solid #e8e8e8;margin-top:45px;padding:25px 0 50px;color:#666}.overlay[hidden]{display:none}.overlay{position:fixed;inset:0;background:#0008;z-index:30;display:flex;justify-content:flex-end}.cart-drawer{width:min(100%,500px);background:white;height:100%;overflow:auto;padding:26px;box-shadow:-10px 0 35px #0002}.drawer-head{display:flex;align-items:center;justify-content:space-between}.ghost{background:white;border:1px solid #ddd;color:#222;padding:7px 11px}.cart-line{border-bottom:1px solid #eee;padding:14px 0}.qty{display:flex;gap:12px;align-items:center;margin-top:10px}.totals{background:#f5f6f7;border-radius:12px;padding:16px;margin:20px 0}.pay-option{display:block;margin:9px 0}.total{font-size:24px;font-weight:800}.cart-drawer form,.panel{display:grid;gap:14px}label{display:grid;gap:6px;font-weight:600;font-size:13px}input,textarea,select{width:100%;border:1px solid #d9dce0;border-radius:8px;padding:11px;background:white;font:inherit;color:#222}input[type=checkbox],input[type=radio]{width:auto}.consent,.check{display:flex;align-items:center;gap:10px}.store-info{background:#f5f6f7;padding:12px;border-radius:8px}.narrow{max-width:620px;margin:60px auto;padding:0 22px}.panel{background:#fff;border:1px solid #e4e6e8;border-radius:12px;padding:20px;margin:12px 0}.alert{background:#fff1f1;color:#a20e0e;padding:12px;border-radius:9px}.success{background:#e9f7ee;color:#14652f;padding:12px;border-radius:9px}.admin-top{justify-content:space-between}.admin-top .brand{margin-right:auto}.admin-main{padding-top:26px;padding-bottom:70px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap}.admin-list details,.order{border:1px solid #e5e5e5;background:#fff;border-radius:10px;padding:14px;margin:10px 0}summary{cursor:pointer}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.compact-grid{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.compact-grid label{flex:1;min-width:140px}.danger{background:#fff;border-color:#e8c4c4;color:#a32d2d;margin:0 0 10px}.secondary{background:#626970}.preview{max-width:180px;max-height:100px;object-fit:contain}.admin-main h2{margin-top:34px}@media(max-width:850px){.top-inner{flex-wrap:wrap;gap:9px;padding-top:9px;padding-bottom:9px}.contacts{order:3;flex-basis:100%;font-size:11px}.top-inner .brand{margin-right:auto}.products thead{display:none}.products,.products tbody,.products tr,.products td{display:block;width:100%}.products tr{display:grid;grid-template-columns:90px 1fr;gap:4px 12px;padding:14px;border-bottom:1px solid #e5e5e5}.products td{border:0;padding:2px 0;min-width:0}.products .photo-cell{grid-row:span 4;min-width:0}.products td:not(.photo-cell):before{content:attr(data-label) ': ';color:#888;font-size:11px}.products .desc{max-width:none}.products .photo-cell:before{display:none}.products .photo-cell img,.placeholder{width:80px;height:80px}.products .empty{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.wrap{padding:0 14px}.banner{padding:26px;min-height:180px}.banner h2{font-size:24px}.admin-top{flex-wrap:wrap}.intro{padding:25px 0 16px}}

/* IWBM — единый размер фотографий телевизоров */

.products .photo-cell img {
    display: block;
    width: 100px;
    height: 85px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border-radius: 6px;
}

.products .photo-cell {
    min-width: 120px;
}

.products .placeholder {
    width: 100px;
    height: 85px;
    border-radius: 6px;
}

/* Отображение на телефонах */

@media (max-width: 850px) {
    .products .photo-cell {
        min-width: 0;
    }

    .products .photo-cell img,
    .products .placeholder {
        width: 80px;
        height: 80px;
    }
}
