/* The ball is sized from the actual button, including responsive changes. */
.ttcg-cart-has-pokeball,
[data-ttcg-pokeball-control="1"] {
  --ttcg-ball-size:34px;
  position:relative!important;
  overflow:visible!important;
  isolation:isolate;
  box-sizing:border-box!important;
  padding-left:calc(var(--ttcg-ball-size) + 10px)!important;
}
.ttcg-cart-has-pokeball::before,
[data-ttcg-pokeball-control="1"]::before {
  content:""!important;
  position:absolute!important;
  inset:auto!important;
  left:2px!important;
  top:50%!important;
  width:var(--ttcg-ball-size)!important;
  height:var(--ttcg-ball-size)!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  transform:translateY(-50%)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='gW' cx='32' cy='44' r='28' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23ececec'/%3E%3C/radialGradient%3E%3CradialGradient id='gR' cx='22' cy='18' r='28' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ff7b73'/%3E%3Cstop offset='0.45' stop-color='%23ef2d27'/%3E%3Cstop offset='1' stop-color='%23a50c0c'/%3E%3C/radialGradient%3E%3CradialGradient id='btn' cx='32' cy='32' r='9' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2399989e'/%3E%3Cstop offset='0.6' stop-color='%2366666d'/%3E%3Cstop offset='1' stop-color='%2337373d'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='32' r='29.4' fill='url(%23gW)' stroke='%23161618' stroke-width='3.2'/%3E%3Cpath d='M2.9 32A29.1 29.1 0 0 1 61.1 32H2.9Z' fill='url(%23gR)'/%3E%3Cpath d='M32 5.6c-10.4 0-18 5.7-22.6 14.3 6.2-7 14.8-9.3 23.5-9.3 8.7 0 16.5 2.8 22.1 8-4.7-8-12.4-13-23-13Z' fill='%23ffb1a8' opacity='.55'/%3E%3Cpath d='M9.5 20.4c4.2-6.5 10-10.6 17.1-12.6 1.8-.5 3.9.5 4.6 2.2.5 1.2.3 2.6-.4 3.7-1.2 1.8-3.1 1.6-5 2.1-5.1 1.4-9.9 4.6-13.9 9.1-1.2 1.4-3.3 1.6-4.8.5-1.5-1.2-1.9-3.3-.9-5Z' fill='%23ffffff' opacity='.5'/%3E%3Cpath d='M4 32h56' stroke='%23161618' stroke-width='3.4'/%3E%3Ccircle cx='32' cy='32' r='10.2' fill='%23f7f7f7' stroke='%23161618' stroke-width='3.1'/%3E%3Ccircle cx='32' cy='32' r='5.6' fill='url(%23btn)' stroke='%23222227' stroke-width='1.4'/%3E%3Ccircle cx='30.5' cy='30.3' r='1.8' fill='%23ffffff' opacity='.45'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  filter:none!important;
  box-shadow:none!important;
  pointer-events:none!important;
  z-index:0!important;
}
.ttcg-cart-has-pokeball svg[data-ttcg-pokeball="1"],
[data-ttcg-pokeball-control="1"] svg[data-ttcg-pokeball="1"] {
  display:none!important;
}

/* Reserve the strip's space on the first frame, before the React header mounts. */
body:has(#ttcg-promo-bar:not([hidden])) #thunder-original-root header,
[data-ttcg-header-fit="1"] {
  top:calc(var(--ttcg-header-admin,0px) + var(--ttcg-header-offset,58px))!important;
}
#ttcg-promo-bar {z-index:80!important;}
/* The cart keeps its full viewport overlay and close button above the strip. */
body:has([role="dialog"][aria-label="Kosár"]) #ttcg-promo-bar,
body.ttcg-cf-cart-open #ttcg-promo-bar {
  visibility:hidden!important;
  pointer-events:none!important;
}
#ttcg-promo-bar [data-carrier="gls"] {
  background:#061ab1!important;
}
#ttcg-promo-bar [data-carrier="gls"] .ttcg-pb-logo-fallback {
  color:#fff!important;
}
.ttcg-cf-legacy-goal {display:none!important;}
.ttcg-cf-shipping-goal {
  flex:0 0 auto;
  margin:12px 20px;
  padding:13px 14px;
  border:1px solid #ffda2460;
  border-radius:14px;
  background:linear-gradient(120deg,#171719,#242014);
  color:#fff;
  font:500 13px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ttcg-cf-shipping-goal[hidden],.ttcg-cf-shipping-goal [hidden] {display:none!important;}
.ttcg-cf-shipping-goal strong {display:block;color:#ffe16a;font-size:14px;}
.ttcg-cf-shipping-goal small {display:block;margin-top:7px;color:#e3e0d8;font-size:11px;}
.ttcg-cf-shipping-track {height:8px;overflow:hidden;border-radius:999px;background:#ffffff20;margin-top:10px;}
.ttcg-cf-shipping-fill {height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#ff4652,#ffda24);transition:width .2s ease;}
.ttcg-cf-shipping-goal[data-complete="1"] .ttcg-cf-shipping-fill {background:#ffda24;}
@media(prefers-reduced-motion:reduce) {.ttcg-cf-shipping-fill {transition:none;}}
/* Checkout: the existing, live engine panel belongs to the right-hand column. */
body.woocommerce-checkout .ttcg-pe-mount:not([data-ttcg-checkout-goal]) {display:none!important;}
body.woocommerce-checkout .ttcg-pe-mount[data-ttcg-checkout-goal] {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  margin:0 0 20px;
}
body.woocommerce-checkout .ttcg-pe-mount[data-ttcg-checkout-goal] .ttcg-pe-panel {
  width:100%;
  max-width:100%;
  margin:0;
}
body.woocommerce-checkout .ttcg-pe-mount[data-ttcg-checkout-goal] .ttcg-pe-goal-line {
  align-items:flex-start;
}
body.woocommerce-checkout .ttcg-pe-mount[data-ttcg-checkout-goal] .ttcg-pe-goal-line strong {
  min-width:0;
  overflow-wrap:anywhere;
}
