/* Tututis B2B */
.tb2b-search { position: relative; }
.tb2b-ac {
	position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 9999;
	background: #fff; border: 1px solid #e3e3e3; border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12); max-height: 70vh; overflow: auto;
	min-width: min(560px, 92vw); font-size: 14px; color: #1d1d1f; text-align: left;
}
.tb2b-ac[hidden] { display: none; }
.tb2b-ac a { color: inherit; text-decoration: none; }
.tb2b-ac-h { padding: 10px 14px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6e6e73; }
.tb2b-ac-item { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.tb2b-ac-item img, .tb2b-ac-noimg { width: 48px; height: 48px; object-fit: contain; flex: none; border-radius: 4px; background: #f5f5f7; }
.tb2b-ac-item:hover, .tb2b-ac-item.is-active, .tb2b-ac-recent.is-active, .tb2b-ac-recent:hover { background: #f2f6fb; }
.tb2b-ac-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tb2b-ac-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.tb2b-ac-sku { font-size: 12px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.tb2b-ac-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.tb2b-ac-price del { color: #8e8e93; font-size: 12px; }
.tb2b-st { font-size: 12px; padding: 1px 6px; border-radius: 10px; white-space: nowrap; }
.tb2b-st.in { background: #e5f4e4; color: #1e6b2a; }
.tb2b-st.out { background: #f3f3f3; color: #6e6e73; }
.tb2b-ac-recent { display: block; padding: 6px 14px; }
.tb2b-ac-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.tb2b-ac-cats a { border: 1px solid #e3e3e3; border-radius: 14px; padding: 3px 10px; font-size: 13px; }
.tb2b-ac-cats a span { color: #6e6e73; }
.tb2b-ac-suggest, .tb2b-ac-empty { padding: 10px 14px; color: #6e6e73; }
.tb2b-ac-all { display: block; width: 100%; border: 0; border-top: 1px solid #eee; background: #fafafa; padding: 10px; cursor: pointer; font-weight: 500; }
.tb2b-rrp { color: #6e6e73; font-size: 14px; }
.tb2b-tax-toggle { font-size: 13px; }
.tb2b-manager { border: 1px solid #e3e3e3; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.tb2b-banners { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 32px; }
.tb2b-banner { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #f5f5f7; min-height: 180px; color: #fff; }
.tb2b-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb2b-banner .tb2b-banner-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.tb2b-banner h3 { margin: 0; color: #fff; }
.tb2b-fav { background: none; border: 0; cursor: pointer; font-size: 20px; line-height: 1; color: #c7c7cc; }
.tb2b-fav.is-on { color: #e0245e; }
.tb2b-table { width: 100%; border-collapse: collapse; }
.tb2b-table th, .tb2b-table td { padding: 8px; border-bottom: 1px solid #eee; text-align: left; }
@media (max-width: 600px) {
	.tb2b-ac { min-width: 0; }
	.tb2b-ac-item img, .tb2b-ac-noimg { width: 40px; height: 40px; }
}

/* ===================== Programėlės sąsaja ===================== */
:root {
	--tb-ink: #17202c;
	--tb-muted: #667085;
	--tb-line: #e6e8ec;
	--tb-bg: #f6f7f9;
	--tb-card: #fff;
	--tb-accent: #1f6f5c;
	--tb-accent-ink: #fff;
	--tb-accent-soft: #e8f3ef;
	--tb-warn: #b54708;
	--tb-radius: 10px;
	--tb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.tb2b-app { background: var(--tb-bg); color: var(--tb-ink); font-family: var(--tb-font); }
body.tb2b-app #header, body.tb2b-app .ct-header, body.tb2b-app #footer, body.tb2b-app .ct-footer,
body.tb2b-app .ct-breadcrumbs, body.tb2b-app .hero-section[data-type="type-2"] { display: none !important; }
body.tb2b-app .site-main, body.tb2b-app #main { background: transparent; }
body.tb2b-app .ct-container, body.tb2b-app .ct-container-full { max-width: 1280px; }
body.tb2b-app [data-vertical-spacing] { padding-top: 24px !important; }
body.tb2b-app .entry-header .page-title, body.tb2b-app h1.page-title { font-size: 26px; font-weight: 650; letter-spacing: -.01em; }
.tb2b-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.tb2b-page { padding: 24px 0 56px; }
.tb2b-h1 { font-size: 28px; line-height: 1.2; font-weight: 650; letter-spacing: -.015em; margin: 4px 0 8px; color: var(--tb-ink); }
.tb2b-h2 { font-size: 18px; font-weight: 650; margin: 0 0 12px; color: var(--tb-ink); }
.tb2b-h2row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tb2b-h2row a { font-size: 14px; color: var(--tb-accent); text-decoration: none; }
.tb2b-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tb-accent); }
.tb2b-muted { color: var(--tb-muted); }
.tb2b-card { background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: var(--tb-radius); overflow: hidden; }
.tb2b-empty { padding: 24px; text-align: center; color: var(--tb-muted); background: var(--tb-card); border: 1px dashed var(--tb-line); border-radius: var(--tb-radius); }
.tb2b-crumbs { font-size: 13px; color: var(--tb-muted); }
.tb2b-crumbs a { color: var(--tb-muted); text-decoration: none; }
.tb2b-crumbs a:hover { color: var(--tb-ink); }

/* Mygtukai */
.tb2b-btn, body.tb2b-app .button, body.tb2b-app button.button, body.tb2b-app .checkout-button, body.tb2b-app #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--tb-accent); color: var(--tb-accent-ink) !important; border: 1px solid var(--tb-accent);
	border-radius: 8px; padding: 10px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: filter .15s, transform .05s;
}
.tb2b-btn:hover, body.tb2b-app .button:hover { filter: brightness(1.08); }
.tb2b-btn:active { transform: translateY(1px); }
.tb2b-btn[disabled] { opacity: .6; cursor: wait; }
.tb2b-btn-ghost { background: transparent; color: var(--tb-accent) !important; border-color: var(--tb-line); padding: 6px 12px; font-size: 14px; }
.tb2b-btn-ghost:hover { border-color: var(--tb-accent); background: var(--tb-accent-soft); }

/* Antraštė */
.tb2b-hd { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--tb-line); font-family: var(--tb-font); }
body.admin-bar .tb2b-hd { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tb2b-hd { top: 0; } }
.tb2b-hd-row { display: flex; align-items: center; gap: 20px; }
.tb2b-hd-top .tb2b-hd-row { height: 68px; }
.tb2b-logo { flex: none; display: flex; align-items: center; text-decoration: none; color: var(--tb-ink); }
.tb2b-logo-img { max-height: 40px; width: auto; }
.tb2b-logo-text { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tb2b-hd-search { flex: 1; max-width: 680px; }
.tb2b-hd-search .tb2b-search input[type="search"] {
	width: 100%; height: 44px; border: 1px solid var(--tb-line); background: var(--tb-bg); border-radius: 10px;
	padding: 0 16px 0 42px; font-size: 15px; color: var(--tb-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23667085' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: 14px center;
}
.tb2b-hd-search .tb2b-search input[type="search"]:focus { outline: none; border-color: var(--tb-accent); background-color: #fff; box-shadow: 0 0 0 3px var(--tb-accent-soft); }
.tb2b-hd-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tb2b-cart-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px; background: var(--tb-ink); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.tb2b-cart-count { background: #fff; color: var(--tb-ink); border-radius: 10px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.tb2b-cart-total .woocommerce-Price-amount { color: #fff; }
.tb2b-cart-pill.is-bump { animation: tb2bBump .4s ease; }
@keyframes tb2bBump { 40% { transform: scale(1.06); } }
.tb2b-menu, .tb2b-cats { position: relative; }
.tb2b-menu > summary, .tb2b-cats > summary { list-style: none; cursor: pointer; }
.tb2b-menu > summary::-webkit-details-marker, .tb2b-cats > summary::-webkit-details-marker { display: none; }
.tb2b-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--tb-accent-soft); color: var(--tb-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.tb2b-menu-pop, .tb2b-cats-pop { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--tb-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .14); padding: 8px; min-width: 260px; z-index: 1001; }
.tb2b-menu-pop a, .tb2b-cats-pop a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--tb-ink); text-decoration: none; font-size: 14px; }
.tb2b-menu-pop a:hover, .tb2b-cats-pop a:hover { background: var(--tb-bg); }
.tb2b-cats-pop a span { color: var(--tb-muted); font-size: 12px; }
.tb2b-menu-who { padding: 8px 12px 10px; border-bottom: 1px solid var(--tb-line); margin-bottom: 6px; display: flex; flex-direction: column; }
.tb2b-menu-who small { color: var(--tb-muted); }
.tb2b-menu-row { padding: 6px 12px; }
.tb2b-menu-row select { width: 100%; }
.tb2b-menu-out { color: var(--tb-warn) !important; border-top: 1px solid var(--tb-line); margin-top: 6px; }
.tb2b-hd-nav .tb2b-hd-row { height: 46px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tb2b-hd-nav a, .tb2b-cats > summary { padding: 8px 12px; border-radius: 8px; color: var(--tb-muted); text-decoration: none; font-size: 14px; font-weight: 550; white-space: nowrap; }
.tb2b-hd-nav a:hover, .tb2b-cats > summary:hover { color: var(--tb-ink); background: var(--tb-bg); }
.tb2b-hd-nav a.is-active { color: var(--tb-accent); background: var(--tb-accent-soft); }
.tb2b-cats-pop { left: 0; right: auto; max-height: 70vh; overflow: auto; }
.tb2b-hd-nav .tb2b-hd-row { overflow: visible; }

/* Poraštė */
.tb2b-ft { border-top: 1px solid var(--tb-line); background: #fff; padding: 20px 0; font-size: 13px; color: var(--tb-muted); }
.tb2b-ft-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tb2b-ft .tb2b-manager { border: 0; padding: 0; font-size: 13px; }
.tb2b-manager a { color: var(--tb-accent); text-decoration: none; }

/* Suvestinė */
.tb2b-dash { display: flex; flex-direction: column; gap: 32px; }
.tb2b-dash-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tb2b-dash-hero .tb2b-manager { background: #fff; max-width: 420px; }
.tb2b-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tb2b-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); text-decoration: none; color: var(--tb-ink); transition: border-color .15s, box-shadow .15s; }
.tb2b-tile:hover { border-color: var(--tb-accent); box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }
.tb2b-tile b { font-size: 16px; }
.tb2b-tile b::after { content: " →"; color: var(--tb-accent); }
.tb2b-tile span { font-size: 14px; color: var(--tb-muted); line-height: 1.45; }
.tb2b-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tb2b-cat { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 12px; text-decoration: none; color: var(--tb-ink); }
.tb2b-cat:hover { border-color: var(--tb-accent); }
.tb2b-cat-img { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tb2b-cat-img img { width: 100%; height: 100%; object-fit: contain; }
.tb2b-cat small { color: var(--tb-muted); }
.tb2b-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tb2b-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--tb-muted); font-weight: 600; background: #fafbfc; }
.tb2b-table th, .tb2b-table td { padding: 10px 14px; border-bottom: 1px solid var(--tb-line); text-align: left; vertical-align: middle; }
.tb2b-table tr:last-child td { border-bottom: 0; }
.tb2b-table .num, .tb2b-of .num { text-align: right; font-variant-numeric: tabular-nums; }
.tb2b-table a { color: var(--tb-accent); text-decoration: none; font-weight: 600; }
.tb2b-status { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--tb-bg); color: var(--tb-muted); white-space: nowrap; }
.tb2b-status.s-tb2b-review { background: #fef3c7; color: #92400e; }
.tb2b-status.s-processing { background: var(--tb-accent-soft); color: var(--tb-accent); }
.tb2b-status.s-completed { background: #e5f4e4; color: #1e6b2a; }
.tb2b-status.s-cancelled, .tb2b-status.s-failed { background: #fdecec; color: #b42318; }

/* Užsakymo forma */
.tb2b-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.tb2b-chip { padding: 6px 12px; border: 1px solid var(--tb-line); background: #fff; border-radius: 16px; font-size: 13px; color: var(--tb-ink); text-decoration: none; }
.tb2b-chip:hover { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb2b-of { font-family: var(--tb-font); }
.tb2b-of-tools { position: sticky; top: 114px; z-index: 20; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 12px 0; background: var(--tb-bg); }
body.admin-bar .tb2b-of-tools { top: 146px; }
.tb2b-of-filter { flex: 1; min-width: 220px; max-width: 420px; height: 40px; border: 1px solid var(--tb-line); border-radius: 8px; padding: 0 12px; font-size: 14px; background: #fff; }
.tb2b-of-filter:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 3px var(--tb-accent-soft); }
.tb2b-of-toggle { font-size: 14px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.tb2b-of-count { margin-left: auto; font-size: 13px; color: var(--tb-muted); }
.tb2b-of-group { margin-bottom: 20px; }
.tb2b-of-gh { font-size: 14px; font-weight: 650; color: var(--tb-muted); margin: 8px 0 8px; }
.tb2b-of-table { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); overflow: hidden; }
.tb2b-of-row { display: grid; grid-template-columns: 116px 92px 118px minmax(0, 1fr) 124px 120px 150px; gap: 14px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--tb-line); }
.tb2b-of-row:last-child { border-bottom: 0; }
.tb2b-of-row[hidden], .tb2b-of-group[hidden] { display: none; }
.tb2b-of-row.has-qty { background: #f3faf7; }
.tb2b-of-head { padding-top: 8px; padding-bottom: 8px; background: #fafbfc; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--tb-muted); font-weight: 600; }
.tb2b-of-img img { width: 116px; height: 116px; object-fit: contain; display: block; border-radius: 10px; background: #fff; transition: transform .25s ease; }
.tb2b-of-img:hover img { transform: scale(1.05); }
.tb2b-of-name { display: flex; flex-direction: column; min-width: 0; }
.tb2b-of-name a { color: var(--tb-ink); text-decoration: none; font-weight: 550; font-size: 14px; line-height: 1.35; }
.tb2b-of-name a:hover { color: var(--tb-accent); }
.tb2b-of-name small { color: var(--tb-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.tb2b-of-sku { font-size: 13px; font-weight: 600; color: var(--tb-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tb2b-of-ean { font-size: 12.5px; color: var(--tb-muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tb2b-of-price b { font-size: 15px; }
.tb2b-of-price del { display: block; font-size: 12px; color: var(--tb-muted); }
.tb2b-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--tb-line); border-radius: 8px; overflow: hidden; background: #fff; }
.tb2b-qty-btn { width: 34px; border: 0; background: #fafbfc; font-size: 18px; color: var(--tb-ink); cursor: pointer; padding: 0; }
.tb2b-qty-btn:hover { background: var(--tb-accent-soft); color: var(--tb-accent); }
.tb2b-qty input { width: 56px; height: 38px; border: 0 !important; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; padding: 0 !important; box-shadow: none !important; background: #fff; }
.tb2b-qty input::-webkit-outer-spin-button, .tb2b-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tb2b-qty input:disabled { background: #f6f7f9; }
.tb2b-of-bar { position: sticky; bottom: 16px; z-index: 30; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; background: var(--tb-ink); color: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .25); }
.tb2b-of-bar[hidden] { display: none; }
.tb2b-of-sum { font-weight: 600; font-variant-numeric: tabular-nums; }
.tb2b-of-bar .tb2b-btn { background: #fff; color: var(--tb-ink) !important; border-color: #fff; }

/* Pranešimai */
.tb2b-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99999; background: var(--tb-ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); transition: opacity .5s, transform .5s; max-width: min(640px, 92vw); }
.tb2b-toast a { color: #9be3c8; font-weight: 600; text-decoration: none; margin-left: 8px; }
.tb2b-toast.is-err { background: #b42318; }
.tb2b-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }

/* WooCommerce puslapiai programėlėje */
body.tb2b-app .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); }
body.tb2b-app .woocommerce-MyAccount-navigation li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--tb-ink); text-decoration: none; font-size: 14px; }
body.tb2b-app .woocommerce-MyAccount-navigation li.is-active a { background: var(--tb-accent-soft); color: var(--tb-accent); font-weight: 600; }
body.tb2b-app .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 24px; }
body.tb2b-app table.shop_table { background: #fff; border: 1px solid var(--tb-line) !important; border-radius: var(--tb-radius); border-collapse: separate; overflow: hidden; }
body.tb2b-app table.shop_table th:first-child, body.tb2b-app table.shop_table td:first-child { padding-left: 16px; }
body.tb2b-app table.shop_table th:last-child, body.tb2b-app table.shop_table td:last-child { padding-right: 16px; }
body.tb2b-app .woocommerce-cart-form, body.tb2b-app .cart-collaterals .cart_totals, body.tb2b-app form.checkout .col2-set, body.tb2b-app #order_review { background: #fff; border-radius: var(--tb-radius); }
body.tb2b-app .woocommerce-message, body.tb2b-app .woocommerce-info { border-radius: var(--tb-radius); border-top-color: var(--tb-accent); }
body.tb2b-app .woocommerce-message::before, body.tb2b-app .woocommerce-info::before { color: var(--tb-accent); }
body.tb2b-app ul.products li.product .button { width: 100%; }
body.tb2b-app input[type="text"], body.tb2b-app input[type="email"], body.tb2b-app input[type="tel"], body.tb2b-app input[type="number"], body.tb2b-app select, body.tb2b-app textarea { border-radius: 8px; }
.tb2b-ship select { width: 100%; }

/* Prisijungimas */
body.tb2b-guest { background: var(--tb-bg); font-family: var(--tb-font); }
body.tb2b-guest .ct-header [data-id="menu"], body.tb2b-guest .ct-header [data-id="search"], body.tb2b-guest .ct-header [data-id="cart"], body.tb2b-guest .ct-footer, body.tb2b-guest .hero-section { display: none !important; }
body.tb2b-guest .woocommerce form.login, body.tb2b-guest .woocommerce form.lost_reset_password, body.tb2b-guest .tb2b-register { max-width: 420px; margin: 32px auto; background: #fff; border: 1px solid var(--tb-line) !important; border-radius: 14px; padding: 32px !important; box-shadow: 0 12px 32px rgba(16, 24, 40, .06); }
body.tb2b-guest .woocommerce h2 { text-align: center; font-size: 22px; }
body.tb2b-guest .woocommerce form.login .button, body.tb2b-guest .woocommerce form.lost_reset_password .button { width: 100%; background: var(--tb-accent); color: #fff; border-radius: 8px; padding: 12px; }

@media (max-width: 1024px) {
	.tb2b-tiles { grid-template-columns: repeat(2, 1fr); }
	.tb2b-cart-total { display: none; }
}
@media (max-width: 720px) {
	.tb2b-wrap { padding: 0 14px; }
	.tb2b-hd-top .tb2b-hd-row { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
	.tb2b-hd-nav .tb2b-hd-row { overflow-x: auto; }
	.tb2b-cats-pop { position: fixed; left: 14px; right: 14px; top: auto; }
	.tb2b-hd-search { order: 3; flex-basis: 100%; max-width: none; }
	.tb2b-tiles { grid-template-columns: 1fr; }
	.tb2b-of-tools { top: 158px; }
	.tb2b-of-row { grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "img sku stock" "img name name" "img ean ean" "price price qty"; row-gap: 4px; column-gap: 12px; }
	.tb2b-of-ean { grid-area: ean; font-size: 11.5px; }
	.tb2b-of-ean:empty { display: none; }
	.tb2b-of-ean:not(:empty)::before { content: "EAN "; }
	.tb2b-of-sku { grid-area: sku; font-size: 12px; align-self: end; }
	.tb2b-of-head { display: none; }
	.tb2b-of-img { grid-area: img; align-self: start; } .tb2b-of-img img { width: 96px; height: 96px; }
	.tb2b-of-name { grid-area: name; }
	.tb2b-of-stock { grid-area: stock; }
	.tb2b-of-price { grid-area: price; }
	.tb2b-of-row > span:last-child { grid-area: qty; text-align: right; }
	.tb2b-of-stock { justify-self: end; }
	.tb2b-of-price { text-align: left; }
	.tb2b-h1 { font-size: 22px; }
	.tb2b-table th:nth-child(2), .tb2b-table td:nth-child(2) { display: none; }
}
.tb2b-payer { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 16px 20px; margin-bottom: 20px; }
.tb2b-payer h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--tb-muted); margin: 0 0 6px; }
.tb2b-payer p { margin: 0 0 4px; line-height: 1.5; }
.tb2b-qty input { width: 56px !important; min-width: 56px; max-width: 56px; flex: none; margin: 0 !important; }
.tb2b-qty:has(input:disabled) { opacity: .4; pointer-events: none; }
.tb2b-of-row > span:last-child { display: flex; justify-content: flex-end; }
.tb2b-draft-save { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.tb2b-draft-save input[type="text"] { max-width: 260px; height: 40px; }
body.tb2b-app .tb2b-draft-save .button { background: transparent !important; color: var(--tb-accent) !important; border-color: var(--tb-line) !important; font-size: 14px; padding: 9px 14px; }
body.tb2b-app .woocommerce-notices-wrapper:empty { display: none; }
body.tb2b-app .woocommerce-orders-table .button { padding: 6px 12px; font-size: 13px; margin: 2px; }
body.tb2b-app .woocommerce-orders-table .button.view { background: transparent !important; color: var(--tb-accent) !important; border-color: var(--tb-line) !important; }
body.tb2b-app .woocommerce-orders-table td, body.tb2b-app .woocommerce-orders-table th { padding: 10px 12px; font-size: 14px; }

/* Temos (Blocksy) spalvos – visur žalia, ne mėlyna (nuorodos, hover, fokusas, mygtukai). */
:root:root {
	--theme-palette-color-1: #1f6f5c;
	--theme-palette-color-2: #17594a;
	--theme-link-hover-color: #17594a;
	--theme-button-background-initial-color: #1f6f5c;
	--theme-button-background-hover-color: #17594a;
	--theme-form-field-border-focus-color: #1f6f5c;
	--theme-form-selection-field-active-color: #1f6f5c;
	--theme-text-selection-color: #fff;
	--theme-text-selection-background-color: #1f6f5c;
}
body.tb2b-app a:hover, body.tb2b-guest a:hover { color: var(--tb-accent); }
body.tb2b-app .tb2b-cart-pill:hover, body.tb2b-app .tb2b-btn:hover, body.tb2b-app .button:hover { color: #fff !important; }
body.tb2b-app .tb2b-btn-ghost:hover, body.tb2b-app .tb2b-draft-save .button:hover, body.tb2b-app .woocommerce-orders-table .button.view:hover { color: var(--tb-accent) !important; }
body.tb2b-app .button:hover, body.tb2b-app button.button:hover, body.tb2b-app #place_order:hover, body.tb2b-app .checkout-button:hover { background: #17594a; border-color: #17594a; filter: none; }
body.tb2b-app input:focus, body.tb2b-app select:focus, body.tb2b-app textarea:focus, body.tb2b-guest input:focus { border-color: var(--tb-accent) !important; box-shadow: 0 0 0 3px var(--tb-accent-soft) !important; outline: none; }
body.tb2b-app .quantity, body.tb2b-app .ct-cart-actions .quantity { --theme-form-field-border-initial-color: var(--tb-line); }
body.tb2b-app :focus-visible { outline-color: var(--tb-accent); }

/* ===================== v0.3: logotipas, paieškos sritis, darbuotojai, poraštė, reklama ===================== */
.tb2b-logo { gap: 8px; }
.tb2b-logo-img.is-invert { filter: brightness(0); }
.tb2b-logo-img { max-height: 34px; }
.tb2b-logo-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--tb-accent); border: 1px solid var(--tb-accent); border-radius: 4px; padding: 1px 5px; }
.tb2b-hd-search .tb2b-search { display: flex; align-items: stretch; }
.tb2b-hd-search .tb2b-search input[type="search"] { border-top-left-radius: 0; border-bottom-left-radius: 0; flex: 1; min-width: 0; }
.tb2b-search-cat { order: -1; flex: none; max-width: 190px; height: 44px; border: 1px solid var(--tb-line); border-right: 0; border-radius: 10px 0 0 10px !important; background: #fff; padding: 0 10px; font-size: 14px; color: var(--tb-ink); }
.tb2b-hd-search .tb2b-search:not(:has(.tb2b-search-cat)) input[type="search"] { border-radius: 10px; }
.tb2b-hd-nav a.tb2b-nav-sale { color: #b42318; font-weight: 700; }
.tb2b-hd-nav a.tb2b-nav-sale.is-active { background: #fdecec; color: #b42318; }
.tb2b-hd-nav a.tb2b-nav-new { color: var(--tb-accent); }
.tb2b-nav-n { display: inline-flex; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--tb-bg); color: inherit; font-size: 11px; align-items: center; justify-content: center; margin-left: 2px; }
.tb2b-nav-sale .tb2b-nav-n { background: #b42318; color: #fff; }

.tb2b-staffbar { background: #0f2a24; color: #d7e9e2; font-size: 13px; font-family: var(--tb-font); }
.tb2b-staffbar-row { display: flex; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.tb2b-staffbar-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: #9be3c8; }
.tb2b-staffbar select { height: 30px !important; min-height: 0 !important; font-size: 13px; border-radius: 6px !important; min-width: 260px; max-width: 360px; color: var(--tb-ink) !important; background-color: #fff !important; border: 0 !important; padding: 0 28px 0 8px !important; }
.tb2b-staffbar-pick { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #d7e9e2; }
.tb2b-staffbar a { color: #fff; text-decoration: none; }
.tb2b-staffbar a:hover { color: #9be3c8 !important; }
.tb2b-staffbar-pending.has { background: #b54708; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
body.tb2b-staff .tb2b-hd { top: 0; }

.tb2b-ft { padding: 32px 0 0; }
.tb2b-ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.tb2b-ft-col h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tb-muted); }
.tb2b-ft-col p { margin: 0; line-height: 1.6; color: var(--tb-ink); }
.tb2b-ft-col a { color: var(--tb-accent); text-decoration: none; }
.tb2b-brands { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.tb2b-brand img { max-height: 34px; width: auto; display: block; }
.tb2b-brand-name { font-weight: 700; font-size: 18px; }
.tb2b-ft-bottom { border-top: 1px solid var(--tb-line); margin-top: 24px; padding: 14px 20px; font-size: 12px; color: var(--tb-muted); }

.tb2b-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tb2b-promo, .tb2b-lab { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 14px; text-decoration: none; min-height: 150px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.tb2b-promo:hover, .tb2b-lab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 24, 40, .12); }
.tb2b-promo b, .tb2b-lab b { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.tb2b-promo span:not(.tb2b-promo-k), .tb2b-lab span:not(.tb2b-promo-k) { font-size: 14px; opacity: .9; }
.tb2b-promo i, .tb2b-lab i { font-style: normal; font-weight: 600; margin-top: auto; padding-top: 10px; font-size: 14px; }
.tb2b-promo-k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tb2b-promo.sale { background: linear-gradient(135deg, #b42318, #e04f3c); color: #fff !important; }
.tb2b-promo.new { background: linear-gradient(135deg, #1f6f5c, #2f9478); color: #fff !important; }
.tb2b-promo.offer { background: #fff7e6; color: #7a4a00 !important; border: 1px solid #f4d8a5; }
.tb2b-lab { background: radial-gradient(120% 140% at 100% 0%, #2c4a43 0%, #111c1a 60%); color: #fff !important; }
.tb2b-lab::after { content: "LAB"; position: absolute; right: 14px; bottom: -14px; font-size: 92px; font-weight: 900; letter-spacing: -.04em; color: rgba(255,255,255,.06); line-height: 1; }
.tb2b-promo *, .tb2b-lab * { color: inherit; }

.tb2b-pstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tb2b-pcard { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 12px; }
.tb2b-pcard-img { position: relative; display: block; aspect-ratio: 1; background: #fff; margin-bottom: 6px; }
.tb2b-pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.tb2b-pcard-img .tb2b-badge { position: absolute; top: 4px; left: 4px; }
.tb2b-pcard-img .tb2b-badge.new { left: auto; right: 4px; }
.tb2b-pcard-name { color: var(--tb-ink); text-decoration: none; font-size: 14px; font-weight: 550; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.tb2b-pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.tb2b-pcard-price { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.tb2b-pcard-price del { font-size: 12px; color: var(--tb-muted); }
.tb2b-pcard-add { width: 38px; height: 38px; padding: 0 !important; font-size: 20px !important; border-radius: 50% !important; }
.tb2b-pcard-add.is-done { background: #1e6b2a !important; }

.tb2b-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tb2b-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px; line-height: 1.4; white-space: nowrap; }
.tb2b-badge.sale { background: #b42318; color: #fff; }
.tb2b-badge.new { background: var(--tb-accent); color: #fff; }
.tb2b-badge.offer { background: #fff7e6; color: #7a4a00; border: 1px solid #f4d8a5; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tb2b-views { margin: 4px 0 8px; }
.tb2b-chip.is-active { background: var(--tb-ink); border-color: var(--tb-ink); color: #fff; }
.tb2b-chip-sale { color: #b42318; border-color: #f3c3bd; font-weight: 600; }
.tb2b-chip-sale.is-active { background: #b42318; border-color: #b42318; color: #fff; }

/* Prekės puslapis */
body.tb2b-app .woocommerce-product-gallery img, body.tb2b-app .woocommerce-product-gallery .ct-media-container img,
body.tb2b-app [data-products] .ct-media-container img { aspect-ratio: 1 / 1 !important; object-fit: contain !important; background: #fff; }
body.tb2b-app .woocommerce-product-gallery .ct-media-container { background: #fff; border-radius: var(--tb-radius); }
body.tb2b-app .zoomImg { display: none !important; }
body.tb2b-app .flexy-pills img, body.tb2b-app .ct-product-gallery-container .flexy-pills [data-type] img { object-fit: contain !important; background: #fff; }
body.tb2b-app.single-product .product_title { font-size: 28px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.tb2b-codes { color: var(--tb-muted); font-size: 13px; font-variant-numeric: tabular-nums; margin: -4px 0 12px; }
body.tb2b-app.single-product .summary .price { font-size: 26px; font-weight: 700; color: var(--tb-ink); }
body.tb2b-app.single-product .summary .price del { font-size: 16px; color: var(--tb-muted); font-weight: 400; }
body.tb2b-app.single-product .summary .price ins { text-decoration: none; color: #b42318; }
body.tb2b-app.single-product .stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; padding: 4px 10px; border-radius: 14px; background: #e5f4e4; color: #1e6b2a; }
body.tb2b-app.single-product .stock.out-of-stock { background: #f3f3f3; color: var(--tb-muted); }
.tb2b-offer-callout { display: flex; flex-direction: column; gap: 2px; background: #fff7e6; border: 1px solid #f4d8a5; color: #7a4a00; border-radius: 10px; padding: 10px 14px; margin: 8px 0 14px; font-size: 14px; }
.tb2b-acc { margin: 32px 0; clear: both; }
.tb2b-acc .tb2b-of-row { grid-template-columns: 116px 92px 118px minmax(0, 1fr) 124px 120px 150px; }
body.tb2b-app .woocommerce-Tabs-panel--description { max-width: 860px; line-height: 1.65; }
body.tb2b-app .woocommerce-Tabs-panel--description h2 { font-size: 20px; margin: 28px 0 8px; }
body.tb2b-app .woocommerce-Tabs-panel--description h3 { font-size: 16px; margin: 20px 0 4px; }
body.tb2b-app .woocommerce-Tabs-panel--description img { max-width: 220px; height: auto; display: block; margin: 8px 0; }
.tb2b-lead { font-size: 17px; color: var(--tb-ink); }
.tb2b-gift-qty { display: inline-block; min-width: 40px; text-align: center; font-weight: 600; }

@media (max-width: 900px) {
	.tb2b-ft-grid { grid-template-columns: 1fr; gap: 20px; }
	.tb2b-search-cat { max-width: 150px; font-size: 13px; padding: 0 6px; }
}
@media (max-width: 720px) {
	.tb2b-acc .tb2b-of-row { grid-template-columns: 96px minmax(0, 1fr) auto; }
	.tb2b-pstrip { grid-template-columns: repeat(2, 1fr); }
	.tb2b-promo b, .tb2b-lab b { font-size: 19px; }
	.tb2b-staffbar select { min-width: 0; max-width: 100%; }
}

/* ---------- v0.4 Vadybos skydelis ---------- */
.tb2b-manage .tb2b-wrap { padding-top: 20px; padding-bottom: 48px; }
.tb2b-manage input, .tb2b-manage select, .tb2b-manage textarea, .tb2b-manage button { box-sizing: border-box; }
.tb2b-m-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 0 0 20px; padding: 6px; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); }
.tb2b-m-nav a { padding: 8px 14px; border-radius: 8px; color: var(--tb-ink); text-decoration: none; font-size: 15px; font-weight: 550; }
.tb2b-m-nav a:hover { background: var(--tb-accent-soft); color: var(--tb-accent); }
.tb2b-m-nav a.is-active { background: var(--tb-accent); color: #fff; }
.tb2b-m-nav-sp { flex: 1; }
.tb2b-m-nav a.tb2b-m-nav-wp { font-size: 13px; font-weight: 500; color: var(--tb-muted); }
.tb2b-m-badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: #f79009; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.tb2b-m-nav a.is-active .tb2b-m-badge { background: #fff; color: var(--tb-accent); }
.tb2b-m-flash { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--tb-radius); background: var(--tb-accent-soft); color: var(--tb-accent); font-weight: 550; border: 1px solid #c7e3d9; }
.tb2b-m-flash.is-error { background: #fdecec; color: #b42318; border-color: #f6c7c2; }
.tb2b-m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.tb2b-m-head .tb2b-h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tb2b-m-head .tb2b-h1 .tb2b-status { font-size: 13px; font-weight: 600; }
.tb2b-m-head p { margin: 0; }
.tb2b-m-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tb2b-m-back { margin: 0 0 8px; font-size: 14px; }
.tb2b-m-back a { color: var(--tb-muted); text-decoration: none; }
.tb2b-m-back a:hover { color: var(--tb-accent); }
.tb2b-m-sec { margin: 28px 0 0; }
.tb2b-m-sec > .tb2b-h2, .tb2b-m-sec .tb2b-h2row { margin-bottom: 10px; }
.tb2b-m-empty { padding: 24px; text-align: center; background: #fff; border: 1px dashed var(--tb-line); border-radius: var(--tb-radius); }
.tb2b-m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tb2b-m-kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); text-decoration: none; color: var(--tb-ink); transition: border-color .15s; }
.tb2b-m-kpi:hover { border-color: var(--tb-accent); }
.tb2b-m-kpi span { font-size: 13px; color: var(--tb-muted); }
.tb2b-m-kpi b { font-size: 30px; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; }
.tb2b-m-kpi small { font-size: 13px; color: var(--tb-muted); }
.tb2b-m-kpi.is-warn { border-color: #fcd9a8; background: #fffaf2; }
.tb2b-m-kpi.is-warn b { color: var(--tb-warn); }
.tb2b-m-scroll { overflow-x: auto; }
.tb2b-m-scroll .tb2b-table { min-width: 640px; }
.tb2b-m-tabs { margin-top: 0; }
.tb2b-m-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.tb2b-m-filters input[type="search"] { flex: 1; min-width: 220px; }
.tb2b-m-filters input, .tb2b-m-filters select { height: 40px; border: 1px solid var(--tb-line); border-radius: 8px; padding: 0 10px; font-size: 14px; background: #fff; }
.tb2b-m-filters label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--tb-muted); }
.tb2b-m-count { margin: 0 0 8px; font-size: 13px; }
.tb2b-m-pager { display: flex; gap: 6px; justify-content: center; margin: 16px 0; }
.tb2b-m-pager a, .tb2b-m-pager b, .tb2b-m-pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tb-line); border-radius: 8px; background: #fff; text-decoration: none; color: var(--tb-ink); font-size: 14px; }
.tb2b-m-pager b { background: var(--tb-accent); border-color: var(--tb-accent); color: #fff; }
.tb2b-m-pager span { border: 0; background: none; }
.tb2b-status.s-test { background: #eef2ff; color: #3730a3; }
.tb2b-m-info { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); overflow: hidden; margin: 0 0 16px; }
.tb2b-m-info > div { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; border-right: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); margin: 0 -1px -1px 0; }
.tb2b-m-info > div.is-wide { grid-column: span 2; }
.tb2b-m-info span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--tb-muted); font-weight: 600; }
.tb2b-m-info b { font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.tb2b-m-info small { font-size: 12px; color: var(--tb-muted); }
.tb2b-m-info small.is-err { color: #b42318; }
.tb2b-m-sku { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tb2b-m-ean { color: var(--tb-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tb2b-m-items tfoot td { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; text-align: right; color: var(--tb-muted); }
.tb2b-m-items tfoot td.num { color: var(--tb-ink); }
.tb2b-m-items tfoot tr.is-total td { font-size: 16px; color: var(--tb-ink); border-top: 1px solid var(--tb-line); padding-top: 10px; }
.tb2b-m-num { width: 80px; height: 36px; border: 1px solid var(--tb-line); border-radius: 8px; padding: 0 8px; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.tb2b-m-num.is-wide { width: 110px; }
.tb2b-m-num:focus, .tb2b-m-form input:focus, .tb2b-m-form select:focus, .tb2b-m-form textarea:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 3px var(--tb-accent-soft); }
.tb2b-m-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 0; padding: 12px 14px; background: #fff; border: 1px dashed var(--tb-line); border-radius: var(--tb-radius); }
.tb2b-m-add input { height: 36px; border: 1px solid var(--tb-line); border-radius: 8px; padding: 0 10px; font-size: 14px; }
.tb2b-m-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 0; }
.tb2b-m-actions .tb2b-muted { font-size: 13px; }
.tb2b-m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 0; }
.tb2b-m-box { padding: 16px 18px; overflow: visible; }
.tb2b-m-box h3 { margin: 0 0 10px; font-size: 16px; }
.tb2b-m-box form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 0 0 8px; }
.tb2b-m-box textarea, .tb2b-m-box select { width: 100%; border: 1px solid var(--tb-line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; background: #fff; }
.tb2b-btn-danger { background: #b42318 !important; border-color: #b42318 !important; }
.tb2b-btn.is-danger { color: #b42318 !important; }
.tb2b-btn.is-danger:hover { border-color: #b42318; background: #fdecec; }
.tb2b-btn-sm { padding: 4px 10px !important; font-size: 13px !important; }
.tb2b-m-check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-size: 14px; color: var(--tb-ink); cursor: pointer; }
.tb2b-m-check input { width: 18px; height: 18px; accent-color: var(--tb-accent); }
.tb2b-m-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tb2b-m-notes li { background: #fff; border: 1px solid var(--tb-line); border-left: 3px solid var(--tb-line); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.tb2b-m-notes li.is-customer { border-left-color: var(--tb-accent); }
.tb2b-m-notes li small { color: var(--tb-muted); font-size: 12px; }
.tb2b-m-notes li p { margin: 4px 0 0; }
.tb2b-m-anchors { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; position: sticky; top: 0; z-index: 5; padding: 8px 0; background: var(--tb-bg); }
.tb2b-m-anchors a { padding: 6px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--tb-line); font-size: 13px; color: var(--tb-ink); text-decoration: none; }
.tb2b-m-anchors a:hover { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb2b-m-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; padding: 18px; overflow: visible; }
.tb2b-m-fields > label, .tb2b-m-fields > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tb2b-m-fields > .is-wide { grid-column: 1 / -1; }
.tb2b-m-fields label > span, .tb2b-m-lbl, .tb2b-m-checks > span, .tb2b-m-bulk > span { font-size: 13px; color: var(--tb-muted); font-weight: 550; }
.tb2b-m-fields input:not([type="checkbox"]), .tb2b-m-fields select, .tb2b-m-fields textarea, .tb2b-m-bulk textarea, .tb2b-m-row input, .tb2b-m-row select { width: 100%; min-height: 40px; border: 1px solid var(--tb-line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; background: #fff; color: var(--tb-ink); }
.tb2b-m-fields input[type="file"] { padding: 8px; }
.tb2b-m-checks { flex-direction: row !important; align-items: center; gap: 14px !important; flex-wrap: wrap; }
.tb2b-m-fields > .tb2b-m-check { align-self: end; min-height: 40px; }
.tb2b-m-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.tb2b-m-row input, .tb2b-m-row select { width: auto; flex: 1; min-width: 160px; }
.tb2b-m-row .tb2b-btn { flex: none; }
.tb2b-m-hint { font-size: 13px; margin: 6px 0 0; }
.tb2b-m-inline { display: inline-flex; margin: 0; }
.tb2b-m-inline select { height: 36px; border: 1px solid var(--tb-line); border-radius: 8px; padding: 0 8px; font-size: 13px; max-width: 280px; background: #fff; }
.tb2b-m-rowact { white-space: nowrap; }
.tb2b-m-addrs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.tb2b-m-addr { overflow: visible; }
.tb2b-m-addr summary { cursor: pointer; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; list-style: none; }
.tb2b-m-addr summary::-webkit-details-marker { display: none; }
.tb2b-m-addr summary span { font-size: 14px; color: var(--tb-muted); }
.tb2b-m-addr[open] summary { border-bottom: 1px solid var(--tb-line); }
.tb2b-m-addr .tb2b-m-fields { grid-template-columns: 1fr 1fr; border: 0; padding: 14px 16px 0; }
.tb2b-m-addr form { margin: 0; }
.tb2b-m-addr .tb2b-m-actions, .tb2b-m-addr > form:last-child { padding: 0 16px 14px; }
.tb2b-m-bulk { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 0; }
.tb2b-m-bulk textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tb2b-m-picker { border: 1px solid var(--tb-line); border-radius: 8px; background: #fff; }
.tb2b-m-picker input[type="search"] { border: 0 !important; border-bottom: 1px solid var(--tb-line) !important; border-radius: 8px 8px 0 0 !important; }
.tb2b-m-picker-list { max-height: 240px; overflow: auto; padding: 6px 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 14px; }
.tb2b-m-picker-list label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.tb2b-m-picker-list input { accent-color: var(--tb-accent); }
.tb2b-m-search { margin: 0 0 12px; max-width: none; width: 100%; }
.tb2b-m-banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tb2b-m-banner { display: flex; flex-direction: column; text-decoration: none; color: var(--tb-ink); transition: border-color .15s; }
.tb2b-m-banner:hover { border-color: var(--tb-accent); }
.tb2b-m-banner img, .tb2b-m-banner-ph { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; background: var(--tb-bg); display: flex; align-items: center; justify-content: center; color: var(--tb-muted); font-size: 13px; }
.tb2b-m-banner b { padding: 10px 14px 0; }
.tb2b-m-banner small { padding: 2px 14px 12px; color: var(--tb-muted); font-size: 13px; }
.tb2b-m-banner.is-off { opacity: .6; }
.tb2b-m-thumb { max-width: 260px; border-radius: 8px; border: 1px solid var(--tb-line); }
@media (max-width: 960px) {
	.tb2b-m-kpis { grid-template-columns: 1fr 1fr; }
	.tb2b-m-info { grid-template-columns: 1fr 1fr; }
	.tb2b-m-fields { grid-template-columns: 1fr 1fr; }
	.tb2b-m-grid2, .tb2b-m-addrs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.tb2b-m-nav { flex-wrap: nowrap; overflow-x: auto; }
	.tb2b-m-nav a { white-space: nowrap; padding: 8px 10px; font-size: 14px; }
	.tb2b-m-nav-sp, .tb2b-m-nav a.tb2b-m-nav-wp { display: none; }
	.tb2b-m-kpi b { font-size: 24px; }
	.tb2b-m-info, .tb2b-m-fields, .tb2b-m-addr .tb2b-m-fields { grid-template-columns: 1fr; }
	.tb2b-m-info > div.is-wide { grid-column: auto; }
	.tb2b-manage .tb2b-table th:nth-child(2), .tb2b-manage .tb2b-table td:nth-child(2) { display: table-cell; }
	.tb2b-manage .tb2b-m-items td:nth-child(2), .tb2b-manage .tb2b-m-items td:nth-child(3), .tb2b-manage .tb2b-m-items td:nth-child(4) { display: block; }
	.tb2b-m-items tbody td:nth-child(4):not(:has(input))::after { content: " ×"; }
	.tb2b-m-items tbody td.tb2b-m-sku { grid-column: 1 / -1; padding-bottom: 0; font-size: 12px; }
	.tb2b-m-items tbody td.tb2b-m-ean { grid-column: 1 / -1; padding-top: 0; padding-bottom: 0; font-size: 11.5px; }
	.tb2b-m-items tbody td.tb2b-m-ean:not(:empty)::before { content: "EAN "; }
	.tb2b-m-items tbody td.tb2b-m-ean + td { grid-column: 1 / -1; }
	.tb2b-m-scroll .tb2b-table.tb2b-m-items { min-width: 0; }
	.tb2b-m-items, .tb2b-m-items tbody, .tb2b-m-items tfoot { display: block; width: 100%; }
	.tb2b-m-items thead { display: none; }
	.tb2b-m-items tfoot td.num { margin-left: auto; }
	.tb2b-m-items tbody tr { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; border-bottom: 1px solid var(--tb-line); padding: 6px 0; }
	.tb2b-m-items tbody td { border-bottom: 0; padding: 4px 12px; }
	.tb2b-m-items tbody td:first-child { grid-column: 1 / -1; }
	.tb2b-m-items tfoot tr { display: flex; justify-content: space-between; }
	.tb2b-m-items tfoot td:empty { display: none; }
}
@media print {
	.tb2b-staffbar, .tb2b-hd, .tb2b-ft, .tb2b-m-nav, .tb2b-m-head-actions, .tb2b-m-back, .tb2b-m-grid2, .tb2b-m-actions, .tb2b-m-add, .tb2b-m-flash, #wpadminbar { display: none !important; }
	body.tb2b-app { background: #fff; }
	.tb2b-m-num { border: 0; width: auto; }
}

/* v0.5 – kalbos, kategorijų meniu pagal ženklą, naujienų baneris, prekių grupės */
.tb2b-lang { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--tb-muted); }
.tb2b-lang select { height: 36px; border: 1px solid var(--tb-line); border-radius: 8px; background: #fff; padding: 0 8px; font-size: 13px; color: var(--tb-ink); max-width: 160px; cursor: pointer; }
.tb2b-lang.is-compact { position: relative; height: 36px; padding: 0 26px 0 10px; border: 1px solid var(--tb-line); border-radius: 8px; background: #fff; color: var(--tb-ink); font-size: 13px; font-weight: 600; }
.tb2b-lang.is-compact::after { content: ""; position: absolute; right: 10px; top: 13px; width: 6px; height: 6px; border-right: 1.6px solid var(--tb-muted); border-bottom: 1.6px solid var(--tb-muted); transform: rotate(45deg); pointer-events: none; }
.tb2b-lang.is-compact select { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; opacity: 0; cursor: pointer; }
.tb2b-lang.is-compact:focus-within { outline: 2px solid var(--tb-accent); outline-offset: 1px; }
.tb2b-login-lang { display: flex; justify-content: center; margin: 24px auto -12px; }
.tb2b-chip span { color: var(--tb-muted); font-size: 12px; }
.tb2b-chip.is-active span { color: rgba(255, 255, 255, .7); }
.tb2b-chip.is-group { font-weight: 600; }
.tb2b-brands { margin-bottom: 8px; }

/* Kategorijų meniu (kaip DLS: TUTIS / NOORDI su grupėmis) */
.tb2b-cats > summary { color: var(--tb-ink); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.tb2b-cats > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.tb2b-cats[open] > summary { background: var(--tb-bg); }
.tb2b-cats-pop { padding: 0; min-width: 0; }
.tb2b-mm { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 0; }
.tb2b-mm-col { padding: 14px 10px; border-right: 1px solid var(--tb-line); display: flex; flex-direction: column; }
.tb2b-mm-col:last-child { border-right: 0; background: #fafbfc; }
.tb2b-cats-pop .tb2b-mm-h { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-ink); padding: 6px 12px 8px; }
.tb2b-cats-pop .tb2b-mm-g { font-weight: 600; }
.tb2b-cats-pop .tb2b-mm-s { padding-top: 6px; padding-bottom: 6px; padding-left: 26px; font-size: 13px; color: var(--tb-muted); }
.tb2b-cats-pop .tb2b-mm-s:hover { color: var(--tb-ink); }

/* Naujienų baneris pradžios puslapyje */
.tb2b-hero { position: relative; margin: 0 0 28px; }
.tb2b-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.tb2b-slides::-webkit-scrollbar { display: none; }
.tb2b-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: block; min-height: 220px; aspect-ratio: 16 / 5; background: var(--tb-ink); color: #fff; text-decoration: none; overflow: hidden; }
.tb2b-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tb2b-slide-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 560px; padding: 32px 36px; }
.tb2b-slide:not(.is-plain)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 16, 24, .72) 0%, rgba(10, 16, 24, .35) 45%, rgba(10, 16, 24, 0) 75%); }
.tb2b-slide-text .tb2b-eyebrow { color: #9be3c8; }
.tb2b-slide-text b { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.tb2b-slide-text > span:not(.tb2b-eyebrow) { font-size: 15px; opacity: .9; line-height: 1.45; }
.tb2b-slide-text em { font-style: normal; font-weight: 600; margin-top: 8px; }
.tb2b-dots { position: absolute; left: 36px; bottom: 16px; z-index: 2; display: flex; gap: 6px; }
.tb2b-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s; }
.tb2b-dots button[aria-current] { width: 22px; background: #fff; }
.tb2b-hero-auto { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 24px; min-height: 280px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .08);
	background: radial-gradient(60% 90% at 88% 10%, rgba(47, 148, 120, .55) 0%, rgba(47, 148, 120, 0) 60%), radial-gradient(45% 70% at 8% 100%, rgba(253, 196, 0, .16) 0%, rgba(253, 196, 0, 0) 60%), linear-gradient(135deg, #0e141c 0%, #142a2f 55%, #12352e 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 40px -18px rgba(14, 20, 28, .55); }
.tb2b-hero-auto::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); }
.tb2b-hero-auto .tb2b-slide-text { padding: 36px 8px 36px 40px; gap: 14px; max-width: none; }
.tb2b-hero-auto .tb2b-slide-text > b { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; font-weight: 750; background: linear-gradient(180deg, #fff 0%, #cfe9df 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb2b-hero-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(155, 227, 200, .12); border: 1px solid rgba(155, 227, 200, .28); color: #9be3c8; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tb2b-hero-pill i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: tb2b-pulse 2s infinite; }
@keyframes tb2b-pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.tb2b-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tb2b-hero-chips span { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .88); }
.tb2b-hero-chips .tb2b-hero-count { background: none; border-color: transparent; color: rgba(255, 255, 255, .6); }
.tb2b-hero-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 11px 18px; border-radius: 12px; background: #fff; color: #10201c; font-style: normal; font-weight: 650; font-size: 14.5px; transition: background .2s, transform .2s; }
.tb2b-hero-cta span { transition: transform .2s; }
.tb2b-hero-auto:hover .tb2b-hero-cta { background: #e8f6f0; }
.tb2b-hero-auto:hover .tb2b-hero-cta span { transform: translateX(4px); }
.tb2b-hero-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 28px 32px 28px 0; align-items: center; }
.tb2b-hc { display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.tb2b-hc:nth-child(2) { transform: translateY(-14px); }
.tb2b-hc img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; background: #fff; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.tb2b-hc-l { display: flex; flex-direction: column; padding: 8px 12px 12px; border-top: 1px solid #eef1f4; color: #16181d; }
.tb2b-hc-l b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb2b-hc-l small { font-size: 12px; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb2b-hero-auto:hover .tb2b-hc { box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .55); }
.tb2b-hero-auto:hover .tb2b-hc:nth-child(1) { transform: translateY(-4px); }
.tb2b-hero-auto:hover .tb2b-hc:nth-child(2) { transform: translateY(-18px); }
.tb2b-hero-auto:hover .tb2b-hc:nth-child(3) { transform: translateY(-4px); }
.tb2b-hero-auto:hover .tb2b-hc img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tb2b-hc, .tb2b-hc img, .tb2b-hero-cta span { transition: none; } .tb2b-hero-pill i { animation: none; } }

/* Prekių ženklai su grupėmis */
.tb2b-bcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.tb2b-bcard { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 16px 18px 8px; }
.tb2b-bcard-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--tb-ink); margin-bottom: 6px; }
.tb2b-bcard-h b { font-size: 18px; letter-spacing: .04em; }
.tb2b-bcard-h small { color: var(--tb-accent); font-weight: 600; white-space: nowrap; }
.tb2b-bcard-logo { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.tb2b-bcard .tb2b-chips { margin: 8px 0; }

/* Vadyba: prekių grupės */
.tb2b-m-now { margin: 0 0 12px; font-size: 14px; }
.tb2b-m-groups { padding: 14px 18px; }
.tb2b-m-groups ul { list-style: none; margin: 0; padding: 0; }
.tb2b-m-groups > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
.tb2b-m-groups ul ul { padding-left: 22px; border-left: 1px dashed var(--tb-line); margin-left: 7px; }
.tb2b-m-groups .tb2b-m-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.tb2b-m-groups .tb2b-m-check.is-root { font-weight: 700; letter-spacing: .03em; }
.tb2b-m-groups input:disabled + * , .tb2b-m-groups label:has(input:disabled) { color: var(--tb-muted); }
.tb2b-m-note { background: var(--tb-accent-soft); color: var(--tb-ink); border-radius: 10px; padding: 12px 16px; font-size: 14px; margin: 0 0 16px; }

@media (max-width: 900px) {
	.tb2b-mm { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; }
	.tb2b-mm-col { border-right: 0; border-bottom: 1px solid var(--tb-line); }
	.tb2b-hero-auto { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; }
	.tb2b-hero-auto .tb2b-slide-text { padding: 28px 4px 28px 26px; }
	.tb2b-hero-auto .tb2b-slide-text > b { font-size: 27px; }
	.tb2b-hero-imgs { gap: 10px; padding: 24px 22px 24px 0; }
	.tb2b-hc-l { padding: 6px 9px 9px; }
}
@media (max-width: 640px) {
	.tb2b-hero-auto { grid-template-columns: 1fr; }
	.tb2b-hero-auto .tb2b-slide-text { padding: 24px 20px 6px; }
	.tb2b-hero-auto .tb2b-slide-text > b { font-size: 26px; }
	.tb2b-hero-imgs { padding: 14px 16px 34px; }
}
@media (max-width: 720px) {
	.tb2b-lang.is-compact svg { display: none; }
	.tb2b-slide { aspect-ratio: auto; min-height: 200px; }
	.tb2b-slide-text { padding: 22px 20px 36px; }
	.tb2b-slide-text b { font-size: 22px; }
	.tb2b-dots { left: 20px; }
	.tb2b-cats-pop { max-height: 70vh; }
}
.tb2b-cats-pop a { gap: 12px; }
@media (max-width: 720px) { .tb2b-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tb2b-bcards { grid-template-columns: 1fr; } }
.tb2b-cats-pop a { white-space: normal; line-height: 1.3; }
/* Pristatymo pastaba (Tutis Polska: dalis iš LT sandėlio) */
.tb2b-st-note { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.25; color: #9a6700; }
.tb2b-m-from { color: #9a6700; }
.tb2b-item-codes { color: var(--tb-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.product_meta .tb2b-ean-meta { display: block; }

/* Naujienų skaidrės: stačias paveikslėlis šalia teksto (pvz. geltonas ENZO baneris) ir automatinė naujienų skaidrė. */
.tb2b-slide.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); align-items: center; aspect-ratio: auto; min-height: 260px; background: var(--slide-bg, #f2f2f2); color: var(--slide-fg, #16181d); }
.tb2b-slide.is-split::before { content: none; }
.tb2b-slide.is-split .tb2b-slide-text .tb2b-eyebrow { color: inherit; opacity: .7; }
.tb2b-slide-img { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; padding: 18px 28px 0 0; }
.tb2b-slide-img img { position: static; display: block; width: auto; height: auto; max-width: 100%; max-height: 300px; object-fit: contain; }
.tb2b-slide.tb2b-hero-auto { display: grid; aspect-ratio: auto; border-radius: 0; border: 0; }
.tb2b-slide.tb2b-hero-auto img { position: static; inset: auto; height: auto; }
a.tb2b-slide.is-split:hover em { text-decoration: underline; }
@media (max-width: 760px) {
	.tb2b-slide.is-split { grid-template-columns: 1fr; }
	.tb2b-slide-img { padding: 0 20px; order: -1; }
	.tb2b-slide-img img { max-height: 210px; }
}

/* Pristatymo būdas pateikiant užsakymą. */
.tb2b-delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.tb2b-delivery-lbl { grid-column: 1 / -1; font-weight: 600; }
.tb2b-dm, .woocommerce form .form-row.tb2b-delivery label.tb2b-dm { display: flex; flex-direction: row; line-height: 1.4; margin: 0; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--tb-line, #dfe3e8); border-radius: 10px; cursor: pointer; background: #fff; }
.tb2b-dm:has(input:checked) { border-color: var(--tb-accent, #2c6e5a); box-shadow: 0 0 0 1px var(--tb-accent, #2c6e5a) inset; }
.tb2b-dm input[type=radio] { flex: none; width: auto; margin: 3px 0 0; }
.tb2b-dm span { display: flex; flex-direction: column; gap: 2px; }
.tb2b-dm small { color: var(--tb-muted, #667085); font-size: 13px; }
@media (max-width: 600px) { .tb2b-delivery { grid-template-columns: 1fr; } }

/* Maži reklaminiai blokai su paveikslėliu (pvz. ENZO) ir Outlet kortelė. */
.tb2b-promo.is-img { background: var(--slide-bg, #f2f2f2); color: var(--slide-fg, #16181d) !important; padding-right: 46%; min-height: 170px; }
.tb2b-promo-pic { position: absolute; top: 10px; right: 12px; bottom: 0; width: 42%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.tb2b-promo-pic img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tb2b-promo.is-cover { padding-right: 22px; color: #fff !important; background: #17202c; }
.tb2b-promo.is-cover .tb2b-promo-pic { inset: 0; width: auto; }
.tb2b-promo.is-cover .tb2b-promo-pic img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.tb2b-promo.is-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 16, 24, .75), rgba(10, 16, 24, .15)); }
.tb2b-promo.is-img > :not(.tb2b-promo-pic) { position: relative; z-index: 2; }
.tb2b-promo.outlet { background: linear-gradient(135deg, #1d2430, #3a4556); color: #fff !important; }
.tb2b-of-rrp { display: block; font-size: 11.5px; color: var(--tb-muted); white-space: nowrap; }
.tb2b-of-rrp .woocommerce-Price-amount { font-weight: 500; }

/* Informacijos skiltis. */
.tb2b-info { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.tb2b-info-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--tb-line); border-radius: 12px; }
.tb2b-info-nav a { padding: 9px 12px; border-radius: 8px; color: var(--tb-ink, #16181d); text-decoration: none; font-weight: 500; }
.tb2b-info-nav a:hover { background: var(--tb-accent-soft); }
.tb2b-info-nav a[aria-current] { background: var(--tb-accent-soft); color: var(--tb-accent); font-weight: 600; }
.tb2b-info-body { max-width: 760px; line-height: 1.65; }
.tb2b-info-body h3 { margin: 1.6em 0 .5em; font-size: 18px; }
.tb2b-info-body h3:first-child { margin-top: 0; }
.tb2b-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 10px; }
.tb2b-team > div { display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 1px solid var(--tb-line); border-radius: 12px; background: #fff; }
.tb2b-team span { color: var(--tb-muted); font-size: 14px; margin-bottom: 6px; }
.tb2b-info-cards { margin-top: 8px; }
@media (max-width: 860px) {
	.tb2b-info { grid-template-columns: 1fr; gap: 18px; }
	.tb2b-info-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
.tb2b-info-body a { color: var(--tb-accent); }
.tb2b-ft-info { display: flex; flex-direction: column; gap: 4px; }
.tb2b-ft-info a { color: var(--tb-ink); text-decoration: none; }
.tb2b-ft-info a:hover { color: var(--tb-accent); text-decoration: underline; }

/* Modelio pristatymas kategorijos viršuje (pvz. ENZO). */
.tb2b-pitch { margin: 0 0 24px; padding: 28px; border-radius: 20px; overflow: hidden; color: var(--tb-ink); border: 1px solid #efe4c4;
	background: radial-gradient(70% 120% at 100% 0%, rgba(253, 196, 0, .2), transparent 60%), linear-gradient(160deg, #fffdf7, #fbf5e6); }
.tb2b-pitch-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; }
.tb2b-pitch:not(.has-img) .tb2b-pitch-head { grid-template-columns: minmax(0, 1fr); }
.tb2b-pitch-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a6a00; }
.tb2b-pitch h2 { margin: 0 0 20px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
.tb2b-pitch-price { display: flex; flex-wrap: wrap; gap: 10px; }
.tb2b-pitch-price > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid #efe4c4; }
.tb2b-pitch-price small { font-size: 12px; color: var(--tb-muted); }
.tb2b-pitch-price b { font-size: 22px; letter-spacing: -.01em; }
.tb2b-pitch-price b .woocommerce-Price-amount, .tb2b-pitch-price b bdi { color: inherit; }
.tb2b-pitch-price .is-you { background: #16181d; border-color: #16181d; color: #fff; }
.tb2b-pitch-price .is-you small { color: rgba(255, 255, 255, .72); }
.tb2b-pitch-img img { display: block; width: 100%; height: 240px; object-fit: contain; mix-blend-mode: multiply; }
.tb2b-pitch-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tb2b-pitch-grid li { padding: 16px 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .88); border: 1px solid #efe4c4; transition: transform .2s ease, box-shadow .2s ease; }
.tb2b-pitch-grid li:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(60, 45, 0, .5); }
.tb2b-pitch-n { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #b38900; }
.tb2b-pitch-grid b { display: block; margin-bottom: 6px; font-size: 15.5px; line-height: 1.3; }
.tb2b-pitch-grid p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #4a4536; }
.tb2b-pitch-grid p strong { color: var(--tb-ink); }
@media (prefers-reduced-motion: reduce) { .tb2b-pitch-grid li { transition: none; } }
@media (max-width: 720px) {
	.tb2b-pitch { padding: 20px 18px; border-radius: 16px; }
	.tb2b-pitch-head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.tb2b-pitch-img { order: -1; }
	.tb2b-pitch-img img { height: 180px; }
	.tb2b-pitch-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
}

/* Planšetė: EAN po kodu, kad pavadinimui liktų vietos. */
@media (min-width: 721px) and (max-width: 1180px) {
	.tb2b-of-row, .tb2b-acc .tb2b-of-row { grid-template-columns: 96px 96px minmax(0, 1fr) 108px 104px 132px; grid-template-areas: "img sku name stock price qty" "img ean name stock price qty"; row-gap: 2px; column-gap: 12px; }
	.tb2b-of-row > :nth-child(1) { grid-area: img; } .tb2b-of-row > :nth-child(2) { grid-area: sku; align-self: end; }
	.tb2b-of-row > :nth-child(3) { grid-area: ean; align-self: start; } .tb2b-of-row > :nth-child(4) { grid-area: name; }
	.tb2b-of-row > :nth-child(5) { grid-area: stock; } .tb2b-of-row > :nth-child(6) { grid-area: price; } .tb2b-of-row > :nth-child(7) { grid-area: qty; }
	.tb2b-of-head { grid-template-areas: "img sku name stock price qty"; }
	.tb2b-of-head > :nth-child(3) { display: none; }
	.tb2b-of-img img { width: 96px; height: 96px; }
}

/* Prisijungimo puslapis. */
body.tb2b-login-page { margin: 0; background: #f4f6f8; }
.tb2b-auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.tb2b-auth-brand { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px 56px; color: #fff;
	background: radial-gradient(70% 60% at 85% 15%, rgba(47, 148, 120, .55), transparent 60%), radial-gradient(55% 50% at 0% 100%, rgba(253, 196, 0, .14), transparent 60%), linear-gradient(150deg, #0e141c 0%, #13272c 55%, #10342c 100%); }
.tb2b-auth-brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.tb2b-auth-logo, .tb2b-auth-logo-m { display: flex; align-items: center; gap: 10px; }
.tb2b-auth-logo .tb2b-logo-img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.tb2b-auth-logo .tb2b-logo-tag { border-color: rgba(255, 255, 255, .5); color: #fff; }
.tb2b-auth-copy h1 { margin: 0 0 14px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 750; background: linear-gradient(180deg, #fff, #cfe9df); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb2b-auth-copy p { margin: 0 0 28px; max-width: 440px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.tb2b-auth-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tb2b-auth-copy li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }
.tb2b-auth-copy li svg { flex: none; padding: 5px; box-sizing: content-box; border-radius: 50%; background: rgba(61, 220, 151, .16); color: #3ddc97; }
.tb2b-auth-made { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; padding: 12px 18px 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.tb2b-flag { flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.tb2b-auth-made span { display: flex; flex-direction: column; }
.tb2b-auth-made b { font-size: 15px; }
.tb2b-auth-made small { font-size: 12.5px; color: rgba(255, 255, 255, .65); letter-spacing: .04em; }
.tb2b-auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 24px; }
.tb2b-auth-top { width: 100%; max-width: 420px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.tb2b-auth-logo-m { display: none; margin-right: auto; }
.tb2b-auth-logo-m .tb2b-logo-img { height: 34px; width: auto; }
.tb2b-auth-card { width: 100%; max-width: 420px; box-sizing: border-box; padding: 34px 32px; background: #fff; border: 1px solid var(--tb-line); border-radius: 20px; box-shadow: 0 24px 48px -28px rgba(16, 24, 40, .35); }
.tb2b-auth-card .woocommerce { max-width: none; }
.tb2b-auth-card h2 { margin: 0 0 20px; font-size: 26px; letter-spacing: -.02em; }
body.tb2b-login-page .tb2b-auth-card .woocommerce form.login, body.tb2b-login-page .tb2b-auth-card .woocommerce form.lost_reset_password { max-width: none; margin: 0; padding: 0 !important; border: 0 !important; box-shadow: none; background: none; }
body.tb2b-login-page .tb2b-auth-card .woocommerce form .button { padding: 0; border-radius: 12px; }
.tb2b-auth-card h2 { text-align: left; }
.tb2b-auth-card .form-row { margin: 0 0 16px; padding: 0; }
.tb2b-auth-card label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--tb-ink); }
body.tb2b-login-page .tb2b-auth-card input.input-text { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 12px; font-size: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
body.tb2b-login-page .tb2b-auth-card input.input-text:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 4px var(--tb-accent-soft); }
.tb2b-auth-card .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin: 2px 0 16px; font-weight: 500; }
body.tb2b-login-page .tb2b-auth-card .woocommerce button.button { width: 100%; height: 50px; border: 0; border-radius: 12px; background: var(--tb-accent); color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; transition: background .15s, transform .15s; }
body.tb2b-login-page .tb2b-auth-card .woocommerce button.button:hover { background: #185a4a; color: #fff; }
.tb2b-auth-card .lost_password { margin: 18px 0 0; text-align: center; }
body.tb2b-login-page .tb2b-auth-card a { color: var(--tb-accent); font-weight: 600; text-decoration: none; }
body.tb2b-login-page .tb2b-auth-card a:hover { text-decoration: underline; }
.tb2b-auth-card .woocommerce-error, .tb2b-auth-card .woocommerce-message, .tb2b-auth-card .woocommerce-info { margin: 0 0 18px; border-radius: 12px; }
.tb2b-auth-foot { width: 100%; max-width: 420px; display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; color: var(--tb-muted); }
.tb2b-auth-made-m { display: none; align-items: center; gap: 8px; }
@media (max-width: 900px) {
	.tb2b-auth { grid-template-columns: 1fr; }
	.tb2b-auth-brand { display: none; }
	.tb2b-auth-logo-m, .tb2b-auth-made-m { display: inline-flex; }
	.tb2b-auth-main { justify-content: flex-start; padding-top: 28px; background: radial-gradient(90% 40% at 50% 0%, rgba(47, 148, 120, .12), transparent 70%); }
	.tb2b-auth-card { padding: 26px 22px; }
}
/* Krepšelio / užsakymo prekės papildoma informacija (kodas, pristatymas) – vienoje eilutėje. */
.woocommerce-checkout-review-order-table dl.variation, .woocommerce-cart-form dl.variation, .woocommerce-table--order-details dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 6px; margin: 6px 0 0; font-size: 13px; color: var(--tb-muted); }
.woocommerce-checkout-review-order-table dl.variation dt, .woocommerce-checkout-review-order-table dl.variation dd, .woocommerce-cart-form dl.variation dt, .woocommerce-cart-form dl.variation dd, .woocommerce-table--order-details dl.variation dt, .woocommerce-table--order-details dl.variation dd { float: none; margin: 0; padding: 0; font-weight: 400; }
.woocommerce-checkout-review-order-table dl.variation dd p, .woocommerce-cart-form dl.variation dd p, .woocommerce-table--order-details dl.variation dd p { margin: 0; }
.tb2b-ship-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--tb-muted); }
/* Užsakymo pateikimas: laukai ir mokėjimo blokas portalo stiliumi. */
body.tb2b-app.woocommerce-checkout form.checkout .input-text, body.tb2b-app.woocommerce-checkout form.checkout select { border: 1px solid #d0d5dd; border-radius: 10px; min-height: 44px; padding: 10px 12px; background-color: #fff; font-size: 15px; }
body.tb2b-app.woocommerce-checkout form.checkout textarea.input-text { min-height: 88px; }
body.tb2b-app.woocommerce-checkout form.checkout .input-text:focus, body.tb2b-app.woocommerce-checkout form.checkout select:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 4px var(--tb-accent-soft); }
body.tb2b-app.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--tb-line); border-radius: 16px; overflow: hidden; }
body.tb2b-app.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--tb-line); padding: 16px 20px; }
body.tb2b-app.woocommerce-checkout #payment div.form-row { padding: 16px 20px; margin: 0; }
/* Telefonas: logotipas ir veiksmai vienoje eilutėje, paieška – visu pločiu po jais. */
@media (max-width: 480px) {
	.tb2b-hd-top .tb2b-hd-row { flex-wrap: wrap; column-gap: 8px; }
	.tb2b-logo { gap: 6px; min-width: 0; }
	.tb2b-logo-img { max-height: 26px; }
	.tb2b-logo-tag { font-size: 10px; padding: 0 4px; }
	.tb2b-hd-actions { gap: 6px; }
	.tb2b-cart-pill { height: 38px; padding: 0 10px; gap: 6px; }
	.tb2b-avatar { width: 36px; height: 36px; }
	.tb2b-lang.is-compact { height: 34px; padding: 0 22px 0 8px; }
	.tb2b-lang.is-compact::after { right: 8px; top: 12px; }
	.tb2b-search-cat { max-width: 118px; padding: 0 6px; font-size: 13px; }
	.tb2b-hd-search .tb2b-search input[type="search"] { padding-left: 36px; background-position: 11px center; font-size: 15px; }
}
/* Siauresnė planšetė (721–960 px): pavadinimui – visa laisva eilutė, kodas ir EAN po juo, likutis po kaina. */
@media (min-width: 721px) and (max-width: 960px) {
	.tb2b-of-row, .tb2b-acc .tb2b-of-row { grid-template-columns: 88px minmax(0, 1fr) 112px 132px; grid-template-areas: "img name price qty" "img sku stock qty" "img ean stock qty"; row-gap: 2px; column-gap: 14px; }
	.tb2b-of-row > :nth-child(2) { align-self: start; font-size: 12.5px; }
	.tb2b-of-row > :nth-child(3) { font-size: 12px; }
	.tb2b-of-row > :nth-child(3):not(:empty)::before { content: "EAN "; }
	.tb2b-of-row > :nth-child(5) { align-self: start; justify-self: end; text-align: right; }
	.tb2b-of-head { display: none; }
	.tb2b-of-img img { width: 88px; height: 88px; }
}
/* Planšetė: prekės nuotrauka ir pirkimo blokas greta, kad kaina ir kiekis matytųsi be slinkimo. */
@media (min-width: 690px) and (max-width: 999.98px) {
	body.tb2b-app.single-product .product-entry-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	body.tb2b-app.single-product .product-entry-wrapper > .woocommerce-product-gallery, body.tb2b-app.single-product .product-entry-wrapper > .summary { width: auto; max-width: none; margin: 0; }
}
/* Paskyros suvestinė. */
.tb2b-acc-dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.tb2b-acc-co { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-accent); }
.tb2b-acc-hello h2 { margin: 2px 0 0; font-size: 24px; letter-spacing: -.02em; }
.tb2b-acc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.tb2b-acc-facts > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--tb-line); border-radius: 12px; background: var(--tb-bg); }
.tb2b-acc-facts small { font-size: 12px; color: var(--tb-muted); }
.tb2b-acc-facts b { font-size: 16px; color: var(--tb-ink); }
.tb2b-acc-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tb2b-acc-quick a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--tb-line); border-radius: 12px; background: #fff; color: var(--tb-ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tb2b-acc-quick a svg { flex: none; color: var(--tb-accent); }
.tb2b-acc-quick a:hover { border-color: var(--tb-accent); box-shadow: 0 6px 18px -10px rgba(16, 24, 40, .35); transform: translateY(-1px); }
.tb2b-acc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tb2b-acc-h h3 { margin: 0; font-size: 16px; }
.tb2b-acc-h a { font-size: 13px; color: var(--tb-accent); text-decoration: none; font-weight: 600; }
.tb2b-acc-recent ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--tb-line); border-radius: 12px; overflow: hidden; }
.tb2b-acc-recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--tb-line); }
.tb2b-acc-recent li:first-child { border-top: 0; }
.tb2b-acc-recent li > a { display: flex; flex-direction: column; color: var(--tb-ink); text-decoration: none; }
.tb2b-acc-recent li > a span { font-size: 12px; color: var(--tb-muted); }
.tb2b-acc-recent li > a:hover b { color: var(--tb-accent); }
.tb2b-acc-st { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--tb-bg); color: var(--tb-muted); white-space: nowrap; }
.tb2b-acc-st.st-processing { background: #e8f3ef; color: var(--tb-accent); }
.tb2b-acc-st.st-completed { background: #eef2f6; color: #344054; }
.tb2b-acc-st.st-cancelled, .tb2b-acc-st.st-failed { background: #fdecec; color: #b42318; }
.tb2b-acc-st.st-tb2b-review, .tb2b-acc-st.st-on-hold { background: #fff6e0; color: #93600b; }
.tb2b-acc-sum { text-align: right; font-weight: 700; white-space: nowrap; }
.tb2b-acc-empty { margin: 0; padding: 14px; border: 1px dashed var(--tb-line); border-radius: 12px; color: var(--tb-muted); }
@media (max-width: 560px) {
	body.tb2b-app .woocommerce-MyAccount-content { padding: 16px; }
	.tb2b-acc-facts, .tb2b-acc-quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
	.tb2b-acc-quick a { padding: 10px 12px; font-size: 13.5px; }
	.tb2b-acc-facts > div:first-child { grid-column: 1 / -1; }
	.tb2b-acc-recent li { grid-template-columns: minmax(0, 1fr) auto; }
	.tb2b-acc-sum { grid-column: 2; }
	.tb2b-acc-st { grid-column: 1; grid-row: 2; justify-self: start; }
}
/* Telefonas: paskyros meniu – horizontali juosta, kad turinys matytųsi iškart. */
@media (max-width: 720px) {
	body.tb2b-app .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; overflow-x: auto; padding: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	body.tb2b-app .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.tb2b-app .woocommerce-MyAccount-navigation li { flex: none; margin: 0; border: 0 !important; }
	body.tb2b-app .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 12px; font-size: 14px; }
	body.tb2b-app .ct-acount-nav { margin-bottom: 16px; }
}
/* Vadyba: išpildymo el. paštu veiksmai. */
.tb2b-m-fulfil { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tb-line); }
.tb2b-m-box .tb2b-m-fulfil form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; justify-self: stretch; gap: 8px; margin: 0; }
.tb2b-m-fulfil > b, .tb2b-m-fulfil > small { justify-self: start; }
.tb2b-m-fulfil input { height: 38px; border: 1px solid #d0d5dd; border-radius: 8px; padding: 0 10px; font-size: 14px; background: #fff; }
.tb2b-m-fulfil input[name="tracking"] { flex: 1; min-width: 160px; }
.tb2b-m-fulfil small { font-size: 12.5px; }
/* Prisijungimas: gamybos vizitas. */
.tb2b-auth-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tb2b-auth-visit { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .78) !important; font-size: 14px; text-decoration: none; }
.tb2b-auth-visit svg { flex: none; color: #3ddc97; }
.tb2b-auth-visit b { color: #fff; font-weight: 600; }
.tb2b-auth-visit:hover b { text-decoration: underline; }
.tb2b-auth-visit-m { display: none; width: 100%; max-width: 420px; margin: -8px 0 0; font-size: 13px; color: var(--tb-muted) !important; text-decoration: none; text-align: center; }
@media (max-width: 900px) { .tb2b-auth-visit-m { display: block; } .tb2b-auth-foot { flex-wrap: wrap; } }
/* Paskyra: Duomenys ir API. */
.tb2b-api { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tb2b-api-lead { margin: 0; font-size: 15px; color: var(--tb-ink); }
.tb2b-api-card { padding: 18px 20px; border: 1px solid var(--tb-line); border-radius: 14px; background: #fff; }
.tb2b-api-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 16px; }
.tb2b-api-card h3 span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tb-accent-soft); color: var(--tb-accent); font-size: 13px; font-weight: 800; }
.tb2b-api-card p { margin: 0 0 10px; font-size: 14px; }
.tb2b-api-copy { display: flex; align-items: stretch; gap: 8px; margin: 0 0 10px; }
.tb2b-api-copy code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 9px 12px; border: 1px solid var(--tb-line); border-radius: 8px; background: var(--tb-bg); font-size: 12.5px; }
.tb2b-api-new { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #fff6e0; border: 1px solid #f3d48b; }
.tb2b-api-new b { font-size: 13.5px; color: #93600b; }
.tb2b-api-meta { font-size: 13.5px; color: var(--tb-muted); }
.tb2b-api-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tb2b-api-f { margin: 0; }
.tb2b-btn.is-danger { color: #b42318; border-color: #f2c4bf; }
.tb2b-api-sec { font-size: 12.5px; }
.tb2b-api-t { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 13px; }
.tb2b-api-t td { padding: 7px 8px; border-top: 1px solid var(--tb-line); vertical-align: top; }
.tb2b-api-t code { font-size: 12px; word-break: break-all; }
.tb2b-api-pre { margin: 0 0 10px; padding: 12px 14px; border-radius: 10px; background: #0e141c; color: #d7e3df; font-size: 12px; line-height: 1.55; overflow-x: auto; white-space: pre; }
@media (max-width: 560px) { .tb2b-api-copy { flex-direction: column; } .tb2b-api-card { padding: 14px; } }
