/* Корзина-заявка. Цвета сайта: жёлтый #fc0, серый #616161 / #ececec */

/* ---------- Иконка в шапке ---------- */
.tc-header-cart{position:relative;display:flex;align-items:center;justify-content:center;align-self:center;width:40px;height:40px;margin:0 0 0 14px;flex:0 0 auto;text-decoration:none}
.tc-header-cart:hover{opacity:.85}
.tc-badge{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#e02020;color:#fff;font:700 11px/18px Verdana,sans-serif;text-align:center;box-sizing:border-box}
.tc-badge[hidden]{display:none}
@media (max-width:991px){
	.tc-header-cart{margin:0 6px 0 auto}
	.main-head-cont .contact-head{margin-right:0}
}

/* ---------- Кнопки: страница товара ---------- */
.tc-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.tc-row .new-product__prices-btn{margin:0;display:block}
.tc-btn{display:inline-block;box-sizing:border-box;cursor:pointer;text-align:center;border-radius:30px;padding:8px 20px;font:inherit;line-height:1.4;color:#333;background:#fff;border:2px solid #fc0;transition:background .15s}
.tc-btn:hover{background:#fff6cc}
.tc-btn.is-in{background:#4a4a4a;border-color:#4a4a4a;color:#fff}
.tc-btn.is-in:hover{background:#333}

/* ---------- Кнопки: листинг ---------- */
.add-cart.tc-has{display:flex;align-items:stretch}
.add-cart.tc-has .btn-topas-sd{flex:1 1 auto;width:auto;cursor:pointer}
.tc-sq{flex:0 0 38px;width:38px;border:1px solid #b4b4b4;border-left:0;background:#fff;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}
.tc-sq svg{width:20px;height:20px}
.tc-sq svg path{fill:#333}
.tc-sq:hover{background:#fff6cc}
.tc-sq.is-in{background:#4a4a4a;border-color:#4a4a4a}
.tc-sq.is-in svg path{fill:#fc0}
.tc-sq.is-in:hover{background:#333}
.border1-gl .vt-gl{position:relative}
.tc-dot{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:50%;background:#4a4a4a;color:#fc0;font:700 12px/20px Verdana,sans-serif;text-align:center}

/* ---------- Выезжающая панель ---------- */
.tc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:100000;opacity:0;transition:opacity .25s}
.tc-overlay.is-open{opacity:1}
.tc-overlay[hidden]{display:none}
.tc-panel{position:fixed;top:0;right:0;bottom:0;width:400px;max-width:100%;background:#fff;z-index:100001;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s;box-shadow:-4px 0 20px rgba(0,0,0,.25);font-family:Verdana,sans-serif;color:#222}
.tc-panel.is-open{transform:none}
.tc-panel__head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e3e3e3}
.tc-panel__title{font-size:18px;font-weight:700}
.tc-panel__close{border:0;background:none;font-size:30px;line-height:1;cursor:pointer;padding:0 4px;color:#222}
.tc-panel__body{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
.tc-panel__list{flex:1 1 auto;overflow:auto;padding:0 20px}
.tc-panel__foot{padding:16px 20px 20px;border-top:1px solid #e3e3e3}
.tc-panel__sum{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px;font-size:14px}
.tc-panel__sum b{font-size:24px}
.tc-panel-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #eee}
.tc-panel-item:last-child{border-bottom:0}
.tc-thumb{flex:0 0 48px;width:48px;height:60px;object-fit:contain}
.tc-panel-item__info{flex:1 1 auto;min-width:0}
.tc-name{font-size:13px;font-weight:700;text-transform:uppercase;line-height:1.3}
.tc-name small{display:block;font-weight:400;text-transform:none;color:#666;font-size:12px}
.tc-price{font-size:13px;margin:4px 0 8px;font-weight:700}
.tc-del{flex:0 0 auto;border:0;background:none;cursor:pointer;padding:4px;align-self:flex-start;color:#555}
.tc-del:hover{color:#c00}
.tc-del svg{width:18px;height:18px;fill:currentColor}
.tc-qty{display:inline-flex;align-items:center;border:1px solid #ccc;border-radius:20px;overflow:hidden;background:#fff}
.tc-qty button{border:0;background:none;width:30px;height:28px;cursor:pointer;font-size:16px;line-height:1;color:#333}
.tc-qty button:hover{background:#f3f3f3}
.tc-qty span{min-width:28px;text-align:center;font-size:14px;font-weight:700}
.tc-btn-main{display:block;width:100%;box-sizing:border-box;text-align:center;background:#fc0;color:#222;border:0;border-radius:30px;padding:13px 20px;font:700 14px Verdana,sans-serif;text-transform:uppercase;cursor:pointer;text-decoration:none}
.tc-btn-main:hover{background:#e6b800;color:#222;text-decoration:none}
.tc-btn-main[disabled]{opacity:.6;cursor:default}
.tc-empty{padding:40px 20px;text-align:center}
.tc-empty p{font-size:16px;margin-bottom:20px}
.tc-empty .tc-btn-main{display:inline-block;width:auto;padding:13px 30px}
body.tc-lock{overflow:hidden}
@media (max-width:767px){.tc-panel{width:100%}}

/* ---------- Страница корзины ---------- */
.tc-page h1{margin:10px 0 25px}
.tc-layout{display:flex;gap:30px;align-items:flex-start;font-family:Verdana,sans-serif;margin-bottom:40px}
.tc-main{flex:1 1 auto;min-width:0}
.tc-side{flex:0 0 340px;background:#ececec;border-radius:10px;padding:22px 24px;box-sizing:border-box}
.tc-table{width:100%;border-collapse:collapse}
.tc-table th{background:#fff3bf;font-size:12px;text-transform:uppercase;padding:12px 10px;text-align:center;font-weight:700}
.tc-table th:first-child{text-align:left}
.tc-table td{padding:16px 10px;border-bottom:1px solid #e5e5e5;vertical-align:middle;text-align:center;font-size:14px}
.tc-table td.tc-td-name{text-align:left}
.tc-prod{display:flex;align-items:center;gap:14px}
.tc-prod .tc-thumb{flex:0 0 56px;width:56px;height:72px}
.tc-x{border:0;background:none;font-size:22px;color:#777;cursor:pointer;line-height:1}
.tc-x:hover{color:#c00}
.tc-back{display:inline-block;margin-top:18px;font-size:14px}
.tc-side h2{font-size:18px;font-weight:700;margin:0 0 16px}
.tc-side-row{display:flex;justify-content:space-between;font-size:14px;padding:6px 0;border-bottom:1px solid #d9d9d9}
.tc-side-total{display:flex;justify-content:space-between;align-items:baseline;margin:14px 0 18px}
.tc-side-total b{font-size:26px}
.tc-note-req{font-size:12px;color:#666;margin:-8px 0 14px}
.tc-form input[type=text],.tc-form input[type=tel],.tc-form input[type=email]{width:100%;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:20px;padding:10px 16px;margin-bottom:10px;font:14px Verdana,sans-serif;background:#fff}
.tc-form input.is-bad{border-color:#d00}
.tc-agree{display:flex;gap:8px;font-size:11px;line-height:1.4;margin:4px 0 14px;align-items:flex-start}
.tc-agree input{margin-top:2px;flex:0 0 auto}
.tc-agree.is-bad{color:#d00}
.tc-hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.tc-error{color:#d00;font-size:13px;margin:0 0 12px}
.tc-hint{font-size:12px;color:#666;margin:14px 0 0;line-height:1.4}
.tc-done{text-align:center;padding:50px 20px;font-family:Verdana,sans-serif}
.tc-done__ico{font-size:56px;line-height:1;margin-bottom:14px}
.tc-done h2{font-size:22px;margin:0 0 10px}
.tc-done p{font-size:15px;margin-bottom:24px}
.tc-done .tc-btn-main{display:inline-block;width:auto;padding:13px 40px}
@media (max-width:991px){
	.tc-layout{flex-direction:column;gap:24px}
	.tc-side{flex:none;width:100%}
	.tc-table thead{display:none}
	.tc-table,.tc-table tbody{display:block;width:100%}
	.tc-main{width:100%}
	.tc-table tr{width:100%;box-sizing:border-box;display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:14px 0;border-bottom:1px solid #e5e5e5}
	.tc-table td{display:block;border:0;padding:0;text-align:left}
	.tc-table td.tc-td-name{grid-column:1}
	.tc-table td.tc-td-x{grid-column:2;grid-row:1;text-align:right}
	.tc-table td.tc-td-price,.tc-table td.tc-td-qty,.tc-table td.tc-td-sum{grid-column:1 / 3}
	.tc-table td.tc-td-qty{order:0}
	.tc-table td.tc-td-price::before{content:"Цена: ";color:#777}
	.tc-table td.tc-td-sum::before{content:"Итого: ";color:#777}
	.tc-table td.tc-td-sum{font-weight:700}
}
