/* TB spatial experience 0.2.5. Native DOM and commerce remain authoritative.
   Home: Anton 400; Inter Variable; 5vw gutter; paper/ink; power-out arrival. */
@font-face { font-family:'Inter Variable';src:url('./fonts/inter-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap; }
@font-face { font-family:Anton;src:url('./fonts/anton-latin-400.woff2') format('woff2');font-weight:400;font-display:block; }
body.tb-storefront-commerce {
  --tb-ink:#0a0a0b;--tb-paper:#ece8e1;--tb-surface:#151517;
  --tb-line:rgba(11,11,13,.24);--tb-muted:rgba(11,11,13,.6);
  --tb-gutter:5vw;--tb-ease:cubic-bezier(.215,.61,.355,1);
  --tb-display:Anton,'Arial Narrow',Impact,sans-serif;
  --tb-text:'Inter Variable',system-ui,-apple-system,'Segoe UI',sans-serif;
  margin:0;background:var(--tb-paper);color:#0b0b0d;
  font:400 16px/1.6 var(--tb-text);letter-spacing:-.1px;-webkit-font-smoothing:antialiased;
}
body.tb-storefront-commerce :where(button,input,select,textarea) { font-family:var(--tb-text); }
body.tb-storefront-commerce :where(a,button,input,select,textarea,summary):focus-visible { outline:2px solid currentColor;outline-offset:4px; }
body.tb-storefront-commerce :where(a,button) { -webkit-tap-highlight-color:transparent; }
body.tb-storefront-commerce :where(button,.button,.wp-element-button) { min-height:44px; }
body.tb-storefront-commerce :where(button,.button,.wp-element-button,a) { transition:translate .3s var(--tb-ease),scale .3s var(--tb-ease),background .3s,color .3s; }
body.tb-storefront-commerce :where(button,.button,.wp-element-button):active:not(:disabled) { scale:.975;translate:0 1px; }
body.tb-storefront-commerce a:active { translate:0 1px; }

/* Shared chrome. Native responsive dialog continues to own focus and closing. */
body.tb-storefront-commerce .wp-site-blocks>header { position:sticky;top:0;z-index:100;margin:0;background:var(--tb-ink);color:#fff;border-bottom:1px solid rgba(255,255,255,.28); }
body.admin-bar.tb-storefront-commerce .wp-site-blocks>header { top:32px; }
body.tb-storefront-commerce .wp-site-blocks>header>.wp-block-group,
body.tb-storefront-commerce .wp-site-blocks>header>.wp-block-group>.wp-block-group { padding:0!important; }
body.tb-storefront-commerce .wp-site-blocks>header .wp-block-group.alignwide { max-width:none;width:90%;min-height:72px;margin-inline:auto;padding:0!important;gap:24px;transition:min-height .3s var(--tb-ease); }
body.tb-storefront-commerce .wp-site-blocks>header.tb-chrome-compact .wp-block-group.alignwide { min-height:62px; }
body.tb-storefront-commerce .wp-site-blocks>header .wp-block-image { margin:0; }
body.tb-storefront-commerce .wp-site-blocks>header img[alt='TB Sport'] { display:block;width:108px!important;height:auto;filter:brightness(0) invert(1); }
body.tb-storefront-commerce .wp-block-navigation { font:600 11px/1 var(--tb-text);letter-spacing:.14em;text-transform:uppercase; }
body.tb-storefront-commerce header .wp-block-navigation__container { gap:24px!important; }
body.tb-storefront-commerce header .wp-block-group:not(.alignwide) { gap:20px; }
body.tb-storefront-commerce .wp-block-navigation-item__content { color:inherit;text-decoration:none;display:inline-flex;align-items:center;min-height:44px; }
body.tb-storefront-commerce .wp-block-navigation-item__content:hover { opacity:.65; }
body.tb-storefront-commerce .current-menu-item>a { text-decoration:underline;text-underline-offset:8px; }
body.tb-storefront-commerce .wp-block-woocommerce-customer-account :where(.wc-block-customer-account__link,.wc-block-customer-account__toggle),
body.tb-storefront-commerce .wc-block-mini-cart__button { color:#fff;min-height:44px;border:1px solid rgba(255,255,255,.62);border-radius:999px;padding:0 16px; }
body.tb-storefront-commerce .wc-block-mini-cart__button { width:44px;padding:0;justify-content:center; }
body.tb-storefront-commerce .wc-block-mini-cart__amount { display:none!important; }
body.tb-storefront-commerce .wc-block-mini-cart__badge { background:var(--tb-paper);color:var(--tb-ink); }
body.tb-storefront-commerce .tb-chrome-sentinel { position:absolute;top:48px;width:1px;height:1px;pointer-events:none; }
body.tb-storefront-commerce header .tb-account-redundant { display:none; }
body.tb-storefront-commerce header:has(.wc-block-customer-account__link,.wc-block-customer-account__toggle) .wp-block-navigation-item:has(>a:is([href$='/minha-conta/'],[href$='/account.html'])) { display:none; }
/* The open native dialog has no customer-account block inside it. Keep its
   canonical account link visible there, without duplicating the closed header. */
body.tb-storefront-commerce header .is-menu-open .wp-block-navigation-item:is(.tb-account-redundant,:has(>a:is([href$='/minha-conta/'],[href$='/account.html']))) { display:flex!important; }
@media(min-width:782px) {
  body.tb-storefront-commerce header :is(.wc-block-customer-account__link,.wc-block-customer-account__toggle)[aria-label] .wc-block-customer-account__visual { display:none; }
  body.tb-storefront-commerce header :is(.wc-block-customer-account__link,.wc-block-customer-account__toggle)[aria-label]::after { content:attr(aria-label);font:600 11px/1 var(--tb-text);letter-spacing:.14em;text-transform:uppercase; }
}
body.tb-storefront-commerce header .wp-block-navigation__responsive-container.is-menu-open { background:var(--tb-ink)!important;color:#fff!important;padding:100px var(--tb-gutter) 48px; }
body.tb-storefront-commerce header .is-menu-open .wp-block-navigation__responsive-container-content { align-items:flex-start!important;justify-content:center!important;min-height:calc(100svh - 180px);padding-top:0!important;gap:24px; }
body.tb-storefront-commerce header .is-menu-open .wp-block-navigation__container { align-items:flex-start!important;justify-content:center!important;gap:12px!important;width:100%; }
body.tb-storefront-commerce header .is-menu-open .wp-block-navigation-item__content { font:400 clamp(48px,13vw,80px)/.95 var(--tb-display);letter-spacing:-.1px; }
body.tb-storefront-commerce header .is-menu-open::before { content:'';position:absolute;top:28px;left:var(--tb-gutter);width:122px;height:26px;background:url('../dist/media/tb/brand/identity/TB%20SPORT%20LOGO.png') center/contain no-repeat;filter:brightness(0) invert(1);pointer-events:none; }
body.tb-storefront-commerce header .is-menu-open::after { content:'';position:absolute;bottom:48px;left:var(--tb-gutter);width:32px;height:22px;background:url('../dist/media/tb/brand/identity/TB%20SPORT%20LOGO%20SIMPLE.png') center/contain no-repeat;filter:brightness(0) invert(1);opacity:.62;pointer-events:none; }
body.tb-storefront-commerce header .is-menu-open .wp-block-navigation__responsive-container-close { position:fixed;top:24px;right:var(--tb-gutter);width:44px;height:44px;color:#fff; }
body.tb-storefront-commerce .wp-block-navigation__responsive-container-open { color:#fff;width:44px;height:44px;justify-content:center; }

/* Shop opening: a paper scene, spatial title, native search on its baseline. */
body.tb-storefront-shop main.wp-block-group,
body.single-product.tb-storefront-commerce main.wp-block-group,
body.woocommerce-account.tb-storefront-commerce main { width:90%;max-width:none;margin-inline:auto;padding:36px 0 0!important; }
body.tb-storefront-commerce .wc-block-breadcrumbs { font:600 11px/1.6 var(--tb-text);letter-spacing:.14em;text-transform:uppercase;color:var(--tb-muted);margin-bottom:36px; }
body.tb-storefront-commerce .woocommerce-breadcrumb a { color:inherit; }
body.tb-storefront-shop .wp-block-query-title { margin:0 0 20px;max-width:none;font:400 0/0 var(--tb-display);letter-spacing:-.1px;text-transform:uppercase; }
body.tb-storefront-shop .wp-block-query-title::before { content:'TB SPORT';display:block;margin-bottom:16px;font:600 11px/1 var(--tb-text);letter-spacing:.2em;color:var(--tb-muted); }
/* Native heading text remains Loja. Editorial copy exists at first styled paint,
   independently of JS; failed/missing CSS restores the untouched native heading. */
body.tb-storefront-shop .wp-block-query-title::after { content:'SELEÇÃO';content:'SELEÇÃO' / '';display:block;font:400 clamp(80px,13vw,180px)/.9 var(--tb-display);color:var(--tb-ink);pointer-events:none; }
/* First paint owns the initial entry; IO retains the same re-entry physics.
   Finite animations return to native visible styles even without JS. */
@media(prefers-reduced-motion:no-preference) {
  body.tb-storefront-shop main>.wp-block-query-title { animation:tb-first-opening .58s var(--tb-ease) backwards; }
  body.tb-storefront-shop main>.wp-block-search { animation:tb-first-opening .58s var(--tb-ease) .07s backwards; }
  body.tb-storefront-shop .wc-block-product { --tb-first-x:-18px;--tb-first-y:40px;--tb-first-scale:.97;--tb-first-turn:-.4deg;--tb-first-delay:0ms;--tb-first-distance:1; }
  body.tb-storefront-shop .wc-block-product:nth-child(4n+2) { --tb-first-x:12px; }
  body.tb-storefront-shop .wc-block-product:nth-child(4n+3) { --tb-first-x:-8px; }
  body.tb-storefront-shop .wc-block-product:nth-child(4n) { --tb-first-x:18px; }
  body.tb-storefront-shop .wc-block-product:nth-child(even) { --tb-first-turn:.4deg; }
  body.tb-storefront-shop .wc-block-product:nth-child(3n+2) { --tb-first-y:52px;--tb-first-scale:.98;--tb-first-delay:65ms; }
  body.tb-storefront-shop .wc-block-product:nth-child(3n) { --tb-first-y:32px;--tb-first-scale:.965;--tb-first-delay:130ms; }
  body.tb-storefront-shop .wc-block-components-product-image { animation:tb-first-media .58s var(--tb-ease) var(--tb-first-delay) backwards; }
  body.tb-storefront-shop .wc-block-product .wp-block-post-title { animation:tb-first-title .58s var(--tb-ease) calc(var(--tb-first-delay) + 90ms) backwards; }
  body.tb-storefront-shop .wc-block-product .wp-block-woocommerce-product-price { animation:tb-first-price .48s var(--tb-ease) calc(var(--tb-first-delay) + 140ms) backwards; }
  body.tb-storefront-shop .wc-block-product .wc-block-components-product-button { animation:tb-first-action .32s var(--tb-ease) calc(var(--tb-first-delay) + 220ms) backwards; }
  @media(max-width:781px) {
    body.tb-storefront-shop .wc-block-product { --tb-first-distance:.65;--tb-first-delay:0ms; }
    body.tb-storefront-shop .wc-block-product:nth-child(even) { --tb-first-delay:65ms; }
  }
  @media(min-width:1200px) {
    body.tb-storefront-shop .wc-block-product { --tb-first-delay:0ms; }
    body.tb-storefront-shop .wc-block-product:nth-child(4n+2) { --tb-first-delay:65ms; }
    body.tb-storefront-shop .wc-block-product:nth-child(4n+3) { --tb-first-delay:130ms; }
    body.tb-storefront-shop .wc-block-product:nth-child(4n) { --tb-first-delay:195ms; }
  }
}
@keyframes tb-first-opening { from { opacity:.3;transform:translateY(18px); } to { opacity:1;transform:translateY(0); } }
@keyframes tb-first-media { from { opacity:.2;transform:translate(calc(var(--tb-first-x) * var(--tb-first-distance)),calc(var(--tb-first-y) * var(--tb-first-distance))) scale(var(--tb-first-scale)) rotate(var(--tb-first-turn)); } to { opacity:1;transform:translate(0,0) scale(1) rotate(0deg); } }
@keyframes tb-first-title { from { opacity:.3;transform:translateY(calc(20px * var(--tb-first-distance))); } to { opacity:1;transform:translateY(0); } }
@keyframes tb-first-price { 0% { opacity:.3;transform:translateY(-10px); } 78% { opacity:1;transform:translateY(1.5px); } 100% { opacity:1;transform:translateY(0); } }
@keyframes tb-first-action { from { opacity:.4;transform:translateY(8px); } to { opacity:1;transform:translateY(0); } }
body.tb-storefront-shop .wp-block-search { width:100%;margin:0 0 20px; }
body.tb-storefront-shop .wp-block-search__inside-wrapper { min-height:60px;border:0!important;border-bottom:1px solid var(--tb-ink)!important;padding:0!important;background:none!important;transition:border-color .3s; }
body.tb-storefront-shop .wp-block-search__input { min-width:0;background:none!important;border:0!important;border-radius:0;padding:0!important;font:400 clamp(18px,2vw,28px)/1.4 var(--tb-text);color:var(--tb-ink); }
body.tb-storefront-shop .wp-block-search__button { width:48px;height:48px;padding:0!important;align-self:center;justify-content:center;border:1px solid var(--tb-ink)!important;background:var(--tb-ink)!important;color:#fff;border-radius:999px; }
body.tb-storefront-shop .wp-block-search__inside-wrapper:focus-within { border-bottom-width:2px!important; }
body.tb-storefront-shop main>.wp-block-group.alignwide { max-width:none;width:100%;margin:0 0 20px;padding-block:12px;border-block:1px solid var(--tb-line);gap:12px; }
body.tb-storefront-shop .wc-block-product-results-count .woocommerce-result-count { margin:0;font:600 13px/1.5 var(--tb-text)!important;letter-spacing:.08em;text-transform:uppercase; }
body.tb-storefront-shop .woocommerce-ordering { margin:0; }
body.tb-storefront-shop .woocommerce-ordering select { max-width:100%;min-height:44px;border:0;border-bottom:1px solid var(--tb-ink);border-radius:0;background:transparent;font:600 11px/1.4 var(--tb-text);text-transform:uppercase;letter-spacing:.1em; }
body.tb-storefront-shop .wp-block-woocommerce-product-collection { width:100%;max-width:none;margin:0; }
body.tb-storefront-commerce .wc-block-product-template__responsive.columns-3 { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:64px 24px; }
body.tb-storefront-commerce .wc-block-product { min-width:0;margin:0!important;padding:0 0 20px;display:flex;flex-direction:column;border-bottom:1px solid var(--tb-line);transition:translate .58s var(--tb-ease),border-color .3s; }
body.tb-storefront-commerce .wc-block-components-product-image { position:relative;overflow:hidden;margin:0 0 20px!important;background:var(--tb-paper);border:1px solid var(--tb-line); }
body.tb-storefront-commerce .wc-block-components-product-image a { display:block; }
body.tb-storefront-commerce .wc-block-components-product-image a:focus-visible { outline-offset:-4px; }
body.tb-storefront-commerce .wc-block-components-product-image img { display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:scale .58s var(--tb-ease); }
body.tb-storefront-commerce .wc-block-product>.wp-block-post-title { margin:0 0 8px!important;text-align:left!important;font:600 clamp(17px,1.4vw,21px)/1.3 var(--tb-text)!important;letter-spacing:-.1px;overflow-wrap:anywhere;transition:translate .58s var(--tb-ease); }
body.tb-storefront-commerce .wc-block-product>.wp-block-post-title a { text-decoration:none;color:inherit; }
body.tb-storefront-commerce .wc-block-product .wp-block-woocommerce-product-price { margin:0 0 14px!important;text-align:left!important; }
body.tb-storefront-commerce .wc-block-product .wc-block-components-product-price { font:500 15px/1.4 var(--tb-text)!important;color:inherit;text-align:left!important; }
body.tb-storefront-commerce .wc-block-components-product-button { margin: auto 0 0!important;align-items:flex-start!important; }
body.tb-storefront-commerce .wc-block-components-product-button__button { display:inline-flex;align-items:center;min-height:44px;position:relative;margin:0!important;padding:0 28px 0 0!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--tb-ink)!important;box-shadow:none!important;font:600 11px/1.4 var(--tb-text)!important;letter-spacing:.12em;text-transform:uppercase;text-align:left!important; }
body.tb-storefront-commerce .wc-block-components-product-button__button::after { content:'→';position:absolute;right:0;transition:translate .3s var(--tb-ease); }
body.tb-storefront-commerce .wp-block-query-pagination { margin-top:48px; }
body.tb-storefront-commerce .wp-block-query-pagination a { min-height:44px;display:inline-flex;align-items:center;padding:0 16px; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.tb-storefront-commerce .wc-block-product:hover { translate:0 -6px;border-color:var(--tb-ink); }
  body.tb-storefront-commerce .wc-block-product:hover img { scale:1.03; }
  body.tb-storefront-commerce .wc-block-product:hover .wc-block-components-product-image { translate:0 -2px; }
  body.tb-storefront-commerce .wc-block-product:hover>.wp-block-post-title { translate:0 -2px; }
  body.tb-storefront-commerce .wc-block-components-product-button__button:hover::after { translate:3px 0; }
}
@media(min-width:1000px) {
  body.tb-storefront-shop main.wp-block-group { display:grid;grid-template-columns:1fr 1fr;column-gap:5vw; }
  body.tb-storefront-shop main>* { grid-column:1/-1;min-width:0; }
  body.tb-storefront-shop main>.wp-block-query-title { grid-column:1;grid-row:2; }
  body.tb-storefront-shop main>.wp-block-search { grid-column:2;grid-row:2;align-self:end;margin-bottom:32px; }
}
@media(min-width:1200px) {
  body.tb-storefront-shop .wc-block-product-template__responsive.columns-3 { grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 20px; }
  body.tb-storefront-shop .wc-block-product>.wp-block-post-title { font-size:17px!important; }
}

/* Product scene. Gallery ownership/init, variation forms and actions unchanged. */
body.single-product.tb-storefront-commerce main>.wp-block-columns { max-width:none;width:100%;gap:5vw;align-items:flex-start;margin:0 0 72px; }
body.single-product.tb-storefront-commerce main>.wp-block-columns>.wp-block-column { min-width:0; }
body.single-product.tb-storefront-commerce .wp-block-woocommerce-product-image-gallery { max-width:none;width:100%;border:1px solid var(--tb-line); }
body.single-product.tb-storefront-commerce .woocommerce-product-gallery { width:100%!important;float:none!important;margin:0!important;background:var(--tb-paper); }
body.single-product.tb-storefront-commerce .woocommerce-product-gallery__wrapper img { display:block;width:100%;height:auto; }
body.single-product.tb-storefront-commerce main>.wp-block-columns .wp-block-post-title { font:400 clamp(48px,5vw,76px)/.95 var(--tb-display);text-transform:uppercase;letter-spacing:-.1px;margin:0 0 24px;overflow-wrap:anywhere; }
body.single-product.tb-storefront-commerce main>.wp-block-columns .wc-block-components-product-price { font:500 24px/1.4 var(--tb-text); }
body.single-product.tb-storefront-commerce .wp-block-post-excerpt { color:var(--tb-muted);font:400 16px/1.6 var(--tb-text);margin-block:24px; }
body.single-product.tb-storefront-commerce .wp-block-woocommerce-add-to-cart-form { padding-block:24px;border-block:1px solid var(--tb-line); }
body.single-product.tb-storefront-commerce .variations { width:100%; }
body.single-product.tb-storefront-commerce .variations :where(th,td) { padding:8px 0;text-align:left; }
body.single-product.tb-storefront-commerce .variations select { width:100%;min-height:48px;border:1px solid var(--tb-line);background:transparent;border-radius:0;padding:8px;color:var(--tb-ink); }
body.single-product.tb-storefront-commerce .variations .label { width:80px;vertical-align:middle; }
body.single-product.tb-storefront-commerce .variations label { font:600 12px/1.5 var(--tb-text);letter-spacing:.06em; }
body.single-product.tb-storefront-commerce .variations select:focus-visible { outline:2px solid var(--tb-ink);outline-offset:3px; }
body.single-product.tb-storefront-commerce .variations select:disabled { opacity:.55; }
body.single-product.tb-storefront-commerce .variations_button { display:flex;flex-wrap:wrap;align-items:stretch;gap:12px; }
body.single-product.tb-storefront-commerce .variations_button .quantity { flex:0 0 80px;margin:0; }
body.single-product.tb-storefront-commerce .variations_button .qty { box-sizing:border-box;width:100%;padding:12px;text-align:center;font:500 16px/1.4 var(--tb-text); }
body.single-product.tb-storefront-commerce .variations_button .single_add_to_cart_button { flex:1;min-width:min(100%,180px);margin:0; }
body.single-product.tb-storefront-commerce .single_add_to_cart_button:is(:disabled,.disabled) { opacity:.55; }
body.single-product.tb-storefront-commerce .quantity .qty { min-height:48px;border:1px solid var(--tb-line);background:transparent;max-width:80px; }
body.single-product.tb-storefront-commerce .single_add_to_cart_button,
body.woocommerce-account.tb-storefront-commerce .button { background:var(--tb-ink);color:#fff;border:1px solid var(--tb-ink);border-radius:999px;font:600 12px/1.4 var(--tb-text);letter-spacing:.12em;text-transform:uppercase;padding:14px 24px; }
body.single-product.tb-storefront-commerce .wp-block-woocommerce-product-meta { font-size:12px;color:var(--tb-muted); }
body.single-product.tb-storefront-commerce main>:where(.wp-block-woocommerce-product-details,.wp-block-woocommerce-product-collection) { max-width:none;padding-block:32px;border-top:1px solid var(--tb-line); }
body.single-product.tb-storefront-commerce .wc-block-components-product-image { transition:translate .58s var(--tb-ease); }
body.single-product.tb-storefront-commerce .woocommerce-tabs :where(ul.tabs, .woocommerce-Tabs-panel) { background:transparent;border-radius:0; }
body.single-product.tb-storefront-commerce .woocommerce-tabs ul.tabs li { background:transparent;border:0;border-radius:0;font:600 12px/1.4 var(--tb-text); }
body.single-product.tb-storefront-commerce .woocommerce-tabs .woocommerce-Tabs-panel { padding-block:24px;font:400 16px/1.6 var(--tb-text); }
body.single-product.tb-storefront-commerce .wp-block-heading { font:400 40px/1 var(--tb-display);text-transform:uppercase; }
@media(min-width:1000px) {
  body.single-product.tb-storefront-commerce main>.wp-block-columns>.wp-block-column:first-child { flex:0 0 min(35%,480px)!important; }
  body.single-product.tb-storefront-commerce main>.wp-block-columns>.wp-block-column:last-child { flex:1 1 0%!important;position:sticky;top:100px; }
  body.single-product.tb-storefront-commerce main>.wp-block-columns>.wp-block-column:has(.tb-control-b2b-grid) { position:static; }
}

/* B2B is the same table. Each mobile row becomes one color scene. */
body.tb-storefront-commerce .tb-control-b2b-grid { background:var(--tb-paper);border:0;border-top:1px solid var(--tb-ink);padding:24px 0 0;color:var(--tb-ink);font-family:var(--tb-text); }
body.tb-storefront-commerce .tb-control-b2b-grid__scroll { overflow-x:auto;max-width:100%;overscroll-behavior-inline:contain; }
body.tb-storefront-commerce .tb-control-b2b-grid__table { width:100%;min-width:0;border-collapse:collapse;margin-bottom:24px; }
body.tb-storefront-commerce .tb-control-b2b-grid__table :where(th,td) { background:transparent;border:0;border-bottom:1px solid var(--tb-line);padding:16px 8px; }
body.tb-storefront-commerce .tb-control-b2b-grid__table thead th { font:600 11px/1 var(--tb-text);letter-spacing:.2em;text-transform:uppercase; }
body.tb-storefront-commerce .tb-control-b2b-grid__table tbody th { font:400 28px/1.1 var(--tb-display);text-transform:uppercase;text-align:left;color:var(--tb-ink);word-break:normal;overflow-wrap:normal; }
@media(min-width:1101px) {
  body.tb-storefront-commerce .tb-control-b2b-grid__table { min-width:780px;table-layout:fixed; }
  body.tb-storefront-commerce .tb-control-b2b-grid__table :where(th,td):first-child { width:164px; }
  body.tb-storefront-commerce .tb-control-b2b-grid__table tbody th { position:sticky;left:0;z-index:1;background:var(--tb-paper); }
}
body.tb-storefront-commerce .tb-control-b2b-grid__input-wrap { display:inline-flex;gap:0;border:1px solid var(--tb-line);background:transparent; }
body.tb-storefront-commerce .tb-control-b2b-grid__qty-button,
body.tb-storefront-commerce .tb-control-b2b-grid__input-wrap .tb-control-b2b-grid__input { box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--tb-ink);font:600 16px/1 var(--tb-text); }
body.tb-storefront-commerce .tb-control-b2b-grid__input-wrap .tb-control-b2b-grid__input { border-inline:1px solid var(--tb-line); }
body.tb-storefront-commerce .tb-control-b2b-grid__input-wrap:focus-within { outline:2px solid var(--tb-ink);outline-offset:3px; }
body.tb-storefront-commerce .tb-control-b2b-grid__cell { transition:background .3s,box-shadow .3s; }
body.tb-storefront-commerce .tb-control-b2b-grid__cell.tb-quantity-selected { box-shadow:inset 0 -3px var(--tb-ink); }
body.tb-storefront-commerce .tb-control-b2b-grid__cell.tb-quantity-selected .tb-control-b2b-grid__input { background:var(--tb-ink);color:var(--tb-paper); }
body.tb-storefront-commerce .tb-control-b2b-grid__input--invalid { outline:2px solid currentColor;outline-offset:-2px; }
body.tb-storefront-commerce .tb-control-b2b-grid__unavailable,
body.tb-storefront-commerce .tb-control-b2b-grid__reservation-note { color:var(--tb-muted);opacity:1;font-size:12px;line-height:1.6; }
body.tb-storefront-commerce .tb-control-b2b-grid__unavailable { font-style:normal; }
body.tb-storefront-commerce .tb-control-b2b-grid__cell-message { font-size:12px;line-height:1.5; }
body.tb-storefront-commerce .tb-control-b2b-grid__qty-button:disabled { color:var(--tb-muted);background:transparent; }
body.tb-storefront-commerce .tb-control-b2b-grid__totals { display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;border-top:1px solid var(--tb-ink);padding-top:20px; }
body.tb-storefront-commerce .tb-control-b2b-grid__totals p { margin:0;font:600 11px/1.6 var(--tb-text);letter-spacing:.12em;text-transform:uppercase; }
body.tb-storefront-commerce .tb-control-b2b-grid__totals strong { display:block;font:600 26px/1.3 var(--tb-text);letter-spacing:-.5px;margin-top:8px; }
body.tb-storefront-commerce .tb-control-b2b-grid__submit { max-width:none;width:100%;min-height:48px;margin-top:24px;background:var(--tb-ink);border:1px solid var(--tb-ink);color:#fff;border-radius:999px;font:600 12px/1.4 var(--tb-text);letter-spacing:.12em;padding:14px 20px; }
body.tb-storefront-commerce .tb-control-b2b-grid__submit:disabled { opacity:.55; }
body.tb-storefront-commerce .tb-control-b2b-grid__feedback-actions a { min-height:44px;display:inline-flex;align-items:center; }
@media(max-width:1100px) {
  body.tb-storefront-commerce .tb-control-b2b-grid__scroll { overflow:visible; }
  body.tb-storefront-commerce .tb-control-b2b-grid__table,
  body.tb-storefront-commerce .tb-control-b2b-grid__table tbody { display:block; }
  body.tb-storefront-commerce .tb-control-b2b-grid__table thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  body.tb-storefront-commerce .tb-control-b2b-grid__table tbody tr { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin:0 0 32px;padding:0 0 24px;border:0;border-bottom:1px solid var(--tb-line);border-radius:0; }
  body.tb-storefront-commerce .tb-control-b2b-grid__table tbody th { grid-column:1/-1;display:block;background:transparent;padding:16px 0;border:0;font-size:32px; }
  body.tb-storefront-commerce .tb-control-b2b-grid__table td { display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;gap:12px;min-width:0;padding:0;border:0;text-align:left; }
  body.tb-storefront-commerce .tb-control-b2b-grid__size-label { display:block;font:600 14px/1.2 var(--tb-text);letter-spacing:.12em; }
  body.tb-storefront-commerce .tb-control-b2b-grid__input-wrap { flex:none; }
  body.tb-storefront-commerce .tb-control-b2b-grid__cell-message { text-align:left;flex-basis:auto;max-width:100%; }
}

/* Account/endpoints share a single composition. All links/forms remain native. */
body.woocommerce-account.tb-storefront-commerce main .wp-block-post-title { max-width:5.8ch;font:400 clamp(80px,11vw,160px)/.9 var(--tb-display);letter-spacing:-.1px;text-transform:uppercase;margin:0 0 24px; }
body.woocommerce-account.tb-storefront-commerce main .wp-block-post-title::before { content:'TB SPORT / CONTA';display:block;font:600 11px/1 var(--tb-text);letter-spacing:.2em;margin-bottom:24px;color:var(--tb-muted); }
body.woocommerce-account.tb-storefront-commerce main .alignfull { width:100%;max-width:none;margin-inline:0!important;padding-inline:0!important; }
body.woocommerce-account.tb-storefront-commerce main>.wp-block-group { padding-block:0!important; }
body.woocommerce-account.tb-storefront-commerce main .entry-content { margin-block-start:0!important; }
body.woocommerce-account.tb-storefront-commerce main .woocommerce { max-width:none;width:100%; }
body.woocommerce-account.tb-storefront-commerce .woocommerce:has(.woocommerce-MyAccount-navigation) { display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:5vw; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation,
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-content { float:none;width:100%;min-width:0; }
@media(min-width:1000px) {
  body.woocommerce-account.tb-storefront-commerce main>.wp-block-group:has(.woocommerce-MyAccount-navigation) { display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:32px 5vw;align-items:start; }
  body.woocommerce-account.tb-storefront-commerce main:has(.woocommerce-MyAccount-navigation) .wp-block-post-title { grid-column:1;grid-row:1;margin:0;max-width:none;font-size:clamp(80px,9vw,130px); }
  body.woocommerce-account.tb-storefront-commerce main .entry-content:has(.woocommerce-MyAccount-navigation),
  body.woocommerce-account.tb-storefront-commerce main .woocommerce:has(.woocommerce-MyAccount-navigation) { display:contents; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation { grid-column:1;grid-row:2; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-content { grid-column:2;grid-row:1/span 2;border-top:1px solid var(--tb-line);padding-top:32px; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-content p { max-width:60ch; }
}
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation ul { list-style:none;padding:0;margin:0; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation li { border-top:1px solid var(--tb-line); }
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation a { box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;color:inherit;text-decoration:none;font:600 12px/1.3 var(--tb-text);letter-spacing:.12em;text-transform:uppercase;padding:12px 0; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation a::after { content:'↗';transition:translate .3s var(--tb-ease); }
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation .is-active a { padding-inline:16px;background:var(--tb-ink);color:var(--tb-paper); }
body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation a:hover::after { translate:3px -2px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce :where(h2,h3) { font:400 40px/1 var(--tb-display);letter-spacing:-.1px;text-transform:uppercase;margin:0 0 24px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce :where(form,address,fieldset) { border:0;border-top:1px solid var(--tb-line);border-radius:0;background:transparent;padding:24px 0;margin-top:24px;box-shadow:none; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-form-login { max-width:680px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce label { display:block;font:600 12px/1.6 var(--tb-text);letter-spacing:.08em; }
body.woocommerce-account.tb-storefront-commerce .woocommerce :where(input:not([type='checkbox']):not([type='hidden']),select,textarea) { box-sizing:border-box;max-width:100%;min-height:48px;border:0;border-bottom:1px solid var(--tb-ink);border-radius:0;background:transparent;padding:12px 0;color:inherit;font:400 16px/1.5 var(--tb-text); }
body.woocommerce-account.tb-storefront-commerce .woocommerce :where(.form-row,.woocommerce-Address) { margin-bottom:24px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce .woocommerce-Addresses { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce .woocommerce-Address { float:none;width:100%; }
body.woocommerce-account.tb-storefront-commerce .woocommerce .woocommerce-Addresses::before,
body.woocommerce-account.tb-storefront-commerce .woocommerce .woocommerce-Addresses::after { display:none; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-Address-title { display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;justify-content:space-between; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-Address-title h2 { font-size:28px;line-height:1.15;margin:0; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-Address-title .edit { min-height:44px;display:inline-flex;align-items:center;font:500 13px/1.5 var(--tb-text); }
body.woocommerce-account.tb-storefront-commerce .woocommerce-Address address { font-style:normal;margin-top:12px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce table.shop_table { width:100%;border:0;border-collapse:collapse;border-radius:0;background:none; }
body.woocommerce-account.tb-storefront-commerce .woocommerce table.shop_table :where(th,td) { padding:16px 12px;border:0;border-bottom:1px solid var(--tb-line);text-align:left; }
body.woocommerce-account.tb-storefront-commerce .woocommerce table.shop_table thead { font:600 11px/1.5 var(--tb-text);text-transform:uppercase;letter-spacing:.12em; }
body.woocommerce-account.tb-storefront-commerce :where(.woocommerce-info,.woocommerce-message,.woocommerce-error) { background:transparent;color:var(--tb-ink);border-top:1px solid var(--tb-ink);padding:24px 0 24px 32px;box-shadow:none;font:400 16px/1.6 var(--tb-text); }
body.woocommerce-account.tb-storefront-commerce :where(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before { color:var(--tb-ink);left:0;top:24px; }
body.woocommerce-account.tb-storefront-commerce .woocommerce-info::before { content:'→';font-family:var(--tb-text); }
body.woocommerce-account.tb-storefront-commerce .wc-block-components-notice-banner.is-info { background:transparent;border:0;border-block:1px solid var(--tb-line);border-radius:0;color:var(--tb-ink);padding:20px 0!important;font:400 14px/1.6 var(--tb-text); }
body.woocommerce-account.tb-storefront-commerce .wc-block-components-notice-banner.is-info>svg { background:var(--tb-ink); }
body.woocommerce-account.tb-storefront-commerce .wc-block-components-notice-banner__content { min-width:0;display:flex;flex-direction:column;align-items:flex-start; }
body.woocommerce-account.tb-storefront-commerce .wc-block-components-notice-banner__content .button { float:none!important;order:1;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:100%;padding:10px 16px!important;margin:12px 0 0;white-space:normal;font:600 11px/1.5 var(--tb-text);letter-spacing:.06em; }
body.woocommerce-account.tb-storefront-commerce .woocommerce a.button { text-decoration:none; }
body.woocommerce-account.tb-storefront-commerce :is(.tb-control-account-intro,.tb-control-account-register-info) { background:transparent;border:0;border-top:1px solid var(--tb-line);border-radius:0;padding:24px 0; }

/* Native Woo operational surfaces. No control, state or event is replaced. */
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart__drawer) { font:400 15px/1.6 var(--tb-text);color:var(--tb-ink); }
body.woocommerce-cart.tb-storefront-commerce main .wp-block-post-title { font:400 clamp(56px,8vw,112px)/1 var(--tb-display);text-transform:uppercase;margin-block:0 32px; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-cart-items__row td { border-bottom:1px solid var(--tb-line);padding-block:24px; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-components-product-name { font:600 15px/1.45 var(--tb-text);text-decoration:none;overflow-wrap:anywhere; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-components-product-metadata { font:400 12px/1.6 var(--tb-text); }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-cart-item__prices { font:500 14px/1.5 var(--tb-text);margin-block:8px; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-components-quantity-selector { border:1px solid var(--tb-line);border-radius:0;width:134px;min-height:44px; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-components-quantity-selector :is(input,button) { min-width:44px;min-height:44px;color:var(--tb-ink);font:500 15px/1 var(--tb-text); }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-cart-item__remove-link { min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--tb-muted); }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart__drawer) .wc-block-components-totals-wrapper { border-color:var(--tb-line); }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart__drawer) .wc-block-components-totals-item { padding-block:16px;font-family:var(--tb-text); }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart__drawer) .wc-block-components-totals-footer-item { font-weight:600;font-size:20px; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart__drawer) .wc-block-components-button { box-sizing:border-box;min-height:52px;border-radius:0;padding:16px 20px;font:600 13px/1.5 var(--tb-text);letter-spacing:.04em; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart__drawer) .wc-block-components-button.contained { background:var(--tb-ink);color:var(--tb-paper);border:1px solid var(--tb-ink); }
body.tb-storefront-commerce .wc-block-mini-cart__drawer { background:var(--tb-paper); }
body.tb-storefront-commerce .wc-block-mini-cart__title { display:block;padding-right:52px;font:600 24px/1.3 var(--tb-text);letter-spacing:-.5px; }
body.tb-storefront-commerce .wc-block-components-drawer__close { min-width:44px;min-height:44px;color:var(--tb-ink); }
body.tb-storefront-commerce .wc-block-mini-cart__footer { background:var(--tb-paper);border-top:1px solid var(--tb-line);padding:20px 24px; }
body.tb-storefront-commerce .wc-block-mini-cart__footer-actions { gap:12px; }
body.tb-storefront-commerce .wc-block-mini-cart__footer-cart { background:transparent;color:var(--tb-ink);border:1px solid var(--tb-ink); }
body.tb-storefront-commerce .wc-block-mini-cart-items .wc-block-cart-items__row { grid-template-columns:64px minmax(0,1fr) max-content;gap:12px;padding-block:24px;border-bottom:1px solid var(--tb-line); }
body.tb-storefront-commerce .wc-block-mini-cart-items .wc-block-cart-items__row td { padding:0!important;border:0; }
body.tb-storefront-commerce .wc-block-mini-cart-items .wc-block-cart-item__product { grid-column:2 / 3!important;grid-row:1 / 2;min-width:0;width:auto!important; }
body.tb-storefront-commerce .wc-block-mini-cart-items .wc-block-cart-item__total { grid-column:3 / 4!important;grid-row:1 / 2;justify-content:flex-start; }
body.tb-storefront-commerce :is(.wc-block-cart,.wc-block-mini-cart__drawer) .wc-block-cart-item__quantity { flex-wrap:wrap;gap:8px; }
body.woocommerce-checkout.tb-storefront-commerce main { box-sizing:border-box;width:90%;max-width:1440px;margin-inline:auto;padding-inline:0!important; }
body.woocommerce-checkout.tb-storefront-commerce main .alignwide { width:100%;max-width:none;margin-inline:0; }
body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout { gap:clamp(24px,3vw,48px); }
body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-checkout-step__title { font:600 20px/1.4 var(--tb-text);letter-spacing:-.3px; }
body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-text-input input,
body.woocommerce-checkout.tb-storefront-commerce .wc-blocks-components-select__select { background:transparent;color:var(--tb-ink);border:1px solid var(--tb-line);border-radius:0;min-height:52px;font-family:var(--tb-text); }
body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-text-input label { color:var(--tb-muted);font-family:var(--tb-text); }
body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-text-input input:focus,
body.woocommerce-checkout.tb-storefront-commerce .wc-blocks-components-select__select:focus { border-color:var(--tb-ink);box-shadow:0 0 0 1px var(--tb-ink); }
body.woocommerce-checkout.tb-storefront-commerce :is(.wc-block-components-radio-control-accordion-option,.wc-block-components-address-card,.wc-block-components-order-summary) { border-color:var(--tb-line);border-radius:0;background:transparent; }
body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-color:var(--tb-ink);box-shadow:inset 0 0 0 1px var(--tb-ink); }
body.woocommerce-checkout.tb-storefront-commerce :is(input[type='radio'],input[type='checkbox']) { accent-color:var(--tb-ink); }
body.woocommerce-checkout.tb-storefront-commerce .wp-site-blocks>header .wp-block-site-title a { display:block;width:130px;min-height:44px;font-size:0;background:url('../dist/media/tb/brand/identity/TB%20SPORT%20LOGO.png') left center/contain no-repeat;filter:brightness(0) invert(1); }
@media(min-width:1000px) {
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start; }
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout>.wc-block-components-main,
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout>.wc-block-components-sidebar { width:auto;min-width:0;padding-inline:0; }
}
@media(max-width:999px) {
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout { display:block; }
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout>.wc-block-components-main,
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-components-sidebar-layout>.wc-block-components-sidebar { width:100%;padding-inline:0; }
  body.woocommerce-checkout.tb-storefront-commerce .wc-block-checkout__sidebar { position:static;margin-top:32px; }
}

/* Scene close: Home lockup, existing navigation, persisted owner as utility. */
body.tb-storefront-commerce .wp-site-blocks>footer { margin-top:64px;padding:40px var(--tb-gutter) 24px!important;background:var(--tb-ink);color:#fff;position:relative;overflow:clip;isolation:isolate; }
body.tb-storefront-commerce .wp-site-blocks>footer::before { content:'';display:block;border-top:1px solid rgba(255,255,255,.28);margin-bottom:32px; }
body.tb-storefront-commerce .tb-footer-brand { width:min(48vw,640px);margin-bottom:24px; }
body.tb-storefront-commerce .tb-footer-brand img { width:100%;height:auto;display:block;filter:brightness(0) invert(1); }
body.tb-storefront-commerce footer>.wp-block-group { width:100%;max-width:none;padding:0!important;margin:0!important; }
body.tb-storefront-commerce footer .wp-block-group { align-items:flex-start;justify-content:flex-start;gap:16px; }
body.tb-storefront-commerce footer :where(.wp-block-group,p) { text-align:left!important; }
body.tb-storefront-commerce footer .wp-block-group :where(.wp-block-group,p) { margin-inline:0!important; }
body.tb-storefront-commerce footer .wp-block-spacer { height:12px!important; }
body.tb-storefront-commerce footer .wp-block-site-title { font:600 11px/1.4 var(--tb-text);letter-spacing:.14em;text-transform:uppercase;margin:0;color:rgba(255,255,255,.62); }
body.tb-storefront-commerce footer a { color:inherit; }
body.tb-storefront-commerce .tb-footer-navigation { display:flex;flex-wrap:wrap;gap:24px;margin-bottom:16px;font:600 11px/1 var(--tb-text);letter-spacing:.14em;text-transform:uppercase; }
body.tb-storefront-commerce .tb-footer-navigation a { display:inline-flex;align-items:center;min-height:44px;text-decoration:none; }
body.tb-storefront-commerce footer .wp-block-navigation__container { flex-wrap:wrap!important;gap:24px!important; }
body.tb-storefront-commerce footer :where(p,.wp-block-navigation-item__content) { font:600 11px/1.6 var(--tb-text);letter-spacing:.14em;text-transform:uppercase; }
body.tb-storefront-commerce footer .wp-block-navigation__responsive-container-open { display:none!important; }
body.tb-storefront-commerce footer .wp-block-navigation__responsive-container { display:block!important;position:static;background:none;color:inherit; }

/* Motion is opt-in and transient. No preparation rule conceals any content. */
body.tb-storefront-commerce .tb-continuation-cue { position:fixed;bottom:24px;left:var(--tb-gutter);z-index:90;pointer-events:none;color:var(--tb-ink);background:var(--tb-paper);border:1px solid var(--tb-line);width:28px;height:44px;display:grid;place-items:center;animation:tb-cue .9s var(--tb-ease); }
body.tb-storefront-commerce .tb-continuation-cue::after { content:'↓'; }
@keyframes tb-cue { 0%,100% { opacity:0;translate:0 0; } 35%,70% { opacity:1;translate:0 12px; } }
@media(prefers-reduced-motion:no-preference) {
  body.tb-storefront-commerce footer.tb-closing-active::before { transform-origin:left;animation:tb-close-rule .58s var(--tb-ease); }
  @keyframes tb-close-rule { from { opacity:.25;scale:.75 1; } to { opacity:1;scale:1; } }
  body.tb-storefront-commerce header .is-menu-open::before { animation:tb-menu-brand .58s var(--tb-ease); }
  body.tb-storefront-commerce header .is-menu-open::after { animation:tb-menu-brand .58s var(--tb-ease) .14s backwards; }
  @keyframes tb-menu-brand { from { opacity:.2;translate:0 10px; } to { opacity:1;translate:0 0; } }
}
@media(max-width:781px) {
  body.tb-storefront-commerce { font-size:16px; }
  body.tb-storefront-commerce header .wp-block-group.alignwide { min-height:64px;gap:8px; }
  body.tb-storefront-commerce header .wp-block-group:not(.alignwide) { gap:8px; }
  body.tb-storefront-commerce header img[alt='TB Sport'] { width:90px!important; }
  body.tb-storefront-commerce header .wc-block-customer-account__link { width:44px;padding:0;justify-content:center; }
  body.admin-bar.tb-storefront-commerce .wp-site-blocks>header { top:46px; }
  body.tb-storefront-commerce .wc-block-product-template__responsive.columns-3 { grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 16px; }
  body.single-product.tb-storefront-commerce main>.wp-block-columns { display:block; }
  body.single-product.tb-storefront-commerce main>.wp-block-columns>.wp-block-column { position:static;margin-bottom:32px; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce:has(.woocommerce-MyAccount-navigation) { display:block; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce-MyAccount-navigation { margin-bottom:24px; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce .woocommerce-Addresses { grid-template-columns:1fr; }
  body.tb-storefront-commerce .tb-footer-brand { width:85%;margin-bottom:24px; }
}
@media(max-width:599px) {
  body.admin-bar.tb-storefront-commerce .wp-site-blocks>header { top:0; }
  body.tb-storefront-shop main>.wp-block-group.alignwide { flex-wrap:wrap!important; }
  body.tb-storefront-commerce .wc-block-product-template__responsive.columns-3 { grid-template-columns:minmax(0,1fr);gap:40px; }
  body.tb-storefront-shop .wc-block-product-template__responsive.columns-3 { grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 12px; }
  body.tb-storefront-shop .wc-block-components-product-image { margin-bottom:12px!important; }
  body.tb-storefront-shop .wc-block-product>.wp-block-post-title { font-size:15px!important;line-height:1.35!important;margin-bottom:6px!important; }
  body.tb-storefront-shop .wc-block-product .wc-block-components-product-price { font-size:14px!important; }
  body.tb-storefront-shop .wc-block-product { padding-bottom:12px; }
  body.tb-storefront-shop .wc-block-components-product-button__button { font-size:11px!important;letter-spacing:.08em;padding-right:20px!important; }
  body.woocommerce-account.tb-storefront-commerce .woocommerce table.shop_table_responsive tr { display:block;padding:16px 0;border-bottom:1px solid var(--tb-line); }
  body.woocommerce-account.tb-storefront-commerce .woocommerce table.shop_table_responsive td { background:transparent; }
}
@media(prefers-reduced-motion:reduce) {
  body.tb-storefront-commerce *,body.tb-storefront-commerce *::before,body.tb-storefront-commerce *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
  body.tb-storefront-commerce .tb-continuation-cue { display:none; }
}
