@view-transition { navigation: auto; }
:root {
	--tbag-bg: #ffffff; --tbag-surface: #f1f5f9; --tbag-ink: #0f172a;
	--tbag-sub: #334155; --tbag-muted: #64748b; --tbag-border: rgba(15,23,42,0.10);
	--tbag-price: #15803d; --tbag-shadow: 0 24px 60px rgba(15,23,42,0.20);
}
html[data-trtl-theme="runway"] {
	--tbag-bg: #141922; --tbag-surface: #1b2230; --tbag-ink: #f8fafc;
	--tbag-sub: #cbd5e1; --tbag-muted: #94a3b8; --tbag-border: rgba(255,255,255,0.10);
	--tbag-price: #4ade80; --tbag-shadow: 0 28px 68px rgba(0,0,0,0.65);
}
.trtl-cart-pop {
	position: fixed; top: 76px; right: 24px; z-index: 999950;
	width: min(430px, calc(100vw - 24px)); max-height: min(80vh, 690px);
	display: flex; flex-direction: column; background: var(--tbag-bg); color: var(--tbag-ink);
	border: 1px solid var(--tbag-border); border-radius: 26px; box-shadow: var(--tbag-shadow); overflow: hidden;
}
.trtl-cart-pop[hidden] { display: none !important; }
.tbag-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 15px; border-bottom: 1px solid var(--tbag-border); }
.tbag-head-left { display: flex; align-items: center; gap: 10px; }
.tbag-title { margin: 0; font-size: 16.5px; font-weight: 800; color: var(--tbag-ink); }
.tbag-count-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--tbag-surface); border: 1px solid var(--tbag-border); font-size: 11.5px; font-weight: 800; color: var(--tbag-muted); }
.tbag-close { all: unset; width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--tbag-muted); cursor: pointer; }
.tbag-close:hover { background: var(--tbag-surface); color: var(--tbag-ink); }
.tbag-body { flex: 1 1 auto; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.tbag-item { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 18px; background: var(--tbag-surface); border: 1px solid var(--tbag-border); align-items: center; }
.tbag-item.is-busy { opacity: 0.45; pointer-events: none; }
.tbag-thumb { width: 66px; height: 66px; border-radius: 14px; background: #ffffff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tbag-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; }
.tbag-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tbag-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tbag-name { font-size: 13.5px; font-weight: 800; line-height: 1.3; color: var(--tbag-ink) !important; text-decoration: none !important; }
.tbag-remove { all: unset; width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--tbag-muted); cursor: pointer; }
.tbag-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tbag-chip { padding: 2px 8px; border-radius: 999px; background: var(--tbag-bg); border: 1px solid var(--tbag-border); font-size: 11px; font-weight: 700; color: var(--tbag-sub); }
.tbag-bot-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.tbag-qty { display: inline-flex; align-items: center; height: 32px; padding: 0 4px; border-radius: 999px; background: var(--tbag-bg); border: 1px solid var(--tbag-border); }
.tbag-qty-btn { all: unset; width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--tbag-ink); cursor: pointer; }
.tbag-qty-val { min-width: 24px; text-align: center; font-size: 13px; font-weight: 800; color: var(--tbag-ink); }
.tbag-line-price { font-size: 14px; font-weight: 800; color: var(--tbag-price); }
.tbag-teaser { padding: 8px 12px; border-radius: 12px; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.30); font-size: 12px; font-weight: 800; color: var(--tbag-price); text-align: center; }
.tbag-foot { padding: 15px 20px 20px; border-top: 1px solid var(--tbag-border); display: flex; flex-direction: column; gap: 12px; }
.tbag-sub-row { display: flex; align-items: baseline; justify-content: space-between; }
.tbag-sub-lbl { font-size: 13px; font-weight: 700; color: var(--tbag-muted); }
.tbag-sub-val { font-size: 18px; font-weight: 800; color: var(--tbag-ink); }
.tbag-go-btn { width: 100% !important; text-decoration: none !important; }
.tbag-empty { padding: 30px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
#trtl-cart-popunder .tbag-close,#trtl-cart-popunder .tbag-remove,#trtl-cart-popunder .tbag-qty-btn{appearance:none;-webkit-appearance:none;min-height:0;min-width:0;padding:0;margin:0;border:0;border-radius:999px;background:transparent;box-shadow:none;color:var(--tbag-ink);line-height:1}
#trtl-cart-popunder .tbag-close{width:34px;height:34px;color:var(--tbag-muted)}#trtl-cart-popunder .tbag-remove{width:26px;height:26px;color:var(--tbag-muted)}#trtl-cart-popunder .tbag-qty-btn{width:28px;height:28px;font-size:16px;font-weight:800}
