/* TGP cart + checkout (2026-11-26, class-checkout-ui.php, templates/co-*.php). Tokens as rims.css / cart-drawer.css. */
.tgp-co{
	--y: #fdb813; --yh: #ffc633; --dk: #1e1e1e; --mu: #5b5b5b; --mu2: #8a8a8a; --ln: #e6e6e6; --ln2: #d6d6d6; --soft: #f7f7f7;
	--gr: #29994d; --grbg: #e8f6eb; --grtx: #1a592e; --blbg: #eaf0fb; --bltx: #1f4a99; --ntbg: #fff6d9; --nttx: #6b5200; --rd: #c0352b;
	--M: 'Montserrat', sans-serif; --O: 'Open Sans', sans-serif; --top: 152px; /* theme header is fixed (137 px) after scrolling */
	max-width: 1320px; margin: 0 auto; padding: 26px clamp(16px, 4vw, 60px) 64px;
	font-family: var(--O); font-size: 15px; line-height: 1.45; color: var(--dk); letter-spacing: 0;
}
.tgp-co-page .page_content_wrap > .content_wrap, .tgp-co-page .content_wrap > .content{ width: 100% !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.tgp-co *, .tgp-co *::before, .tgp-co *::after{ box-sizing: border-box; }
body .tgp-co h1, body .tgp-co h2, body .tgp-co h3, body .tgp-co p{ letter-spacing: 0; text-transform: none; }
.tgp-co a{ color: inherit; }
.tgp-co [hidden], .tgp-co .tgp-co-hidden{ display: none !important; }
.tgp-co .tgp-co-i{ display: block; flex: none; }
.tgp-co :focus-visible{ outline: 2px solid var(--y); outline-offset: 2px; }
.tgp-co .screen-reader-text{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header: steps + title ---------- */
.tgp-co__head{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.tgp-co__steps{ list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; width: 100%; } /* owner 2026-11-26: на всю ширину, линии тянутся */
.tgp-co__steps li{ display: flex; align-items: center; margin: 0; padding: 0; font: 600 13px var(--M); color: var(--mu2); }
.tgp-co__steps li + li{ flex: 1 1 0; min-width: 0; }
.tgp-co__steps li + li::before{ content: ""; flex: 1 1 auto; min-width: 18px; height: 2px; background: var(--ln); margin: 0 14px; border-radius: 1px; }
.tgp-co__steps li > a, .tgp-co__steps li > span{ flex: none; white-space: nowrap; }
.tgp-co__steps li.is-done + li::before, .tgp-co__steps li.is-on::before{ background: var(--dk); }
.tgp-co__steps a, .tgp-co__steps span{ display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.tgp-co__steps b{ width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 12px var(--M); background: #f0f0f0; color: var(--mu); }
.tgp-co__steps b .tgp-co-i{ width: 14px; height: 14px; stroke-width: 2.4; }
.tgp-co__steps em{ font-style: normal; }
.tgp-co__steps li.is-on{ color: var(--dk); }
.tgp-co__steps li.is-on b{ background: var(--y); color: var(--dk); }
.tgp-co__steps li.is-done{ color: var(--dk); }
.tgp-co__steps li.is-done b{ background: var(--dk); color: #fff; }
.tgp-co__steps a:hover em{ text-decoration: underline; text-underline-offset: 3px; }
.tgp-co__steps em .tgp-co__sl{ display: inline; }
.tgp-co__steps em .tgp-co__ss{ display: none; }
.tgp-co__title{ display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
body .tgp-co__title h1{ margin: 0 !important; font: 800 34px/1.15 var(--M) !important; color: var(--dk) !important; }
.tgp-co__count{ font-size: 15px; color: var(--mu); }
.tgp-co__back{ display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font: 600 13px var(--O); color: var(--mu) !important; text-decoration: none; }
.tgp-co__back:hover{ color: var(--dk) !important; text-decoration: underline; }
.tgp-co__back .tgp-co-i{ width: 16px; height: 16px; }

/* ---------- notices ---------- */
.tgp-co .woocommerce-notices-wrapper:empty{ display: none; }
body .tgp-co .woocommerce-message, body .tgp-co .woocommerce-info, body .tgp-co .woocommerce-error{
	display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 12px !important; padding: 12px 16px !important; border: 0 !important;
	border-left: 4px solid var(--gr) !important; border-radius: 10px; background: var(--grbg) !important; color: var(--grtx) !important;
	font: 400 14px/1.45 var(--O) !important; text-transform: none !important; letter-spacing: 0 !important; list-style: none; box-shadow: none;
}
body .tgp-co .woocommerce-message::before, body .tgp-co .woocommerce-info::before, body .tgp-co .woocommerce-error::before{ display: none !important; }
body .tgp-co .woocommerce-info{ border-left-color: var(--y) !important; background: var(--ntbg) !important; color: var(--nttx) !important; }
body .tgp-co .woocommerce-error{ border-left-color: var(--rd) !important; background: #fdeceb !important; color: #8a1f17 !important; flex-direction: column; align-items: flex-start; }
body .tgp-co .woocommerce-error li{ margin: 0; padding: 0; list-style: none; }
body .tgp-co .woocommerce-message .button, body .tgp-co .woocommerce-info .button{ order: 2; margin-left: auto; padding: 0 !important; background: none !important; color: inherit !important;
	font: 700 13px var(--O) !important; text-decoration: underline; text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; height: auto; min-height: 0; }
.tgp-co--cart .woocommerce-message .button.wc-forward{ display: none !important; }
.tgp-co .woocommerce-info a, .tgp-co .woocommerce-message a{ font-weight: 700; text-decoration: underline; }

/* ---------- layout ---------- */
.tgp-co__grid{ display: grid; grid-template-columns: minmax(0, 1fr) 390px; grid-template-areas: "main side"; gap: 28px; align-items: start; }
.tgp-co__main{ grid-area: main; min-width: 0; }
.tgp-co__side{ grid-area: side; min-width: 0; position: sticky; top: var(--top); display: flex; flex-direction: column; gap: 12px; }
body.admin-bar .tgp-co__side{ top: calc(var(--top) + 32px); }
/* owner 2026-11-26: сводка должна ехать со страницей. У темы .page_wrap overflow: hidden — это scroll-контейнер, sticky внутри не работает. clip режет так же, но контейнером не является. */
body.tgp-co-page .page_wrap{ overflow: visible !important; overflow-x: clip !important; }

/* ---------- buttons ---------- */
body .tgp-co .tgp-co-btn, body .tgp-co #place_order{
	display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; float: none !important; min-height: 56px; height: auto; padding: 14px 22px !important; margin: 0;
	border: 0 !important; border-radius: 28px !important; background: var(--y) !important; color: var(--dk) !important; box-shadow: none !important;
	font: 700 14px/1.2 var(--M) !important; letter-spacing: .6px !important; text-transform: uppercase !important; text-decoration: none !important; text-align: center; cursor: pointer; transition: background .15s;
}
body .tgp-co .tgp-co-btn:hover, body .tgp-co #place_order:hover{ background: var(--yh) !important; color: var(--dk) !important; }
body .tgp-co .tgp-co-btn--line{ background: #fff !important; border: 1.5px solid var(--dk) !important; }
body .tgp-co .tgp-co-btn--line:hover{ background: var(--dk) !important; color: #fff !important; }

/* ---------- cart items ---------- */
.tgp-co-items{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tgp-co .tgp-co-item{ display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; margin: 0; padding: 16px; background: #fff; border: 1px solid #e8e8e8; border-radius: 14px; }
.tgp-co-item__img{ width: 108px; height: 108px; border: 1px solid #ededed; border-radius: 10px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.tgp-co-item__img a{ display: block; width: 100%; height: 100%; }
body .tgp-co .tgp-co-item__img img{ width: 100% !important; height: 100% !important; object-fit: contain; padding: 6px; margin: 0; max-width: none; }
.tgp-co-item__body{ min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tgp-co-item__top{ display: flex; align-items: flex-start; gap: 10px; }
.tgp-co-item__name{ flex: 1; min-width: 0; font: 700 15px/1.35 var(--M); color: var(--dk); text-transform: none; }
.tgp-co-item__name a{ text-decoration: none; color: var(--dk) !important; }
.tgp-co-item__name a:hover{ text-decoration: underline; text-underline-offset: 2px; }
body .tgp-co .tgp-co-item__rm a.remove{ flex: none; width: 36px !important; height: 36px !important; margin: -6px -6px 0 0; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center;
	color: var(--mu2) !important; background: none !important; border: 0 !important; font-size: 0 !important; line-height: 1 !important; text-indent: 0 !important; transition: color .15s, background .15s; }
body .tgp-co .tgp-co-item__rm a.remove:hover{ color: var(--rd) !important; background: #fdeceb !important; }
body .tgp-co .tgp-co-item__rm a.remove::before, body .tgp-co .tgp-co-item__rm a.remove::after{ display: none !important; }
.tgp-co-item__meta{ font-size: 13px; color: var(--mu); }
.tgp-co-eta{ align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 14px; background: var(--grbg); color: var(--grtx); font: 600 12px/1.3 var(--O); }
.tgp-co-eta .tgp-co-i{ width: 14px; height: 14px; }
.tgp-co-eta.is-eu{ background: var(--blbg); color: var(--bltx); }
.tgp-co .backorder_notification{ margin: 0; font-size: 12.5px; color: var(--nttx); }
.tgp-co-item__row{ display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.tgp-co-item__unit{ flex: 1; font-size: 13px; color: var(--mu); white-space: nowrap; }
.tgp-co-item__sum{ font: 800 18px var(--M); white-space: nowrap; }

/* quantity −/+ around WooCommerce's input.qty */
.tgp-co-qty{ display: inline-flex; align-items: center; height: 40px; border: 1px solid #d9d9d9; border-radius: 20px; background: #fff; flex: none; }
body .tgp-co .tgp-co-qty__b{ width: 40px; height: 38px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 20px !important;
	background: none !important; color: var(--dk) !important; font: 500 20px/1 var(--O) !important; box-shadow: none !important; cursor: pointer; min-height: 0; letter-spacing: 0 !important; }
body .tgp-co .tgp-co-qty__b:hover:not(:disabled){ background: var(--soft) !important; }
/* off at min / stock limit: just a pale sign — beats the theme's grey .scheme_default button[disabled] fill */
body .tgp-co .tgp-co-qty__b:disabled{ background: none !important; opacity: .3; cursor: not-allowed !important; }
.tgp-co-qty .quantity{ margin: 0 !important; display: block; position: static; width: auto; }
.tgp-co-qty .quantity > *:not(input.qty):not(label){ display: none !important; } /* theme up/down arrows */
body .tgp-co .tgp-co-qty input.qty{ width: 38px !important; height: 38px !important; min-height: 0; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
	text-align: center; font: 700 15px var(--M) !important; color: var(--dk) !important; -moz-appearance: textfield; appearance: textfield; border-radius: 0 !important; }
.tgp-co-qty input.qty::-webkit-outer-spin-button, .tgp-co-qty input.qty::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.tgp-co-qty.is-single .tgp-co-qty__b{ display: none; }
.tgp-co-qty.is-single{ padding: 0 6px; }
.tgp-co .tgp-co-qty__max{ margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--mu); }
.tgp-co .tgp-co-qty__max[hidden]{ display: none; }
.tgp-co__more{ display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: 18px 0 0; font-size: 14px; color: var(--mu); }
.tgp-co__more .tgp-co-i{ width: 16px; height: 16px; }
.tgp-co__more a{ font-weight: 700; color: var(--dk) !important; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- summary card (cart + checkout) ---------- */
.tgp-co-sum{ background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
body .tgp-co .tgp-co-sum__title{ margin: 0 0 12px !important; padding: 0 !important; font: 800 19px/1.25 var(--M) !important; color: var(--dk) !important; }
.tgp-co .cart-collaterals{ width: 100%; float: none; }
.tgp-co .cart-collaterals .cart_totals{ width: 100%; float: none; }
.tgp-co .cross-sells{ display: none; }
body .tgp-co table.tgp-co-tot, body .tgp-co table.tgp-co-rev{ width: 100% !important; margin: 0 0 16px !important; border: 0 !important; border-collapse: collapse; background: none; table-layout: auto !important; }
body .tgp-co .tgp-co-tot th, body .tgp-co .tgp-co-rev tfoot th{ text-align: left !important; }
body .tgp-co .tgp-co-tot th, body .tgp-co .tgp-co-tot td, body .tgp-co .tgp-co-rev tfoot th, body .tgp-co .tgp-co-rev tfoot td{
	padding: 7px 0 !important; border: 0 !important; background: none !important; vertical-align: top; font: 400 14px/1.4 var(--O) !important; color: var(--mu) !important; text-transform: none !important; letter-spacing: 0 !important; width: auto; }
body .tgp-co .tgp-co-tot td, body .tgp-co .tgp-co-rev tfoot td{ text-align: right !important; color: var(--dk) !important; font-weight: 600 !important; white-space: nowrap; }
body .tgp-co .tgp-co-tot .tgp-co-tot__ship td{ font-weight: 400 !important; color: var(--mu) !important; white-space: normal; }
body .tgp-co tr.order-total th, body .tgp-co tr.order-total td{ padding-top: 14px !important; border-top: 1px solid var(--ln) !important; color: var(--dk) !important; vertical-align: baseline; }
body .tgp-co tr.order-total th{ font: 700 16px var(--M) !important; }
body .tgp-co tr.order-total td strong, body .tgp-co tr.order-total td .amount{ font: 800 26px var(--M) !important; color: var(--dk) !important; }
/* 2026-11-29: summary column is 390 px — a 4-digit total at 26 px + a long tyre name (CONTISPORTCONTACT) pushed the table 23 px past the card. 22 px fits; long words break only as a last resort (5-digit totals). */
body .tgp-co .tgp-co-sum tr.order-total td strong, body .tgp-co .tgp-co-sum tr.order-total td .amount{ font-size: 22px !important; }
.tgp-co-sum .tgp-co-rev__name, .tgp-co-sum .tgp-co-item__meta{ overflow-wrap: anywhere; }
body .tgp-co tr.tgp-co-tax th, body .tgp-co tr.tgp-co-tax td{ padding-top: 0 !important; font-size: 12.5px !important; color: var(--mu2) !important; font-weight: 400 !important; }
body .tgp-co tr.tgp-co-tax td .amount{ font: inherit !important; color: inherit !important; }
body .tgp-co tr.cart-discount td, body .tgp-co tr.cart-discount td .amount{ color: var(--gr) !important; }
body .tgp-co tr.cart-discount a.woocommerce-remove-coupon{ font-size: 12px; color: var(--mu) !important; margin-left: 4px; }
body .tgp-co tr.tgp-eta-split td{ padding: 0 0 8px !important; text-align: left; white-space: normal; font-weight: 400 !important; }
/* cart page: whole order here (EU items), same look as the EU pill of the lines (2026-11-30) */
html body .tgp-co .tgp-co-sum table.shop_table tr.tgp-eta-all td{ text-align: left !important; padding: 8px 0 !important; border: 0 !important; }
.tgp-co .tgp-eta-all__p{ display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--blbg); color: var(--bltx); font: 600 13px/1.4 var(--O); }
.tgp-co .tgp-eta-all__p .tgp-co-i{ flex: none; width: 16px; height: 16px; margin-top: 1px; }
body .tgp-co tr.tgp-eta-split td span{ display: block; padding: 8px 10px; border-radius: 8px; background: var(--blbg); color: var(--bltx); font-size: 12.5px; line-height: 1.45; }
.tgp-co .wc-proceed-to-checkout{ padding: 0; margin: 0; }
.tgp-co-sum__safe{ display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0 !important; font-size: 12.5px; color: var(--mu); text-align: center; }
.tgp-co-sum__safe .tgp-co-i{ width: 15px; height: 15px; }
.tgp-co .blockUI.blockOverlay{ border-radius: 14px; }

/* coupon (cart) */
.tgp-co-coupon{ padding: 0 6px; }
body .tgp-co .tgp-co-coupon__toggle{ display: inline-flex; align-items: center; gap: 7px; padding: 4px 0 !important; margin: 0; border: 0 !important; background: none !important; box-shadow: none !important;
	font: 600 13.5px var(--O) !important; color: var(--dk) !important; text-decoration: underline; text-underline-offset: 3px; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; min-height: 0; height: auto; }
.tgp-co-coupon__toggle .tgp-co-i{ width: 16px; height: 16px; }
.tgp-co-coupon__box{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
body .tgp-co .tgp-co-coupon__box input{ flex: 1; min-width: 0; height: 44px; padding: 0 14px !important; border: 1px solid var(--ln2) !important; border-radius: 10px !important; background: #fff !important; font: 400 14px var(--O) !important; text-transform: none !important; }
body .tgp-co .tgp-co-coupon__apply{ height: 44px; padding: 0 18px !important; border: 0 !important; border-radius: 22px !important; background: var(--dk) !important; color: #fff !important; font: 700 12px var(--M) !important; letter-spacing: .5px !important; text-transform: uppercase !important; cursor: pointer; min-height: 0; }
.tgp-co .coupon-error-notice{ flex-basis: 100%; margin: 0; font-size: 13px; color: var(--rd); }

/* empty cart */
.tgp-co-empty{ max-width: 560px; margin: 24px auto 0; padding: 40px 28px; text-align: center; background: #fff; border: 1px solid #e8e8e8; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tgp-co-empty__ico{ width: 72px; height: 72px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--mu); }
.tgp-co-empty__ico .tgp-co-i{ width: 34px; height: 34px; stroke-width: 1.4; }
body .tgp-co .tgp-co-empty__t{ margin: 6px 0 0; font: 800 22px var(--M); color: var(--dk); background: none !important; padding: 0 !important; border: 0 !important; }
body .tgp-co .tgp-co-empty__t::before{ display: none !important; }
.tgp-co-empty__s{ margin: 0; color: var(--mu); }
.tgp-co-empty__links{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 14px; }
body .tgp-co .tgp-co-empty__links .tgp-co-btn{ min-height: 48px; padding: 10px 12px !important; font-size: 13px !important; }

/* ---------- checkout ---------- */
.tgp-co__pre:empty{ display: none; }
.tgp-co__pre{ max-width: calc(100% - 418px); }
.tgp-co__pre form.checkout_coupon, .tgp-co__pre form.woocommerce-form-login{ margin: 0 0 14px !important; padding: 16px !important; border: 1px solid #e8e8e8 !important; border-radius: 12px; background: #fff; }
.tgp-co__pre form.checkout_coupon{ display: flex; flex-wrap: wrap; gap: 8px; }
.tgp-co__pre form.checkout_coupon p{ margin: 0; }
.tgp-co__pre form.checkout_coupon p:first-child{ flex-basis: 100%; font-size: 13.5px; color: var(--mu); }
.tgp-co__pre form.checkout_coupon .form-row-first{ flex: 1; float: none; width: auto; }
.tgp-co__pre form.checkout_coupon .form-row-last{ float: none; width: auto; }
.tgp-co__main{ counter-reset: tgpsec; display: flex; flex-direction: column; gap: 16px; }
.tgp-co__secs{ display: flex; flex-direction: column; gap: 16px; }
/* login in "1 Kontaktandmed" (CheckoutUi::login_box, 2026-11-30) */
.tgp-co-login{ margin: -4px 0 14px; }
.tgp-co-login__line{ margin: 0 !important; font-size: 13.5px; color: var(--mu); }
body .tgp-co .tgp-co-login__toggle{ display: inline; padding: 0 !important; margin: 0; border: 0 !important; background: none !important; box-shadow: none !important; min-height: 0; height: auto; color: var(--dk) !important; font: 700 13.5px var(--O) !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tgp-co-login__box{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 12px; padding: 16px; border: 1px solid #e8e8e8; border-radius: 16px; background: #fafafa; }
.tgp-co-login__box[hidden]{ display: none; }
.tgp-co-login__help{ grid-column: 1 / -1; margin: 0 !important; font-size: 13px; color: var(--mu); }
body .tgp-co .tgp-co-login__box .form-row{ float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.tgp-co-login__row{ grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
body .tgp-co label.tgp-co-login__remember{ display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-size: 13.5px !important; font-weight: 400 !important; }
.tgp-co-login__lost{ font-size: 13px; color: var(--mu) !important; text-decoration: underline; }
.tgp-co-login__err{ grid-column: 1 / -1; margin: 0 !important; padding: 8px 12px; border-radius: 10px; background: #fdecea; color: var(--rd); font-size: 13px; line-height: 1.4; }
.tgp-co-login__err[hidden]{ display: none; }
body .tgp-co .tgp-co-login__go{ grid-column: 1 / -1; justify-self: start; height: 44px; min-height: 0; padding: 0 22px !important; border: 0 !important; border-radius: 22px !important; background: var(--dk) !important; color: #fff !important; font: 700 12px var(--M) !important; letter-spacing: .5px !important; text-transform: uppercase !important; cursor: pointer; }
body .tgp-co .tgp-co-login__go:disabled{ opacity: .6; }
/* coupon in the checkout summary (CheckoutUi::coupon_box) */
.tgp-co-coupon--co{ margin-top: 4px; padding: 10px 0 0; border-top: 1px solid var(--ln); }
html body .tgp-co .tgp-co-sum--co .tgp-co-sum__body table.shop_table{ margin-bottom: 0 !important; } /* coupon link right under the total */
.tgp-co-coupon--co .tgp-co-coupon__box[hidden], .tgp-co-coupon__msg[hidden]{ display: none; }
.tgp-co-coupon__msg{ flex-basis: 100%; margin: 0 !important; font-size: 13px; line-height: 1.4; color: var(--rd); }
.tgp-co-coupon__msg.is-ok{ color: var(--grtx); }
html body .tgp-co .tgp-co__secs::before, html body .tgp-co .tgp-co__secs::after{ display: none !important; content: none !important; } /* clearfix pseudo-elements of the theme are flex items too */
.tgp-co__secs > wc-order-attribution-inputs{ display: none; } /* hidden inputs only (still submitted); took a flex gap = empty strip above "1 Kontaktandmed" */
.tgp-co .tgp-co__sec, .tgp-co .tgp-fit{ margin: 0; padding: 24px 26px 26px; background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; color: var(--dk); }
body .tgp-co .tgp-co__h, body .tgp-co .tgp-fit__title{ display: flex; align-items: center; gap: 12px; margin: 0 0 18px !important; padding: 0 !important; font: 800 19px/1.25 var(--M) !important; color: var(--dk) !important; border: 0 !important; }
body .tgp-co .tgp-co__h::before, body .tgp-co .tgp-fit__title::before{ counter-increment: tgpsec; content: counter(tgpsec); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--dk); color: #fff;
	display: flex; align-items: center; justify-content: center; font: 700 14px var(--M); }

/* fields */
.tgp-co .tgp-co-fields{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
body .tgp-co .tgp-co-fields .form-row{ grid-column: 1 / -1; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body .tgp-co .tgp-co-fields .form-row-first, body .tgp-co .tgp-co-fields .form-row-last{ grid-column: span 1; }
.tgp-co .tgp-co-fields .form-row[style*="display: none"], .tgp-co .tgp-co-fields .form-row.hidden{ display: none !important; }
body .tgp-co .form-row label{ display: block; margin: 0 0 5px !important; font: 600 13px/1.35 var(--O) !important; color: var(--dk) !important; text-transform: none !important; letter-spacing: 0 !important; }
body .tgp-co .form-row label .optional{ font-weight: 400; color: var(--mu2); }
body .tgp-co .form-row .required{ color: var(--rd) !important; text-decoration: none; border: 0; }
body .tgp-co .form-row input.input-text, body .tgp-co .form-row select, body .tgp-co .form-row textarea,
body .tgp-co .select2-container .select2-selection--single{
	width: 100% !important; height: 48px; min-height: 48px; padding: 0 14px !important; margin: 0 !important; border: 1px solid var(--ln2) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important;
	font: 400 15px/46px var(--O) !important; color: var(--dk) !important; text-transform: none !important; letter-spacing: 0 !important; }
body .tgp-co .form-row textarea{ height: 88px; min-height: 88px; padding: 10px 14px !important; line-height: 1.45 !important; resize: vertical; }
body .tgp-co .form-row input.input-text::placeholder, body .tgp-co .form-row textarea::placeholder{ color: #a3a3a3 !important; text-transform: none !important; opacity: 1; font-size: 14px; }
body .tgp-co .form-row input.input-text:focus, body .tgp-co .form-row textarea:focus, body .tgp-co .form-row select:focus{ border-color: var(--dk) !important; outline: none; box-shadow: 0 0 0 3px rgba(253, 184, 19, .35) !important; }
body .tgp-co .select2-container .select2-selection--single .select2-selection__rendered{ padding: 0 !important; line-height: 46px !important; color: var(--dk) !important; font: 400 15px/46px var(--O) !important; text-transform: none !important; }
body .tgp-co .select2-container .select2-selection--single .select2-selection__arrow{ height: 46px !important; right: 8px !important; }
/* country dropdown (selectWoo list is appended to <body>): our look instead of WP blue; search only for >8 countries (checkout.js) — 2026-11-30 */
body.tgp-co-page .select2-container--open .select2-dropdown{ margin-top: 4px; border: 1px solid var(--ln2, #dcdcdc) !important; border-radius: 12px !important; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
body.tgp-co-page .select2-container--open .select2-dropdown--above{ margin-top: -4px; }
body.tgp-co-page .select2-search--dropdown{ padding: 8px 8px 4px; }
body.tgp-co-page .select2-search--dropdown .select2-search__field{ height: 44px; padding: 0 12px !important; border: 1px solid var(--ln2, #dcdcdc) !important; border-radius: 10px !important; font: 400 16px var(--O) !important; }
body.tgp-co-page .select2-results__options{ padding: 4px !important; }
body.tgp-co-page .select2-container .select2-results__option{ display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin: 0; padding: 10px 12px !important; border-radius: 8px; background: none !important; color: var(--dk, #1a1a1a) !important; font: 400 15px/1.3 var(--O) !important; text-transform: none !important; }
body.tgp-co-page .select2-container .select2-results__option--highlighted, body.tgp-co-page .select2-container .select2-results__option--highlighted[aria-selected]{ background: var(--soft, #f3f3f3) !important; color: var(--dk, #1a1a1a) !important; }
body.tgp-co-page .select2-container .select2-results__option[aria-selected="true"]{ font-weight: 700 !important; }
body.tgp-co-page .select2-container .select2-results__option[aria-selected="true"]::after{ content: ''; flex: none; width: 12px; height: 7px; margin-top: -3px; border: solid var(--dk, #1a1a1a); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (max-width: 600px){ body.tgp-co-page .select2-container .select2-results__option{ font-size: 16px !important; } }
body .tgp-co .form-row.woocommerce-invalid input.input-text, body .tgp-co .form-row.woocommerce-invalid select{ border-color: var(--rd) !important; }
body .tgp-co .checkout-inline-error-message{ margin: 4px 0 0; font-size: 12.5px; color: var(--rd); }
/* checkboxes (company, create account, other address, terms) */
body .tgp-co label.checkbox, body .tgp-co .form-row label.woocommerce-form__label-for-checkbox, body .tgp-co #billing_is_company_field label{
	display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; font: 600 14px/1.4 var(--O) !important; color: var(--dk) !important; cursor: pointer; text-transform: none !important; }
body .tgp-co input[type="checkbox"]{ display: inline-block !important; width: 20px; height: 20px; margin: 0 !important; flex: none; accent-color: var(--dk); position: static; opacity: 1; cursor: pointer; }
body .tgp-co label.checkbox::before, body .tgp-co label.checkbox::after{ display: none !important; } /* theme draws its own box on the label; the native one is used */
body .tgp-co #billing_is_company_field{ padding-top: 2px !important; }
body .tgp-co #billing_is_company_field .optional{ display: none; }
.tgp-co .woocommerce-account-fields{ margin-top: 14px; }
.tgp-co .woocommerce-account-fields .form-row{ margin: 0; padding: 0; }

/* shipping method cards */
.tgp-co-fields--country{ margin-bottom: 16px; }
.tgp-co-ship__list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body .tgp-co .tgp-co-ship__card{ position: relative; display: block !important; width: 100%; margin: 0 !important; padding: 0 !important; list-style: none; }
.tgp-co .tgp-co-ship__card::before{ display: none !important; }
.tgp-co .tgp-co-ship__card > input{ position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
body .tgp-co .tgp-co-ship__card > label{ display: grid !important; width: 100% !important; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0 !important; padding: 14px 16px !important;
	border: 1.5px solid var(--ln2); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; text-transform: none !important; font: 400 14px/1.4 var(--O) !important; color: var(--dk) !important; }
body .tgp-co .tgp-co-ship__card > label::before, body .tgp-co .tgp-co-ship__card > label::after{ display: none !important; }
.tgp-co .tgp-co-ship__card > label:hover{ border-color: #9a9a9a; }
.tgp-co .tgp-co-ship__card.is-on > label, .tgp-co .tgp-co-ship__card:has(> input:checked) > label{ border-color: var(--dk); background: #fffcf2; box-shadow: inset 0 0 0 1px var(--dk); }
.tgp-co .tgp-co-ship__card > input:focus-visible + label{ outline: 2px solid var(--y); outline-offset: 2px; }
.tgp-co-ship__ico{ width: 44px; height: 44px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--dk); }
.tgp-co-ship__card.is-on .tgp-co-ship__ico, .tgp-co-ship__card:has(> input:checked) .tgp-co-ship__ico{ background: var(--y); }
.tgp-co-ship__ico .tgp-co-i{ width: 22px; height: 22px; }
.tgp-co-ship__txt{ min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tgp-co-ship__txt b{ font: 700 15px/1.3 var(--M); }
.tgp-co-ship__sub{ font-size: 12.5px; color: var(--mu); }
.tgp-co .tgp-co-ship__txt .tgp-ship-eta{ display: block; margin: 0; font-size: 13px; color: var(--grtx); font-weight: 600; }
.tgp-co-ship__price{ font: 800 16px var(--M); white-space: nowrap; }
.tgp-co-ship__none{ margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--ntbg); color: var(--nttx); font-size: 14px; }
.tgp-co-addr{ margin-top: 20px; }
.tgp-co-addr__t{ margin: 0 0 10px !important; font: 700 14px var(--M); }
.tgp-co--noaddr .tgp-co-addr, .tgp-co--noaddr .tgp-co-other{ display: none !important; }
.tgp-co-addr .tgp-co-addr__t--co{ display: none; }
.tgp-co--coaddr .tgp-co-addr .tgp-co-addr__t--co{ display: block; }
.tgp-co--coaddr .tgp-co-addr .tgp-co-addr__t--ship, .tgp-co--coaddr .tgp-co-other{ display: none !important; }
.tgp-co-addr__hint{ margin: -6px 0 10px !important; font-size: 13px; color: #6b6b6b; }
body .tgp-co #ship-to-different-address{ margin: 18px 0 0 !important; padding: 0 !important; font: inherit !important; border: 0 !important; }
.tgp-co .shipping_address{ margin-top: 14px; }
.tgp-co-notes{ margin-top: 16px; }
.tgp-co-notes__d summary{ display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 600 13.5px var(--O); color: var(--dk); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.tgp-co-notes__d summary::-webkit-details-marker{ display: none; }
.tgp-co-notes__d summary::before{ content: "+"; font: 700 16px/1 var(--M); text-decoration: none; }
.tgp-co-notes__d[open] summary::before{ content: "–"; }
.tgp-co-notes__d .tgp-co-fields{ margin-top: 10px; }
body .tgp-co-notes__d #order_comments_field > label{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* fitting time (fitting.css) inside the section look */
.tgp-co .tgp-fit__modes label{ padding: 12px 14px; border: 1.5px solid var(--ln2); border-radius: 12px; }
.tgp-co .tgp-fit__modes label:has(input:checked){ border-color: var(--dk); background: #fffcf2; }
.tgp-co .tgp-fit button.tgp-fit__day, .tgp-co .tgp-fit button.tgp-fit__slot{ border-radius: 10px !important; }
.tgp-co .tgp-fit__car input{ max-width: none; }

/* payment */
body .tgp-co #payment{ background: none !important; border-radius: 0; padding: 0; margin: 0; }
body .tgp-co #payment ul.payment_methods{ margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 10px; }
body .tgp-co #payment ul.payment_methods li.wc_payment_method{ margin: 0 !important; padding: 14px 16px !important; border: 1.5px solid var(--dk); border-radius: 12px; background: #fff; list-style: none; line-height: 1.4; }
body .tgp-co #payment ul.payment_methods li.wc_payment_method::before{ display: none; }
body .tgp-co #payment ul.payment_methods li > label{ display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font: 700 15px var(--M) !important; color: var(--dk) !important; text-transform: none !important; }
body .tgp-co #payment ul.payment_methods li img{ max-height: 22px; width: auto; margin: 0 !important; }
body .tgp-co #payment div.payment_box{ margin: 12px 0 0 !important; padding: 14px !important; background: var(--soft) !important; border-radius: 10px; color: var(--mu) !important; font-size: 13px !important; }
body .tgp-co #payment div.payment_box::before{ display: none !important; }
/* Paysera Smart Checkout 1.8 ("methods on our checkout", 2026-12-01). Its React markup is not ours: only stable
   paysera-* / radio-control* classes and structure, never the generated css-xxxx classes.
   Country select = our selects (48 px, 10 px radius), one line: "label: Country ▾"; a label too long for the phone runs
   under the country, which has a white fade on its left edge (the label is a bare text node — no ellipsis possible). */
body .tgp-co #payment div.payment_box.payment_method_paysera-smart-checkout-woocommerce{ padding: 12px !important; }
.tgp-co .paysera-payment-country-select__wrapper{ display: flex !important; align-items: center; gap: 6px; }
.tgp-co .paysera-payment-country-select__wrapper > div:first-child{ flex: 1 1 auto; min-width: 0; }
body .tgp-co .paysera-payment-country-select__control{
	display: grid !important; grid-template-columns: minmax(0, max-content) auto 1fr auto; align-items: center; flex-wrap: nowrap !important;
	height: 48px; min-height: 48px !important; padding: 0 0 0 14px !important; border: 1px solid var(--ln2) !important; border-radius: 10px !important;
	background: #fff !important; box-shadow: none !important; overflow: hidden; white-space: nowrap; cursor: pointer;
	font: 400 14px/1.2 var(--O) !important; color: var(--mu) !important; text-transform: none !important; letter-spacing: 0 !important; }
body .tgp-co .paysera-payment-country-select__control:focus-within{ border-color: var(--dk) !important; box-shadow: 0 0 0 3px rgba(253, 184, 19, .35) !important; }
body .tgp-co .paysera-payment-country-select__control > div:first-of-type{ position: relative; z-index: 1; padding: 0 4px 0 22px !important; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 18px) !important; overflow: hidden; }
body .tgp-co .paysera-payment-country-select__control > div:first-of-type > div{ color: var(--dk) !important; font: 600 15px/1.2 var(--O) !important; margin: 0 !important; }
body .tgp-co .paysera-payment-country-select__control > div:last-child{ grid-column: 4; position: relative; z-index: 1; height: 100%; background: #fff; align-items: center; }
body .tgp-co .paysera-payment-country-select__control > div:last-child > span{ display: none !important; }
body .tgp-co .paysera-payment-country-select__control > div:last-child > div{ padding: 0 12px 0 4px !important; color: var(--dk) !important; }
body .tgp-co .paysera-payment-country-select__control > div:last-child svg{ width: 18px; height: 18px; }
.tgp-co .paysera-information-hint__trigger{ flex: none; }
/* its dropdown (react-select menu inside the select box): as our country dropdown; the keyboard/hover highlight stays Paysera's */
body .tgp-co .paysera-payment-country-select [class*="-menu"]{ margin-top: 4px !important; border: 1px solid var(--ln2) !important; border-radius: 12px !important; overflow: hidden; background: #fff !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .12) !important; z-index: 30 !important; }
body .tgp-co .paysera-payment-country-select [role="option"]{ display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 14px !important; color: var(--dk) !important; font: 400 15px/1.3 var(--O) !important; cursor: pointer; }
body .tgp-co .paysera-payment-country-select [role="option"][aria-selected="true"]{ background: var(--soft) !important; font-weight: 700 !important; }
body .tgp-co .paysera-payment-country-select [role="option"][aria-selected="true"]::after{ content: ''; flex: none; width: 12px; height: 7px; margin-top: -3px; border: solid var(--dk); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
/* bank list: compact cards (were ~74 px each), a dark frame + light yellow on the chosen one (as the fitting modes), 2 columns from 601 px */
.tgp-co div.radio-control.paysera-radio-control{ display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
body .tgp-co label.radio-control__option.paysera-radio-control{
	display: flex !important; align-items: center; gap: 10px; min-height: 56px; height: auto; margin: 0 !important; padding: 8px 12px !important;
	border: 1px solid var(--ln) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; cursor: pointer; }
body .tgp-co label.radio-control__option.paysera-radio-control:hover{ border-color: var(--ln2) !important; }
body .tgp-co label.radio-control__option.radio-control__option-checked{ border-color: var(--dk) !important; box-shadow: inset 0 0 0 1px var(--dk) !important; background: #fffcf2 !important; }
body .tgp-co label.radio-control__option.radio-control__option-checked::after{ content: ''; flex: none; width: 12px; height: 7px; margin: -3px 4px 0 auto; border: solid var(--dk); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.tgp-co label.radio-control__option .radio-control__option-layout{ flex: 1 1 auto; min-width: 0; }
.tgp-co label.radio-control__option .radio-control__option-group{ display: flex; align-items: center; gap: 12px; min-width: 0; }
.tgp-co label.radio-control__option .radio-control__label-group{ min-width: 0; }
body .tgp-co label.radio-control__option .radio-control__icon{ flex: none; width: 38px !important; height: 38px !important; margin: 0 !important; }
body .tgp-co label.radio-control__option .radio-control__icon img{ width: 24px !important; height: 24px !important; max-height: none; object-fit: contain; }
body .tgp-co label.radio-control__option .radio-control__label{ display: block; font: 600 15px/1.25 var(--O) !important; color: var(--dk) !important; text-transform: none !important; white-space: normal !important; overflow-wrap: anywhere; }
@media (min-width: 601px){ .tgp-co div.radio-control.paysera-radio-control{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } }
body .tgp-co #payment div.form-row.place-order{ margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.tgp-co .woocommerce-terms-and-conditions-wrapper{ font-size: 13px; color: var(--mu); }
.tgp-co .woocommerce-privacy-policy-text p, .tgp-co .woocommerce-terms-and-conditions-wrapper p{ margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: var(--mu); }
body .tgp-co .woocommerce-terms-and-conditions-wrapper .form-row{ margin: 6px 0 0 !important; padding: 14px 16px !important; border-radius: 12px; background: var(--soft); }
/* all checkout checkboxes one style (2026-11-30): the theme kept 21px on the label for its own (hidden) box and the flex
   label pushed the "*" to the right. Now: box at the left edge, text wraps next to it, "*" right after the text. */
html body .tgp-co label.checkbox, html body .tgp-co .form-row label.woocommerce-form__label-for-checkbox, html body .tgp-co #billing_is_company_field label{ display: block !important; position: relative; padding: 0 0 0 30px !important; min-height: 20px; }
html body .tgp-co label.checkbox > input[type="checkbox"], html body .tgp-co .form-row label.woocommerce-form__label-for-checkbox > input[type="checkbox"], html body .tgp-co #billing_is_company_field label > input[type="checkbox"]{ position: absolute !important; left: 0; top: 0; }
html body .tgp-co label.checkbox abbr.required, html body .tgp-co label.woocommerce-form__label-for-checkbox abbr.required{ margin: 0 0 0 2px !important; position: static !important; float: none !important; }
body .tgp-co .woocommerce-terms-and-conditions-wrapper label.checkbox{ font-weight: 600 !important; font-size: 14px !important; }
.tgp-co .woocommerce-terms-and-conditions-wrapper a{ text-decoration: underline; font-weight: 600; }
.tgp-co .woocommerce-terms-and-conditions{ max-height: 240px; overflow: auto; padding: 12px; border: 1px solid var(--ln); border-radius: 10px; margin-bottom: 8px; font-size: 13px; }

/* checkout summary (review table) */
.tgp-co-sum--co{ padding: 20px; }
body .tgp-co .tgp-co-sum__bar{ display: none; }
.tgp-co .tgp-co-rev tbody td{ padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid #f0f0f0 !important; background: none !important; vertical-align: top; }
.tgp-co .tgp-co-rev tbody tr:last-child td{ border-bottom: 0 !important; }
.tgp-co .tgp-co-rev td.product-name{ width: 100%; padding-right: 10px !important; }
.tgp-co .tgp-co-rev td.product-total{ text-align: right; white-space: nowrap; font: 700 14px var(--M) !important; color: var(--dk) !important; }
.tgp-co-rev__item{ display: flex; gap: 12px; align-items: flex-start; }
.tgp-co-rev__img{ position: relative; flex: none; width: 58px; height: 58px; border: 1px solid #ededed; border-radius: 10px; background: #fff; }
body .tgp-co .tgp-co-rev__img img{ width: 100% !important; height: 100% !important; object-fit: contain; padding: 4px; margin: 0 !important; border-radius: 10px; }
body .tgp-co .tgp-co-rev__img .product-quantity{ position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--dk); color: #fff;
	display: flex; align-items: center; justify-content: center; font: 700 11px var(--M) !important; white-space: nowrap; }
.tgp-co-rev__txt{ min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tgp-co-rev__name{ font: 600 13px/1.35 var(--M); color: var(--dk); }
.tgp-co-rev .tgp-co-eta{ font-size: 11.5px; padding: 3px 8px 3px 6px; }
.tgp-co-rev .tgp-co-eta .tgp-co-i{ width: 12px; height: 12px; }

body .tgp-co .tgp-co-rev__ship th small{ display: block; font-size: 12px; color: var(--mu2); }
/* owner 2026-11-26: итоги прилипали к вертикальной рамке темы — без боковых рамок, одинаковые отступы */
body .tgp-co table.tgp-co-rev, body .tgp-co table.tgp-co-rev tbody, body .tgp-co table.tgp-co-rev tfoot, body .tgp-co table.tgp-co-rev tr{ border: 0 !important; background: none !important; }
body .tgp-co .tgp-co-rev tfoot th, body .tgp-co .tgp-co-rev tfoot td{ border: 0 !important; box-shadow: inset 0 -1px 0 #f0f0f0; background: none !important; padding: 12px 0 !important; vertical-align: middle; }
body .tgp-co .tgp-co-rev tfoot th{ text-align: left; }
body .tgp-co .tgp-co-rev tfoot td{ text-align: right; }
body .tgp-co .tgp-co-rev tfoot tr:last-child th, body .tgp-co .tgp-co-rev tfoot tr:last-child td{ box-shadow: none; }
body .tgp-co .tgp-co-rev tfoot tr:first-child th, body .tgp-co .tgp-co-rev tfoot tr:first-child td{ box-shadow: inset 0 1px 0 var(--ln), inset 0 -1px 0 #f0f0f0; }

/* ---------- thank you ---------- */
.tgp-co--done{ max-width: 980px; }
.tgp-co-done__box{ display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 16px; background: var(--grbg); color: var(--grtx); margin-bottom: 16px; }
.tgp-co-done__box.is-failed{ background: #fdeceb; color: #8a1f17; flex-direction: column; }
.tgp-co-done__ok{ flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gr); color: #fff; display: flex; align-items: center; justify-content: center; }
.tgp-co-done__ok .tgp-co-i{ width: 24px; height: 24px; stroke-width: 2.4; }
body .tgp-co .tgp-co-done__box .woocommerce-notice, body .tgp-co .tgp-co-done__box .woocommerce-thankyou-order-received{ margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font: 700 16px/1.4 var(--M) !important; color: inherit !important; }
.tgp-co-done__mail{ margin: 4px 0 0 !important; font-size: 14px; }
.tgp-co-done__box .woocommerce-thankyou-order-failed-actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.tgp-co-done__box .woocommerce-thankyou-order-failed-actions .tgp-co-btn{ width: auto; min-height: 48px; }
body .tgp-co ul.tgp-co-done__ov{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px !important; padding: 0 !important; list-style: none; border: 0; }
body .tgp-co ul.tgp-co-done__ov li{ margin: 0 !important; padding: 14px 16px !important; border: 1px solid #e8e8e8 !important; border-radius: 12px; background: #fff; font-size: 12.5px !important; color: var(--mu); text-transform: none !important; float: none !important; display: flex; flex-direction: column; gap: 3px; }
body .tgp-co ul.tgp-co-done__ov li::before{ display: none; }
body .tgp-co ul.tgp-co-done__ov li strong{ font: 700 15px/1.3 var(--M) !important; color: var(--dk); text-transform: none; }
.tgp-co-done__more{ display: flex; flex-direction: column; gap: 16px; }
.tgp-co-done__more > section, .tgp-co-done__more .woocommerce-order-details, .tgp-co-done__more .woocommerce-customer-details{ padding: 22px 24px; border: 1px solid #e8e8e8; border-radius: 16px; background: #fff; margin: 0 !important; }
body .tgp-co-done__more h2{ margin: 0 0 12px !important; font: 800 19px/1.25 var(--M) !important; color: var(--dk) !important; text-transform: none !important; }
body .tgp-co-done__more table.shop_table{ width: 100%; border: 0 !important; margin: 0; border-collapse: collapse; }
body .tgp-co-done__more table.shop_table th, body .tgp-co-done__more table.shop_table td{ padding: 8px 0 !important; border: 0 !important; border-bottom: 1px solid #f0f0f0 !important; background: none !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; }
body .tgp-co-done__more table.shop_table td:last-child{ text-align: right; }
.tgp-co-done__more .tgp-order-eta{ margin: 12px 0 0; font-size: 14px; }
.tgp-co-done__more address{ font-style: normal; line-height: 1.6; border: 0 !important; padding: 0 !important; }
.tgp-co-done__more .woocommerce-columns{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tgp-co-done__more .woocommerce-columns::before, .tgp-co-done__more .woocommerce-columns::after{ display: none; }
.tgp-co-done__more .woocommerce-column{ width: auto !important; float: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1199px){
	.tgp-co__grid{ grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
	.tgp-co__pre{ max-width: calc(100% - 362px); }
}
@media (max-width: 991px){
	.tgp-co{ padding-top: 18px; padding-bottom: 48px; }
	.tgp-co__grid{ grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "main"; gap: 16px; }
	.tgp-co--cart .tgp-co__grid{ grid-template-areas: "main" "side"; }
	.tgp-co__side{ position: static; }
	.tgp-co__pre{ max-width: none; }
	body .tgp-co__title h1{ font-size: 26px !important; }
	.tgp-co__steps li + li::before{ min-width: 10px; margin: 0 6px; }
	/* checkout summary: a bar with the total, opens the list */
	.tgp-co-sum--co{ padding: 0; box-shadow: none; overflow: hidden; }
	body .tgp-co .tgp-co-sum__bar{ display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 56px; box-sizing: border-box; height: auto !important; line-height: 1.3 !important; margin: 0; padding: 12px 16px !important; border: 0 !important;
		border-radius: 0 !important; background: #fff !important; color: var(--dk) !important; box-shadow: none !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font: 700 14px var(--M) !important; text-align: left; }
	/* one row: [chevron] title (wraps on long RU/FI) … total (never wraps), 2026-11-30 */
	.tgp-co-sum__bi{ flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft, #f3f3f3); }
	.tgp-co-sum__bi .tgp-co-i{ width: 12px; height: 12px; transition: transform .2s; }
	.tgp-co-sum--co.is-open .tgp-co-sum__bi .tgp-co-i{ transform: rotate(180deg); }
	.tgp-co-sum__bt{ flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
	.tgp-co-sum__bt small{ font: 400 12.5px var(--O); color: var(--mu); white-space: nowrap; }
	.tgp-co-sum__bv{ flex: none; display: flex; align-items: center; white-space: nowrap; }
	.tgp-co-sum__bv b, .tgp-co-sum__bv .amount{ font: 800 17px var(--M); }
	.tgp-co-sum--co #order_review_heading, .tgp-co-sum--co .tgp-co-sum__body, .tgp-co-sum--co .tgp-co-sum__safe, .tgp-co-sum--co .tgp-co-coupon--co{ display: none; }
	.tgp-co-sum--co.is-open .tgp-co-coupon--co{ display: block; margin: 0 16px 14px; }
	.tgp-co-sum--co.is-open .tgp-co-sum__body{ display: block; padding: 0 16px 6px; border-top: 1px solid var(--ln); }
}
@media (max-width: 600px){
	.tgp-co{ font-size: 14px; }
	body .tgp-co__title h1{ font-size: 24px !important; }
	/* steps on phones (owner 2026-11-30): three equal columns, circles on one line, equal connectors (each li draws the
	   line from the previous circle to its own), labels under the circles, 12px, one line, short "Vormistamine" */
	.tgp-co__steps{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
	.tgp-co__steps li, .tgp-co__steps li + li{ position: relative; display: flex; justify-content: center; min-width: 0; font: 500 12px/1.25 var(--M); }
	.tgp-co__steps li + li::before{ position: absolute; top: 11px; left: calc(-50% + 20px); right: calc(50% + 20px); width: auto; min-width: 0; height: 2px; margin: 0; }
	.tgp-co__steps li > a, .tgp-co__steps li > span{ position: relative; z-index: 1; flex-direction: column; gap: 6px; white-space: nowrap; min-width: 0; max-width: 100%; }
	.tgp-co__steps b{ width: 24px; height: 24px; font-size: 11px; }
	.tgp-co__steps em{ max-width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: center; }
	.tgp-co__steps li.is-on em{ font-weight: 800; }
	.tgp-co__steps em .tgp-co__sl{ display: none; }
	.tgp-co__steps em .tgp-co__ss{ display: inline; }
	.tgp-co__back{ margin-left: 0; }
	.tgp-co .tgp-co-item{ grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.tgp-co-item__img{ width: 72px; height: 72px; }
	.tgp-co-item__name{ font-size: 13.5px; }
	.tgp-co-item__row{ flex-wrap: wrap; gap: 8px 12px; }
	.tgp-co-item__unit{ order: 3; flex-basis: 100%; }
	.tgp-co-item__sum{ margin-left: auto; font-size: 17px; }
	.tgp-co .tgp-co__sec, .tgp-co .tgp-fit{ padding: 18px 16px 20px; border-radius: 14px; }
	body .tgp-co .tgp-co__h, body .tgp-co .tgp-fit__title{ font-size: 17px !important; margin-bottom: 14px !important; }
	body .tgp-co .tgp-co-ship__card > label{ grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 12px !important; }
	.tgp-co-ship__ico{ width: 36px; height: 36px; }
	.tgp-co-ship__ico .tgp-co-i{ width: 19px; height: 19px; }
	.tgp-co-ship__txt b{ font-size: 14px; }
	.tgp-co-ship__price{ font-size: 14.5px; }
	.tgp-co-sum{ padding: 18px 16px 16px; }
	.tgp-co-login__box{ grid-template-columns: 1fr; padding: 14px; }
	.tgp-co-sum.tgp-co-sum--co{ padding: 0; } /* the bar has its own padding (was doubled: total cut off on the right) */
	body .tgp-co .tgp-co-sum__bar{ padding: 12px 14px !important; gap: 8px; }
	.tgp-co-sum__bv b, .tgp-co-sum__bv .amount{ font-size: 16px; }
	.tgp-co-empty{ padding: 30px 18px; }
	.tgp-co-empty__links{ grid-template-columns: 1fr; }
	body .tgp-co ul.tgp-co-done__ov{ grid-template-columns: 1fr 1fr; }
	.tgp-co-done__more .woocommerce-columns{ grid-template-columns: 1fr; }
	.tgp-co-done__box{ padding: 18px 16px; }
	.tgp-co-done__more > section, .tgp-co-done__more .woocommerce-order-details, .tgp-co-done__more .woocommerce-customer-details{ padding: 18px 16px; }
}
body .tgp-co .woocommerce-message:focus, body .tgp-co .woocommerce-info:focus, body .tgp-co .woocommerce-error:focus{ outline: none; }
/* theme / WooCommerce rules with higher specificity (__styles.css: .cart-collaterals .cart_totals table td{left!important}) */
html body .tgp-co .tgp-co-sum table.shop_table td{ text-align: right !important; }
html body .tgp-co .tgp-co-sum table.shop_table th{ text-align: left !important; border: 0 !important; }
html body .tgp-co .tgp-co-sum table.shop_table tr.tgp-eta-split td{ text-align: left !important; }
html body .tgp-co .tgp-co-sum table.shop_table tr.order-total th, html body .tgp-co .tgp-co-sum table.shop_table tr.order-total td{ border-top: 1px solid var(--ln) !important; }
html body .tgp-co .wc-proceed-to-checkout{ display: block !important; width: 100% !important; float: none !important; }
html body .tgp-co .wc-proceed-to-checkout a.checkout-button{ display: flex !important; width: 100% !important; margin: 0 !important; }
html body .tgp-co .tgp-co-sum table.tgp-co-rev tbody td.product-name{ text-align: left !important; }
body .tgp-co .tgp-fit__car input{ width: 100% !important; height: 48px; padding: 0 14px !important; border: 1px solid var(--ln2) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; font: 400 15px var(--O) !important; text-transform: none !important; }
body .tgp-co .tgp-fit__car label{ font: 600 13px var(--O); }
body .tgp-co ul.tgp-co-done__ov::before, body .tgp-co ul.tgp-co-done__ov::after{ display: none !important; content: none !important; }
html body .tgp-co ul.tgp-co-done__ov li strong, html body .tgp-co ul.tgp-co-done__ov li strong .amount{ color: var(--dk) !important; }
html body .tgp-co-done__more table.shop_table{ border: 0 !important; }
html body .tgp-co-done__more table.shop_table tfoot th{ text-align: left !important; font-weight: 600 !important; border-left: 0 !important; }
html body .tgp-co-done__more table.shop_table th, html body .tgp-co-done__more table.shop_table td{ border-left: 0 !important; border-right: 0 !important; }
html body .tgp-co-done__more table.shop_table thead th{ font: 700 13px var(--O) !important; color: var(--mu) !important; }
body .tgp-co-done__more .order-actions-button, body .tgp-co-done__more td .button{ padding: 8px 14px !important; font-size: 11px !important; min-height: 0 !important; height: auto !important; margin: 2px 0 2px 6px !important; }
.tgp-co-done__more ul.wc-item-meta{ margin: 4px 0 0 !important; padding: 0 !important; list-style: none; font-size: 13px; color: var(--mu); }
.tgp-co-done__more ul.wc-item-meta li{ margin: 0; padding: 0; list-style: none; }
.tgp-co-done__more ul.wc-item-meta li strong, .tgp-co-done__more ul.wc-item-meta li p{ display: inline; margin: 0; float: none; }
/* "Paigaldamine kohapeal" is paid on site by the price list (owner 2026-12-01, class-fitting-fee.php) */
.tgp-co .tgp-co-ship__txt .tgp-co-ship__fee{ display: block; font-size: 12.5px; line-height: 1.4; color: var(--nttx); }
.tgp-co .tgp-co-ship__fee a, body .tgp-co tr.tgp-co-fee td a{ color: inherit !important; text-decoration: underline !important; font-weight: 600; white-space: nowrap; }
html body .tgp-co table.shop_table tr.tgp-co-fee td{ padding: 0 0 8px !important; text-align: left !important; white-space: normal; font-weight: 400 !important; box-shadow: none !important; }
body .tgp-co tr.tgp-co-fee td span{ display: block; padding: 8px 10px; border-radius: 8px; background: var(--ntbg); color: var(--nttx); font-size: 12.5px; line-height: 1.45; }
.tgp-co-done__more .tgp-order-fee{ margin: 8px 0 0; font-size: 14px; }
.tgp-co-done__more .tgp-order-fee a{ text-decoration: underline; }
@media (max-width: 600px){
	.tgp-co-ship__price.tgp-co-ship__price--fee{ white-space: normal; max-width: 6.2em; text-align: right; line-height: 1.25; font-size: 13.5px; }
}
/* Inbank (via Paysera) pay-later card: own card in the sidebar under the summary (cart: under the coupon link), class-inbank-note.php, 2026-12-01 */
.tgp-inb-slot:empty{ display: none; }
.tgp-co .tgp-inb{ display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 18px; background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; color: var(--dk); font: 400 13px/1.45 var(--O); text-align: left; }
.tgp-co .tgp-inb__logo{ flex: none; box-sizing: content-box; width: 44px; height: 16px; margin: 0; padding: 9px 8px; border: 0; border-radius: 10px; background: #f4f0fd; box-shadow: none; }
.tgp-co .tgp-inb__txt{ min-width: 0; }
.tgp-co .tgp-inb__txt b{ display: block; font: 700 13.5px/1.35 var(--M); color: var(--dk); }
.tgp-co .tgp-inb__txt span{ display: block; margin-top: 2px; color: var(--mu); font-size: 12.5px; }
@media (max-width: 600px){
	.tgp-co .tgp-inb{ gap: 12px; padding: 12px 14px; border-radius: 14px; }
	.tgp-co .tgp-inb__logo{ width: 38px; height: 14px; padding: 8px 6px; }
}
