/* Редизайн Toni Clean, етап 6: странична количка, количка, каса, профил.
   Касата има свой CSS (checkout/checkout.css); тук са заглавието, лентата със стъпките и общите цветове. */

/* ---------- Странична количка ---------- */
body.tc-redizain .shoptimizer-mini-cart-wrap{font-family:var(--tc-font);width:min(420px,92vw)!important;padding:0!important;display:flex;flex-direction:column;background:#fff!important;box-shadow:-20px 0 60px rgba(6,43,72,.25)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .cart-drawer-heading{position:relative!important;margin:0!important;padding:20px 60px 18px 22px!important;border-bottom:1px solid var(--tc-line)!important;font-family:var(--tc-font)!important;font-size:19px!important;font-weight:700!important;letter-spacing:-.2px;color:var(--tc-navy)!important;text-transform:none!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .close-drawer{top:14px!important;right:14px!important;width:40px!important;height:40px!important;border:1px solid var(--tc-line)!important;border-radius:12px!important;background:#fff!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .widget_shopping_cart{flex:1;display:flex;flex-direction:column;min-height:0;margin:0!important;padding:0!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .widget_shopping_cart_content{display:flex;flex-direction:column;height:100%}
body.tc-redizain .shoptimizer-mini-cart-wrap ul.woocommerce-mini-cart{flex:1;margin:0!important;padding:8px 22px!important;overflow:auto}
body.tc-redizain .shoptimizer-mini-cart-wrap li.mini_cart_item{position:relative;display:grid!important;grid-template-columns:64px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:start;margin:0!important;padding:14px 30px 14px 0!important;border-bottom:1px solid var(--tc-line)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap li.mini_cart_item>a:not(.remove){display:contents!important;font-size:14.5px!important;font-weight:600!important;line-height:1.35!important;color:var(--tc-navy)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap li.mini_cart_item img{grid-row:1/3;width:64px!important;height:64px!important;margin:0!important;padding:4px;object-fit:contain;border:1px solid var(--tc-line);border-radius:10px;background:var(--tc-light);float:none!important;position:static!important}
body.tc-redizain .shoptimizer-mini-cart-wrap li.mini_cart_item .quantity{grid-column:2;margin-top:6px!important;font-size:14px!important;font-weight:700!important;color:var(--tc-blue)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap li.mini_cart_item a.remove{position:absolute!important;top:14px!important;right:0!important;left:auto!important;display:grid!important;place-items:center;width:26px!important;height:26px!important;border-radius:50%!important;background:#f1f5f8!important;color:var(--tc-muted)!important;font-size:16px!important;line-height:1!important}
body.tc-redizain .shoptimizer-mini-cart-wrap li.mini_cart_item a.remove:hover{background:#fdecea!important;color:#b43130!important}
/* Основната тема дава фиксирана ширина на сумата и бутоните; тук те заемат целия панел и са центрирани. */
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__total,body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__buttons{width:auto!important;max-width:none!important;align-self:stretch}
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__total{display:flex!important;justify-content:center;gap:10px;align-items:baseline;margin:0!important;padding:16px 22px!important;border-top:1px solid var(--tc-line)!important;font-size:15px!important;color:var(--tc-text)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__total .amount{font-size:20px!important;font-weight:700!important;color:var(--tc-navy)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__buttons{display:grid!important;gap:8px;margin:0!important;padding:0 22px 70px!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__buttons .button{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:50px!important;margin:0!important;padding:0 16px!important;border:1px solid var(--tc-blue)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:var(--tc-blue)!important;font-family:var(--tc-font)!important;font-size:15px!important;font-weight:700!important;text-transform:none!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__buttons .button.checkout{order:-1;border-color:var(--tc-green)!important;background:var(--tc-green)!important;color:#fff!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__empty-message{padding:44px 22px 18px;border-top:0;font-size:15px;color:var(--tc-muted)}
/* Кръг 3, задача 5: иконата на празна количка е над текста (темата я центрира абсолютно върху отстъпа от 115px, който тук е по-малък). */
body.tc-redizain .shoptimizer-mini-cart-wrap .woocommerce-mini-cart__empty-message::before{position:static;transform:none;margin:0 auto 16px}
body.tc-redizain .shoptimizer-mini-cart-wrap .tc-prazna{margin:0;padding:0 22px}
body.tc-redizain .shoptimizer-mini-cart-wrap .tc-prazna .button{display:flex!important;align-items:center;justify-content:center;width:100%;height:50px;margin:0!important;padding:0 16px!important;border-radius:12px!important;background:var(--tc-blue)!important;color:#fff!important;font-size:15px!important;font-weight:700!important}

/* ---------- Общо за количка, каса и профил ---------- */
body.tc-shopflow #content{font-family:var(--tc-font);color:var(--tc-text)}
body.tc-shopflow .site-content .archive-header,body.tc-shopflow .site-content .archive-header>.col-full{background:#fff!important;border:0!important;margin-bottom:0!important}
body.tc-shopflow .woocommerce-breadcrumb{margin:0!important;padding:20px 0 0!important;background:none!important;font-size:13px!important;color:var(--tc-muted)!important}
body.tc-shopflow .woocommerce-breadcrumb a{color:var(--tc-blue)!important;font-weight:600}
body.tc-shopflow .entry-header{margin:0!important;padding:14px 0 6px!important;border:0!important}
body.tc-shopflow .entry-header::after,body.tc-shopflow .entry-header::before{display:none!important}
body.tc-shopflow .entry-header h1.entry-title{margin:0!important;padding:0!important;border:0!important;font-family:var(--tc-font)!important;font-size:clamp(28px,2.6vw,38px)!important;font-weight:700!important;letter-spacing:-.8px!important;color:var(--tc-navy)!important}

/* Лента със стъпките */
/* Shoptimizer вдига стъпките (ul absolute, top:-90px) и кръгчетата застъпваха заглавието. */
body.tc-shopflow .checkout-wrap{top:0!important;margin:40px auto 70px!important}
body.tc-shopflow ul.checkout-bar{position:relative!important;top:0!important}
body.tc-shopflow ul.checkout-bar li{font-family:var(--tc-font)!important;font-size:14px!important;color:var(--tc-muted)!important}
body.tc-shopflow ul.checkout-bar li.active,body.tc-shopflow ul.checkout-bar li.active a{color:var(--tc-navy)!important;font-weight:700!important}
body.tc-shopflow ul.checkout-bar li.active::before,body.tc-shopflow ul.checkout-bar li.visited::before{background:var(--tc-blue)!important;border-color:var(--tc-blue)!important}
body.tc-shopflow ul.checkout-bar::before{background:#e3edf3!important}
body.tc-shopflow ul.checkout-bar li.active::after,body.tc-shopflow ul.checkout-bar li.visited::after{background:var(--tc-cyan)!important}

/* ---------- Количка ---------- */
body.tc-shopflow.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start}
body.tc-shopflow.woocommerce-cart .woocommerce>:is(.woocommerce-notices-wrapper,.checkout-wrap,.wc-empty-cart-message,.return-to-shop,.cart-empty){grid-column:1/-1}
body.tc-shopflow.woocommerce-cart form.woocommerce-cart-form{margin:0!important}
/* Всеки продукт е карта-ред: снимка | име и цена за брой | − брой + | общо | ×. */
body.tc-shopflow.woocommerce-cart table.shop_table.cart{display:block;width:100%;margin:0!important;border:1px solid var(--tc-line)!important;border-radius:16px!important;overflow:hidden;background:#fff}
body.tc-shopflow.woocommerce-cart table.shop_table.cart :is(thead){display:none!important}
body.tc-shopflow.woocommerce-cart table.shop_table.cart tbody{display:block}
body.tc-shopflow.woocommerce-cart table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:84px minmax(0,1fr) auto 112px 34px;grid-template-areas:"img name qty sub rm" "img price qty sub rm";align-items:center;gap:2px 18px;padding:16px 18px;border-bottom:1px solid var(--tc-line)}
body.tc-shopflow.woocommerce-cart table.shop_table.cart tr.cart_item>td{display:block!important;padding:0!important;border:0!important;background:none!important;text-align:left!important}
body.tc-shopflow.woocommerce-cart table.shop_table.cart tr.cart_item>td::before{display:none!important}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-thumbnail{grid-area:img}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-thumbnail .product-labels{display:none!important}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-thumbnail img{display:block;width:84px!important;max-width:none!important;height:84px!important;object-fit:contain;padding:6px;border-radius:12px;background:var(--tc-light);border:1px solid var(--tc-line)}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-name{grid-area:name;align-self:end}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-name a{font-size:15.5px!important;font-weight:700!important;line-height:1.35;color:var(--tc-navy)!important}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-name :is(dl,.variation){margin:4px 0 0!important;font-size:12.5px;color:var(--tc-muted)}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-price{grid-area:price;align-self:start;font-size:13.5px!important;font-weight:500!important;color:var(--tc-muted)!important;white-space:nowrap}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-price::after{content:" / бр."}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-quantity{grid-area:qty}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-subtotal{grid-area:sub;text-align:right!important;font-size:17px!important;font-weight:700!important;color:var(--tc-navy)!important;white-space:nowrap;transition:opacity .2s}
body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-remove{grid-area:rm;justify-self:end}
body.tc-shopflow.woocommerce-cart table.shop_table.cart a.remove{display:grid!important;place-items:center;width:32px!important;height:32px!important;border-radius:50%!important;background:#f1f5f8!important;color:var(--tc-muted)!important;font-size:19px!important;line-height:1!important;border:0!important}
body.tc-shopflow.woocommerce-cart table.shop_table.cart a.remove:hover{background:#fdecea!important;color:#b43130!important}
/* Брой: − [ 2 ] + в една рамка */
body.tc-shopflow.woocommerce-cart .product-quantity .quantity{display:inline-flex!important;align-items:stretch;height:44px;margin:0!important;border:1px solid #c5d7e2;border-radius:11px;background:#fff;overflow:hidden}
body.tc-shopflow.woocommerce-cart .product-quantity .quantity input.qty{width:48px!important;height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;font-size:16px!important;font-weight:700!important;color:var(--tc-navy)!important;text-align:center;-moz-appearance:textfield}
body.tc-shopflow.woocommerce-cart .product-quantity .quantity input.qty::-webkit-inner-spin-button,body.tc-shopflow.woocommerce-cart .product-quantity .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.tc-shopflow.woocommerce-cart .product-quantity .quantity:not(.tc-qty) input.qty{width:64px!important}
body.tc-shopflow.woocommerce-cart .product-quantity .quantity-nav{display:none!important}
body.tc-shopflow.woocommerce-cart .tc-qty-btn{display:grid;place-items:center;width:40px;height:42px;margin:0;padding:0;border:0;border-radius:0;background:#f3f8fb;box-shadow:none;color:var(--tc-blue);font-family:var(--tc-font);font-size:20px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s}
body.tc-shopflow.woocommerce-cart .tc-qty-btn:hover{background:#e3eff6}
body.tc-shopflow.woocommerce-cart .tc-qty-btn:focus-visible{outline:2px solid var(--tc-cyan);outline-offset:-2px}
/* Докато AJAX-ът обновява, количката е полупрозрачна (blockUI на WooCommerce) */
body.tc-shopflow.woocommerce-cart :is(.woocommerce-cart-form,.cart_totals) .blockUI.blockOverlay{background:rgba(255,255,255,.55)!important}
/* Ред с кода за отстъпка. Бутонът „Обнови количката“ е скрит, щом JS-ът обновява сам. */
body.tc-shopflow.woocommerce-cart table.shop_table.cart tr:not(.cart_item){display:block}
body.tc-shopflow.woocommerce-cart td.actions{display:flex!important;align-items:center;gap:10px;padding:14px 18px!important;border:0!important;background:#f8fbfd!important}
body.tc-shopflow.woocommerce-cart td.actions .coupon{display:flex!important;align-items:stretch;gap:8px;float:none!important;flex:1;max-width:440px;margin:0!important;padding:0!important}
body.tc-shopflow.woocommerce-cart td.actions .coupon label{display:none!important}
body.tc-shopflow.woocommerce-cart td.actions .coupon input.input-text{flex:1;min-width:0;width:auto!important;height:46px!important;margin:0!important;padding:0 14px!important;border:1px solid #c5d7e2!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;font-size:14.5px!important;line-height:46px!important}
body.tc-shopflow.woocommerce-cart td.actions .button{display:inline-flex!important;align-items:center;justify-content:center;flex:none;height:46px!important;margin:0!important;padding:0 20px!important;border:1px solid var(--tc-blue)!important;border-radius:11px!important;background:#fff!important;color:var(--tc-blue)!important;font-family:var(--tc-font)!important;font-size:14.5px!important;font-weight:700!important;line-height:1!important;text-transform:none!important;white-space:nowrap;float:none!important}
body.tc-shopflow.woocommerce-cart td.actions .button:hover{background:var(--tc-blue)!important;color:#fff!important}
body.tc-shopflow.woocommerce-cart td.actions .button[disabled]{opacity:.5}
body.tc-shopflow.woocommerce-cart.tc-kolichka-js td.actions>.button[name="update_cart"]{display:none!important}
/* Доставката: само бележка; редовете с методите се избират в касата */
body.tc-shopflow.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals{display:none!important}
body.tc-shopflow.woocommerce-cart .cart_totals tr.tc-dostavka-belezhka td{text-align:right;color:var(--tc-muted)!important;font-size:13.5px!important}
body.tc-shopflow.woocommerce-cart .cart-collaterals{width:auto!important;margin:0!important;float:none!important}
body.tc-shopflow.woocommerce-cart .cart_totals{width:auto!important;float:none!important;margin:0!important;padding:22px!important;border:1px solid #d3e4ee!important;border-radius:18px!important;background:linear-gradient(180deg,#f3f9fc,#e9f3f9)!important}
body.tc-shopflow.woocommerce-cart .cart_totals h2{margin:0 0 12px!important;font-family:var(--tc-font)!important;font-size:19px!important;font-weight:700!important;color:var(--tc-navy)!important}
body.tc-shopflow.woocommerce-cart .cart_totals table{margin:0!important;border:0!important}
body.tc-shopflow.woocommerce-cart .cart_totals :is(th,td){padding:12px 0!important;border:0!important;border-bottom:1px solid #d3e4ee!important;background:none!important;font-size:14.5px!important;color:var(--tc-text)!important}
body.tc-shopflow.woocommerce-cart .cart_totals .order-total :is(th,td){border-bottom:0!important;font-size:18px!important;font-weight:700!important;color:var(--tc-navy)!important}
body.tc-shopflow.woocommerce-cart .cart_totals .shipping-calculator-button{color:var(--tc-blue)!important;font-weight:600}
body.tc-shopflow.woocommerce-cart .wc-proceed-to-checkout{margin:16px 0 0!important;padding:0!important}
body.tc-shopflow.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:54px!important;margin:0!important;border:0!important;border-radius:12px!important;background:var(--tc-green)!important;box-shadow:0 12px 24px -14px rgba(56,153,80,.8)!important;color:#fff!important;font-family:var(--tc-font)!important;font-size:17px!important;font-weight:700!important;text-transform:none!important}
body.tc-shopflow.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#2e8443!important}
body.tc-shopflow .cart-empty.woocommerce-info{border:0!important;border-radius:14px!important;background:var(--tc-light)!important;color:var(--tc-navy)!important;font-size:16px!important;padding:20px 22px!important}
body.tc-shopflow .return-to-shop .button{height:48px!important;padding:0 22px!important;border-radius:12px!important;background:var(--tc-blue)!important;color:#fff!important;font-family:var(--tc-font)!important;font-weight:700!important;line-height:48px!important}

/* ---------- Каса: заглавия и бутон в общия стил ---------- */
body.tc-shopflow.woocommerce-checkout :is(#customer_details h3,#order_review_heading,.woocommerce-billing-fields h3){font-family:var(--tc-font)!important;font-size:21px!important;font-weight:700!important;color:var(--tc-navy)!important;letter-spacing:-.3px}
body.tc-shopflow.woocommerce-checkout #place_order{border-radius:12px!important;background:var(--tc-green)!important;font-family:var(--tc-font)!important;font-weight:700!important;box-shadow:0 12px 24px -14px rgba(56,153,80,.8)!important}
body.tc-shopflow.woocommerce-checkout #place_order:hover{background:#2e8443!important}

@media (max-width:992px){
 body.tc-shopflow.woocommerce-cart .woocommerce{grid-template-columns:1fr}
}
@media (max-width:800px){
 body.tc-shopflow .entry-header h1.entry-title{font-size:28px!important}
 body.tc-shopflow .checkout-wrap{margin:34px auto 30px!important}
 body.tc-shopflow.woocommerce-cart .woocommerce{row-gap:18px}
 body.tc-shopflow.woocommerce-cart .checkout-wrap{margin:14px auto 0!important}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart tr.cart_item{grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"img name rm" "img price price" "img qty sub";gap:4px 12px;padding:14px}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-thumbnail{align-self:start}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-thumbnail img{width:76px!important;height:76px!important}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-name{align-self:start}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-name a{font-size:14.5px!important}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-remove{align-self:start}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-quantity{margin-top:6px}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart .product-subtotal{align-self:center;margin-top:6px;font-size:16px!important}
 body.tc-shopflow.woocommerce-cart .product-quantity .quantity{height:40px}
 body.tc-shopflow.woocommerce-cart .product-quantity .quantity input.qty{width:40px!important;height:38px!important}
 body.tc-shopflow.woocommerce-cart .tc-qty-btn{width:38px;height:38px}
 body.tc-shopflow.woocommerce-cart td.actions{display:block!important;padding:14px!important}
 body.tc-shopflow.woocommerce-cart td.actions .coupon{max-width:none;width:100%}
 body.tc-shopflow.woocommerce-cart td.actions .coupon .button{padding:0 16px!important}
 body.tc-shopflow.woocommerce-cart td.actions>.button{width:100%;margin-top:8px!important}
 body.tc-shopflow.woocommerce-cart .cart_totals{padding:18px!important}
}

/* Поправки: страничната количка напълно скрита, докато е затворена; колоните в количката на цяла ширина */
body.tc-redizain .shoptimizer-mini-cart-wrap{right:0!important;left:auto!important;transform:translateX(105%)!important;visibility:hidden;transition:transform .3s cubic-bezier(.2,.7,.2,1),visibility 0s .3s!important}
body.tc-redizain.drawer-open .shoptimizer-mini-cart-wrap{transform:none!important;visibility:visible;transition:transform .3s cubic-bezier(.2,.7,.2,1)!important}
body.tc-redizain .shoptimizer-mini-cart-wrap .close-drawer{color:var(--tc-navy)!important}
body.tc-shopflow.woocommerce-cart .woocommerce>*{width:auto!important;max-width:none!important;justify-self:stretch;min-width:0}
body.tc-shopflow.woocommerce-cart .woocommerce>.checkout-wrap{width:100%!important;max-width:900px!important;justify-self:center}
@media (prefers-reduced-motion:reduce){body.tc-redizain .shoptimizer-mini-cart-wrap{transition:none!important}}

/* Количка на телефон: клетките без фиксирана ширина */
@media (max-width:800px){
 body.tc-shopflow.woocommerce-cart table.shop_table.cart tr.cart_item>*{width:auto!important;min-width:0}
}

/* ---------- „Последно разглеждани“ (уиджет над футъра, на всички страници) ---------- */
/* Без история краткият код връща само .tc-rv-prazno — скрива се целият блок със заглавието (В5). */
body.tc-redizain .below-content .pre-prefooter:has(.tc-rv-prazno){display:none}
body.tc-redizain .below-content{background:#f3f8fb!important;padding:clamp(36px,4vw,56px) 0!important;font-family:var(--tc-font)}
body.tc-redizain .below-content .col-full{max-width:calc(var(--tc-container) + var(--tc-gutter) * 2)!important;padding-inline:var(--tc-gutter)!important}
body.tc-redizain .below-content .custom-title h2{display:flex!important;align-items:center;gap:13px;width:auto!important;margin:0 0 6px!important;padding:0!important;background:none!important;font-family:var(--tc-font)!important;font-size:clamp(24px,2.1vw,30px)!important;font-weight:700!important;letter-spacing:-.6px;color:var(--tc-navy)!important}
body.tc-redizain .below-content .custom-title h2::before{content:""!important;display:block!important;position:static!important;width:5px!important;height:26px!important;border-radius:2px;background:var(--tc-cyan)!important;background-image:none!important;transform:none!important}
body.tc-redizain .below-content .custom-title h2::after,body.tc-redizain .below-content .custom-title .wpb_wrapper::after,body.tc-redizain .below-content .custom-title::after,body.tc-redizain .below-content .custom-title::before{content:none!important;display:none!important}
body.tc-redizain .below-content li.product{display:flex!important;flex-direction:column;height:100%;margin:0!important;padding:0!important;border:1px solid #e3edf3!important;border-radius:var(--tc-radius)!important;background:#fff!important;box-shadow:0 2px 10px rgba(25,59,85,.05)!important;overflow:hidden;list-style:none}
body.tc-redizain .below-content li.product::before,body.tc-redizain .below-content li.product::after{content:none!important;display:none!important}
body.tc-redizain .below-content li.product .woocommerce-LoopProduct-link:first-of-type{display:block;position:relative;padding:14px!important;background:var(--tc-light)!important;border:0!important;border-radius:0!important}
body.tc-redizain .below-content li.product img{width:100%!important;height:170px!important;object-fit:contain!important;mix-blend-mode:multiply;margin:0!important;border:0!important;border-radius:0!important}
body.tc-redizain .below-content .commercekit-wishlist{display:none!important}
body.tc-redizain .below-content .product-labels{position:absolute!important;left:10px!important;bottom:8px!important;top:auto!important;display:flex;gap:5px;margin:0!important}
body.tc-redizain .below-content .product-label{position:static!important;padding:3px 9px!important;border-radius:99px!important;background:#eaf5ec!important;color:#2f7d40!important;font-size:11px!important;font-weight:700!important;clip-path:none!important;width:auto!important;height:auto!important}
body.tc-redizain .below-content .product-label::before,body.tc-redizain .below-content .product-label::after{content:none!important}
body.tc-redizain .below-content .product-label--new{background:#e3f3fa!important;color:#0c6c94!important}
body.tc-redizain .below-content .sale-item.product-label{position:absolute!important;top:10px!important;left:10px!important;bottom:auto!important;background:#fff0eb!important;color:#b43130!important;z-index:2}
body.tc-redizain .below-content .woocommerce-card__header{display:flex!important;flex-direction:column;flex:1;padding:14px!important;background:#fff!important;border-top:1px solid #e3edf3}
body.tc-redizain .below-content .product__categories{display:none!important}
body.tc-redizain .below-content .woocommerce-loop-product__title a{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--tc-font)!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;color:var(--tc-navy)!important;text-align:left!important}
body.tc-redizain .below-content .price{display:block!important;margin:auto 0 0!important;padding-top:10px!important;font-size:16px!important;font-weight:700!important;color:var(--tc-blue)!important;text-align:left!important}
body.tc-redizain .below-content .price :is(.amount,ins){color:var(--tc-blue)!important;font-weight:700!important;text-decoration:none}
body.tc-redizain .below-content .price del,body.tc-redizain .below-content .price del .amount{display:block;font-size:13px!important;font-weight:500!important;color:#8b9ca6!important}
body.tc-redizain .below-content .woocommerce-card__header .button{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:40px!important;min-height:40px;margin:12px 0 0!important;padding:0 12px!important;border:0!important;border-radius:9px!important;background:var(--tc-blue)!important;background-image:none!important;box-shadow:none!important;color:#fff!important;font-family:var(--tc-font)!important;font-size:13.5px!important;font-weight:600!important;text-transform:none!important;position:static!important}
body.tc-redizain .below-content .woocommerce-card__header .button::before,body.tc-redizain .below-content .woocommerce-card__header .button::after{content:none!important;display:none!important}
body.tc-redizain .below-content .woocommerce-card__header .br_compare_button{display:none!important}
body.tc-redizain .below-content :is(.swiper-button-next,.swiper-button-prev){width:40px!important;height:40px!important;border-radius:50%;background:#fff!important;border:1px solid var(--tc-line);box-shadow:0 6px 16px -8px rgba(6,43,72,.4)}
body.tc-redizain .below-content :is(.swiper-button-next,.swiper-button-prev)::after{font-size:14px!important;font-weight:700;color:var(--tc-blue)}
@media (max-width:800px){
 body.tc-shopflow.woocommerce-cart table.shop_table.cart,body.tc-shopflow.woocommerce-cart table.shop_table.cart tbody{display:block!important;width:100%!important}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart tr{display:block;width:100%!important;box-sizing:border-box}
 body.tc-shopflow.woocommerce-cart table.shop_table.cart tr.cart_item{display:grid!important}
 body.tc-shopflow.woocommerce-cart td.actions .coupon{flex-wrap:wrap}
 body.tc-shopflow.woocommerce-cart td.actions .coupon :is(input.input-text,.button){flex:1 1 140px;min-width:0}
}
/* „Последно разглеждани“: без старите рамки около снимката и заглавието */
body.tc-redizain .below-content li.product :is(img,.woocommerce-loop-product__title,.woocommerce-loop-product__title a){border:0!important;box-shadow:none!important;background:none!important;padding:0!important;border-radius:0!important}
body.tc-redizain .below-content li.product .woocommerce-loop-product__title{margin:0!important}
body.tc-redizain .below-content li.product .product-labels{flex-direction:row!important}
body.tc-redizain .below-content .swiper-container .swiper-wrapper .swiper-slide .product>.woocommerce-LoopProduct-link img,
body.tc-redizain .below-content .swiper-container .swiper-wrapper .swiper-slide .product .woocommerce-loop-product__title,
body.tc-redizain .below-content .swiper-container .swiper-wrapper .swiper-slide .product .woocommerce-loop-product__title a{border:0!important;padding:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}

/* „Последно разглеждани“ на страниците с каталог: там картите са новите (tc-card).
   Етикетите бяха два пъти (в снимката и под нея) и падаха върху бутона. */
body.tc-redizain .below-content li.tc-loop-item{border:0!important;background:none!important;box-shadow:none!important}
/* flex:1 е за старите слайдове; в лентата с плъзгане (tc-grid-scroll) смачкваше картите на телефон. */
body.tc-redizain .below-content :not(.tc-grid-scroll)>.tc-card{flex:1;height:100%}
body.tc-redizain .below-content .tc-card-image{height:170px;padding:14px}
body.tc-redizain .below-content .tc-card-image img{height:100%!important}
body.tc-redizain .below-content .tc-card-image .product-labels{display:none!important}
body.tc-redizain .below-content .tc-card-labels .product-labels{position:static!important;flex-wrap:wrap}
body.tc-redizain .below-content .tc-card-desc,body.tc-redizain .below-content .tc-compare{display:none!important}
body.tc-redizain .below-content .tc-card-name{margin:0!important;font-size:14px!important;line-height:1.35!important}
body.tc-redizain .below-content .tc-card-name a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--tc-navy)!important;font-weight:700}
body.tc-redizain .below-content .tc-card-actions{flex-direction:row!important}
body.tc-redizain .below-content .tc-card-btn{justify-content:center;width:100%;color:#fff!important}
body.tc-redizain .below-content .tc-card-btn .tc-ico{display:none}
/* На телефон са по 2 карти на ред, затова картата е по-компактна. */
@media (max-width:599px){
 body.tc-redizain .below-content li.product img{height:110px!important}
 body.tc-redizain .below-content .tc-card-image{height:126px;padding:8px}
 body.tc-redizain .below-content .swiper-container{padding:0 0 6px!important;margin:0!important;overflow:hidden!important}
 body.tc-redizain .below-content li.product .woocommerce-LoopProduct-link:first-of-type{padding:8px!important}
 body.tc-redizain .below-content :is(.woocommerce-card__header,.tc-card-info){padding:10px!important}
 body.tc-redizain .below-content :is(.woocommerce-loop-product__title a,.tc-card-name,.tc-card-name a){font-size:12.5px!important}
 body.tc-redizain .below-content :is(.price,.tc-card-price){font-size:14px!important}
 body.tc-redizain .below-content :is(.woocommerce-card__header .button,.tc-card-btn){height:36px!important;min-height:36px!important;font-size:12.5px!important}
 body.tc-redizain .below-content .product-label{font-size:10px!important;padding:2px 7px!important}
 body.tc-redizain .below-content .tc-card-labels{margin-bottom:6px;min-height:0}
}

/* ---------- Страницата след поръчката (кръг 2, Е) ---------- */
.tc-blag { max-width: 760px; margin: 0 auto 48px; }
.tc-blag-uvod { font-size: 17px; margin: 0 0 18px; }
.tc-blag-obzor { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tc-blag-obzor li { background: #f2f7fc; border-radius: 8px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tc-blag-obzor span { font-size: 13px; color: #5a6b7d; }
.tc-blag-obzor strong { font-size: 17px; color: #0a4c86; overflow-wrap: anywhere; }
.tc-blag-karta { border: 1px solid #dfe6ee; border-radius: 10px; padding: 16px 18px; margin: 0 0 16px; background: #fff; }
.tc-blag-karta h2 { font-size: 18px; margin: 0 0 10px; }
.tc-blag-karta p { margin: 0; }
.tc-blag-karta p span { color: #5a6b7d; }
.tc-blag-produkti { list-style: none; margin: 0; padding: 0; }
.tc-blag-produkti li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef2f6; }
.tc-blag-snimka img { width: 64px; height: 64px; object-fit: contain; display: block; }
.tc-blag-ime { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.tc-blag-ime a { color: inherit; }
.tc-blag-ime small { display: block; color: #5a6b7d; font-size: 14px; margin-top: 2px; }
.tc-blag-cena { white-space: nowrap; }
.tc-blag-sumi { width: 100%; margin: 8px 0 0; border: 0; }
.tc-blag-sumi th, .tc-blag-sumi td { border: 0; padding: 6px 0; background: none; font-weight: 400; }
.tc-blag-sumi td { text-align: right; }
.tc-blag-sumi-order_total th, .tc-blag-sumi-order_total td { font-weight: 700; font-size: 18px; border-top: 1px solid #dfe6ee; padding-top: 10px; }
.tc-blag-dvoyno { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tc-blag-faktura { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.tc-blag-faktura dt { color: #5a6b7d; }
.tc-blag-faktura dd { margin: 0; overflow-wrap: anywhere; }
.tc-blag-dalee { margin-top: 20px; }
@media (max-width: 600px) {
	.tc-blag-obzor { grid-template-columns: 1fr 1fr; }
	.tc-blag-dvoyno { grid-template-columns: 1fr; }
	.tc-blag-produkti li { grid-template-columns: 52px 1fr auto; gap: 10px; }
	.tc-blag-snimka img { width: 52px; height: 52px; }
}
.tc-blag-obzor strong * { font-size: inherit; }

/* ---------- Кръг 2, Г: „Свързани продукти“ в количката — малки карти в един ред, плъзгане настрани ---------- */
body.tc-shopflow.woocommerce-cart .woocommerce>.cross-sells{grid-column:1/-1;width:auto!important;float:none!important;margin:8px 0 0!important;padding:0!important}
body.tc-shopflow.woocommerce-cart .cross-sells>h2{margin:0 0 12px!important;font-family:var(--tc-font)!important;font-size:21px!important;font-weight:700!important;color:var(--tc-navy)!important}
body.tc-redizain.woocommerce-cart .cross-sells ul.products{display:flex!important;flex-wrap:nowrap!important;gap:14px;margin:0!important;padding:2px 2px 12px!important;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.tc-redizain.woocommerce-cart .cross-sells ul.products::before,body.tc-redizain.woocommerce-cart .cross-sells ul.products::after{display:none!important}
body.tc-redizain.woocommerce-cart .cross-sells ul.products>li.tc-loop-item{flex:0 0 200px!important;width:200px!important;max-width:none!important;margin:0!important;float:none!important;scroll-snap-align:start;border:0!important;background:none!important;box-shadow:none!important}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card{height:100%}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-image{height:140px;padding:12px}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-image img{height:100%!important}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-image .product-labels{display:none!important}
body.tc-redizain.woocommerce-cart .cross-sells :is(.tc-card-desc,.tc-compare){display:none!important}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-name{margin:0!important;font-size:14px!important;line-height:1.35!important}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-name a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-btn{justify-content:center;width:100%}
@media (max-width:800px){
 body.tc-redizain.woocommerce-cart .cross-sells ul.products>li.tc-loop-item{flex-basis:44%!important;width:44%!important}
 body.tc-redizain.woocommerce-cart .cross-sells .tc-card-image{height:120px}
}
body.tc-redizain.woocommerce-cart .cross-sells .tc-card-name a{text-decoration:none!important}
/* Телефон: лента долу със сумата и бутона към плащане, докато истинският е под екрана (tc-kolichka.js). */
.tc-kolichka-lenta{display:none}
@media (max-width:800px){
 body.tc-shopflow.woocommerce-cart .tc-kolichka-lenta:not([hidden]){position:fixed;left:0;right:0;bottom:0;z-index:90;display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--tc-line);box-shadow:0 -8px 24px -12px rgba(10,40,70,.25)}
 body.tc-shopflow.woocommerce-cart .tc-kl-suma{display:flex;flex-direction:column;line-height:1.2;white-space:nowrap}
 body.tc-shopflow.woocommerce-cart .tc-kl-suma span{font-size:12.5px;color:var(--tc-muted)}
 body.tc-shopflow.woocommerce-cart .tc-kl-suma strong{font-size:18px;font-weight:700;color:var(--tc-navy)}
 body.tc-shopflow.woocommerce-cart .tc-kl-btn{flex:1;display:flex;align-items:center;justify-content:center;height:48px;border-radius:12px;background:var(--tc-green);color:#fff!important;font-family:var(--tc-font);font-weight:700;font-size:15px;text-align:center;text-decoration:none!important;line-height:1.2;padding:0 10px}
}
