/* Usta layout (T-284): the page skeleton drawn for the theme. Loaded last so it wins over the shared sheets. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] {
  --d-bg: #f2f2f0; --d-surface: #ffffff; --d-ink: #141414; --d-muted: #55554f; --d-line: #d2d2cc; --d-accent: #141414; --d-on-accent: #ffffff; --d-soft: #fff1bf; --d-radius: 4px;
  --d-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif; --d-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --bg: #f2f2f0; --line: #d2d2cc; --radius: 4px;
  background: var(--d-bg); color: var(--d-ink); font-family: var(--d-body); line-height: 1.5;
}
body.sector-shell[data-theme="usta"][data-screen][data-help-id] :is(h1, h2, h3) { font-family: var(--d-display); text-transform: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .brand { font-family: var(--d-display); color: #141414; text-decoration: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head.commerce-head { background: #ffc400; color: #141414; border-bottom: 1px solid var(--d-line); box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .search { border-radius: var(--d-radius); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-actions .cart-link { border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); border-color: var(--d-accent); box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main { max-width: 1264px; margin-inline: auto; padding: 1.5rem 2rem 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-composition { display: flex; flex-direction: column; gap: 3.5rem; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-part { margin: 0; padding: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .te-breadcrumb { font-size: .8rem; color: var(--d-muted); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main :is(.rail, .home-cats, .home-products) > h2 { margin: 0 0 1.25rem; padding: 0; border: 0; font-family: var(--d-display); line-height: 1.15; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-products { margin-top: 3.5rem; }

/* Product card. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem 1rem; height: auto; margin: 0; padding: 0; overflow: visible; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card { position: relative; display: flex; flex-direction: column; gap: .35rem; height: auto; min-height: 0; margin: 0; padding: 8px; border: 2px solid var(--d-ink); border-bottom: 2px solid var(--d-ink); border-radius: var(--d-radius); background: var(--d-surface); box-shadow: none; text-align: left; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { min-width: 0; margin: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { aspect-ratio: 1 / 1; margin-bottom: .35rem; border: 0; border-radius: calc(var(--d-radius) * .6); background: var(--d-soft); overflow: hidden; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-name { min-height: 0; padding: 0; font-family: var(--d-body); font-size: .95rem; font-weight: 600; color: var(--d-ink); text-decoration: none; overflow-wrap: anywhere; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { padding: 0; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--d-ink); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-vat { display: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta { display: grid; grid-template-columns: 1fr; gap: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta .card-buy { display: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta :is(.card-primary, .sold-out) { width: 100%; min-height: 2.75rem; margin: 0; padding: 0 1rem; border: 0; border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); font-size: .85rem; font-weight: 700; text-align: center; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta .sold-out { display: flex; align-items: center; justify-content: center; background: var(--d-soft); color: var(--d-muted); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-add { margin-top: auto; }

/* Category page. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .page-head { margin: 0 0 1.25rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--d-line); border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .result-bar { margin: 0 0 1.25rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .filter-actions .te-btn, body.sector-shell[data-theme="usta"][data-screen][data-help-id] .listing .te-btn { border-radius: var(--d-radius); background: var(--d-accent); border-color: var(--d-accent); color: var(--d-on-accent); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .filter-actions .te-btn-ghost { background: transparent; color: var(--d-ink); border-color: var(--d-line); }
@media (min-width: 841px) {
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .listing { display: flex; flex-direction: row; gap: 1.75rem; align-items: flex-start; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .listing .filter-bar { flex: 0 0 15rem; position: static; width: 15rem; max-width: none; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .listing .results { flex: 1 1 0; min-width: 0; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .listing .desktop-filters form { padding: 1.25rem; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: var(--d-surface); box-shadow: none; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] main .listing ul.grid:not(.list) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Product page. */
@media (min-width: 981px) {
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product { display: flex; flex-direction: row; gap: 2.5rem; align-items: flex-start; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery { flex: 4 1 24rem; min-width: 0; position: static; display: grid; grid-template-columns: minmax(0, 1fr) 4.0rem; gap: .75rem; align-items: start; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery > :not(.gallery-thumbs) { grid-column: 1; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery-thumbs { grid-column: 2; grid-row: 1 / span 4; display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 0; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery-thumbs label, body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery-thumbs img { width: 100%; height: auto; aspect-ratio: 1; border-radius: calc(var(--d-radius) * .6); object-fit: cover; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .buybox { flex: 8 1 21rem; min-width: 0; position: static; }
}
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery-stage { aspect-ratio: 1 / 1; max-height: 40rem; padding: 0; outline: 0; border: 0; border-radius: var(--d-radius); background: var(--d-soft); box-shadow: none; overflow: hidden; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .gallery-stage img { width: 100%; height: 100%; padding: 0; background: transparent; object-fit: cover; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .buybox { display: flex; flex-direction: column; gap: 1rem; padding: 20px; border: 2px solid var(--d-ink); border-radius: var(--d-radius); background: var(--d-surface); box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .buybox > * { margin: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .buybox h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .buy-price { font-family: var(--d-body); font-size: 1.9rem; line-height: 1; font-weight: 700; color: var(--d-ink); font-variant-numeric: tabular-nums; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .buybox form > button { min-height: 3.25rem; border: 0; border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); font-weight: 700; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product .variant-card, body.sector-shell[data-theme="usta"][data-screen][data-help-id] .product-panel { border-radius: var(--d-radius); box-shadow: none; }

/* Cart. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .steps li { border-radius: var(--d-radius); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-layout { display: flex; flex-direction: row; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-layout .cart-content { flex: 3 1 30rem; min-width: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-layout .cart-summary { flex: 2 1 18rem; min-width: 0; padding: 1.5rem; border: 2px solid var(--d-ink); border-radius: var(--d-radius); background: var(--d-surface); box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-heading h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-lines { margin: 0; padding: 0; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: var(--d-surface); overflow: hidden; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-lines > li { margin: 0; padding: 1rem; border: 0; border-bottom: 1px solid var(--d-line); border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-lines > li:last-child { border-bottom: 0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-image, body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-image img { border-radius: calc(var(--d-radius) * .6); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .cart-summary .cart-checkout { min-height: 3.25rem; border: 0; border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); font-weight: 700; }

@media (max-width: 1099px) and (min-width: 841px) {
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] main { padding: 1rem 1rem 0; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-composition { gap: 2.5rem; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .75rem; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { white-space: normal; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { overflow-wrap: anywhere; }
}

/* Home: a black note line over a yellow band with a heavy search, a ruled category board in capitals, a black wholesale block and boxed cards with a yellow call. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] { --d-sari: #ffc400; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .theme-announcement { background: var(--d-ink); color: #fff; font-size: .875rem; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .theme-announcement a { color: inherit; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head.commerce-head { border-bottom: .5rem solid var(--d-sari); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .brand { font-size: 1.9rem; white-space: nowrap; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .search { border: 2px solid var(--d-ink); border-radius: 4px; background: #fff; box-shadow: none; overflow: hidden; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .search input { border: 0; background: transparent; color: var(--d-ink); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .search button { border: 0; border-radius: 0; background: var(--d-ink); color: #fff; font-weight: 700; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head :is(.account-menu-button, .action-label, .header-favorites) { color: var(--d-ink); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .cat-toggle-label { border: 2px solid var(--d-ink); border-radius: 4px; background: transparent; color: var(--d-ink); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-actions .cart-link { border: 0; border-radius: 4px; background: var(--d-ink); color: #fff; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-actions .cart-link .action-label { color: #fff; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-actions .header-cart-count { background: var(--d-sari); color: var(--d-ink); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero { position: relative; min-height: 0; height: auto; margin: 0; box-shadow: none; display: block; padding: 1.75rem; overflow: hidden; border: 0; border-radius: 4px; background: var(--d-ink); color: #fff; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero::before, body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero::after { content: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero > img { display: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero .sector-hero-copy { position: static; inset: auto; width: auto; max-width: none; margin: 0; text-shadow: none; transform: none; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: .6rem 2rem; padding: 0; background: transparent; color: #fff; text-align: left; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero .sector-eyebrow { grid-column: 1; margin: 0; color: var(--d-sari); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero h2 { grid-column: 1; margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.2rem); line-height: 1.1; font-weight: 700; text-transform: uppercase; color: #fff; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero .sector-hero-copy > p:not(.sector-eyebrow) { grid-column: 1; margin: 0; max-width: 60ch; color: #d6d6d0; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero .sector-hero-copy > a { grid-column: 2; grid-row: 1 / span 3; display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; margin: 0; padding: 0 1.75rem; border: 0; border-radius: 4px; background: var(--d-sari); color: var(--d-ink); font-weight: 700; text-decoration: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main :is(.rail, .home-cats, .home-products) > h2 { font-size: 2.1rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.75rem, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 2px solid var(--d-ink); border-left: 2px solid var(--d-ink); background: var(--d-surface); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles > li { grid-column: auto; grid-row: auto; width: auto; height: auto; min-height: 0; aspect-ratio: auto; margin: 0; padding: 0; box-shadow: none; border: 0; border-right: 2px solid var(--d-ink); border-bottom: 2px solid var(--d-ink); border-radius: 0; background: transparent; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles > li > a { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .5rem; width: auto; height: 100%; min-height: 6.5rem; padding: .75rem .875rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--d-ink); font-family: var(--d-display); font-size: 1.15rem; font-weight: 700; line-height: 1.1; overflow-wrap: normal; hyphens: auto; text-align: left; text-transform: uppercase; text-decoration: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles > li > a:hover { background: var(--d-sari); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles :is(.category-icon, img) { order: 2; width: 1.6rem; height: 1.6rem; border-radius: 0; background: transparent; font-size: 1.25rem; object-fit: cover; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles .category-arrow { display: none; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card { border: 1px solid var(--d-line); border-radius: 4px; background: var(--d-surface); }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { border-radius: 4px; background: #ecebe6; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta .card-primary { border: 0; border-radius: 4px; background: var(--d-sari); color: var(--d-ink); font-weight: 700; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta .sold-out { border-radius: 4px; }
@media (max-width: 840px) {
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .site-head .brand { font-size: 1.35rem; white-space: normal; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero { padding: 1.25rem; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero .sector-hero-copy { grid-template-columns: minmax(0, 1fr); }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .sector-hero .sector-hero-copy > a { grid-column: 1; grid-row: auto; justify-self: stretch; margin-top: .4rem; }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sector-shell[data-theme="usta"][data-screen][data-help-id] .home-cats .tiles > li > a { flex-direction: row; align-items: center; min-height: 3.5rem; font-size: 1rem; }
}
/* Buy buttons share one line across a row: the foot takes the spare height, whatever notes a card carries. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-foot { margin-top: auto; }
/* One button, one button's height: no room is kept for the hidden second action. */
body.sector-shell[data-theme="usta"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-cta { grid-template-rows: auto; grid-auto-rows: auto; min-height: 0; height: auto; }
body.sector-shell[data-theme="usta"][data-screen][data-help-id] .card .card-cta-gap { display: none; }
