/* ConnectSeller shared storefront responsive corrections. Additive to the approved Stitch design. */
:root{--cs-touch-target:40px}
[data-shared-market-header]{max-width:100vw;box-sizing:border-box}
[data-shared-market-header] >div{min-width:0;max-width:100%}
[data-shared-market-header] >div>div{min-width:0}
[data-shared-market-header] input[type=search]{min-width:0;font-size:16px}
[data-shared-market-header] button,[data-shared-market-header] a{touch-action:manipulation}
[data-shared-market-header] nav{min-width:0;scrollbar-width:thin}
[data-connectseller-public-footer] nav,[data-connectseller-public-footer] nav a{min-width:0;overflow-wrap:anywhere}
[data-product-description], [data-product-description] >*, [data-styled-product-description], [data-product-live-sections]{min-width:0;max-width:100%}
[data-product-description] img{max-width:100%;height:auto}
@media(max-width:1100px){
  [data-shared-market-header] >div:nth-child(2)>div{height:auto!important;min-height:64px;flex-wrap:wrap;column-gap:12px;row-gap:8px;padding-top:8px;padding-bottom:8px}
  [data-shared-market-header] >div:nth-child(2)>div>a[aria-label]{min-width:0!important;max-width:calc(100% - 156px);flex-shrink:1}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1{order:3;flex:1 0 100%;width:100%;max-width:none;min-width:0}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-shrink-0:last-child{margin-left:auto;gap:10px;min-width:0}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-shrink-0:last-child>a:first-child>div{display:none}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-shrink-0:last-child>a:last-child>div:last-child{display:none}
  [data-shared-market-header] >div:first-child>div>div:last-child{overflow:hidden;white-space:nowrap;min-width:0}
  [data-shared-market-header] >div:nth-child(3)>div{gap:8px;min-width:0}
  [data-shared-market-header] >div:nth-child(3) nav{flex:1 1 auto;width:0}
  [data-shared-market-header] >div:nth-child(3) nav>a{flex-shrink:0}
  [data-connectseller-market-hero], [data-connectseller-account-panel]{height:auto;min-height:280px}
}
@media(max-width:640px){
  [data-shared-market-header] >div:first-child>div{width:100%;height:26px;min-height:26px;overflow:hidden}
  [data-shared-market-header] >div:first-child>div>div:last-child{display:none}
  [data-shared-market-header] >div:first-child button{max-width:calc(100vw - 32px);overflow:hidden}
  [data-shared-market-header] >div:first-child button>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  [data-shared-market-header] >div:nth-child(2)>div{gap:6px; padding:6px 12px}
  [data-shared-market-header] >div:nth-child(2)>div>a[aria-label]{max-width:calc(100% - 118px);gap:6px}
  [data-shared-market-header] >div:nth-child(2)>div>a[aria-label] .text-headline-md{font-size:clamp(15px,4vw,20px)}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-shrink-0:last-child{gap:6px}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-shrink-0:last-child>a{padding:5px}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1{margin:0;flex-basis:100%}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:first-child{min-width:0}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:first-child>div:first-child{display:none}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:first-child>div.flex-1{min-width:0;padding-left:10px;padding-right:6px}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:first-child button[title="Visual Search"]{display:none}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:first-child button:last-child{padding:0 12px;min-width:42px}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:first-child button:last-child span:last-child{display:none}
  [data-shared-market-header] >div:nth-child(2)>div>div.flex-1>div:nth-child(2){display:none}
  [data-shared-market-header] >div:nth-child(3)>div{padding:0 12px;height:36px}
  [data-shared-market-header] >div:nth-child(3)>div>button{padding:5px 9px}
  [data-shared-market-header] >div:nth-child(3)>div>button>span:last-child{display:none}
  [data-shared-market-header] >div:nth-child(3) nav{gap:14px}
  [data-shared-market-header] >div:nth-child(3) nav>a{font-size:12px}
  [data-connectseller-market-hero]{min-height:0;height:auto!important}
  [data-connectseller-market-hero] .relative.z-10{padding:16px;min-height:260px}
  [data-connectseller-account-panel]{min-height:0;height:auto!important}
  [data-connectseller-public-footer] .grid{min-width:0;gap:12px}
  [data-connectseller-public-footer] nav{min-width:0}
  [data-connectseller-public-footer] nav h4{overflow-wrap:anywhere}
  [data-product-description] [data-description-paragraph-grid],
  [data-product-description] [data-description-card-grid],
  [data-product-description] [data-specification-grid]{columns:1}
  .checkout-steps{gap:5px;font-size:11px}
  .checkout-steps .line{width:15px}
  .checkout-row b{white-space:normal;text-align:right}
  .checkout-item{min-width:0}
  .checkout-item-info{overflow-wrap:anywhere}
  .checkout-columns>*{min-width:0}
}
@media(max-width:360px){
 [data-shared-market-header] >div:nth-child(2)>div>a[aria-label] .text-headline-md{font-size:15px}
 [data-shared-market-header] >div:nth-child(2)>div>div.flex-shrink-0:last-child>a:nth-child(2){display:none}
}
/* Keep long product breadcrumbs and names in an independently scrollable trail. */
@media(max-width:900px){
  main nav[aria-label="Breadcrumb"],
  main > div:first-child > div:first-child > nav:first-child{min-width:0;max-width:100%;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
  main nav[aria-label="Breadcrumb"] > *,main > div:first-child > div:first-child > nav:first-child > *{flex-shrink:0}
}
@media(max-width:640px){
  /* Footer trust/benefit tiles were forcing a 540px document on 360px phones. */
  [data-connectseller-public-footer] >div >div:first-child{grid-template-columns:minmax(0,1fr)!important;gap:8px}
  [data-connectseller-public-footer] >div >div:first-child>div{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
  [data-connectseller-public-footer] >div >div:first-child>div>div{min-width:0;overflow-wrap:anywhere}
  [data-connectseller-public-footer] >div >div:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  [data-connectseller-public-footer] >div >div:nth-child(2) >*{min-width:0}
  [data-connectseller-public-footer] >div >div:last-child{overflow-wrap:anywhere}
}
@media(max-width:900px){
  /* Stitch product PDP uses a bare breadcrumb nav without aria-label. */
  main > div.flex.flex-col > div:first-child nav.flex.items-center.gap-1\\.5,
  main > div.flex.flex-col > div:first-child nav:first-child {
    display:flex;min-width:0;max-width:100%;width:100%;overflow-x:auto;overflow-y:hidden;
    flex-wrap:nowrap;white-space:nowrap;scrollbar-width:thin;
  }
  main > div.flex.flex-col > div:first-child nav:first-child > *{flex:0 0 auto}
}

@media(max-width:900px){
 main nav[data-product-breadcrumb]{display:flex!important;flex:0 1 100%;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;white-space:nowrap;scrollbar-width:thin}
 main nav[data-product-breadcrumb]> *{flex-shrink:0}
}
/* Cart totals must wrap inside a narrow tablet summary rather than widening the page. */
@media(max-width:900px){
 .checkout-columns{grid-template-columns:minmax(0,1fr)!important;max-width:100%}
 .checkout-columns > *, .checkout-summary, .checkout-summary .checkout-row, .checkout-summary .checkout-row>*{min-width:0;max-width:100%}
 .checkout-summary .checkout-row b, .checkout-summary .summary-total{white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:right;min-width:0}
}
/* Mid-size tablets: keep location visible, move account/cart to the main header. */
@media(max-width:1100px){
 [data-shared-market-header] >div:first-child>div>div:last-child{display:none!important}
 [data-shared-market-header] >div:first-child>div>div:first-child{max-width:100%;min-width:0}
 [data-shared-market-header] >div:first-child button{max-width:100%;min-width:0}
 [data-connectseller-public-footer] >div >div:first-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-connectseller-public-footer] >div >div:first-child>div{min-width:0;max-width:100%}
 [data-connectseller-public-footer] >div >div:first-child>div>div{min-width:0;overflow-wrap:anywhere}
}
/* Narrow phones override the tablet trust-grid density. */
@media(max-width:640px){
 [data-connectseller-public-footer] >div >div:first-child{grid-template-columns:minmax(0,1fr)!important}
}
/* Shared floating department navigation. Same live taxonomy as the Stitch category rail. */
[data-shared-market-header] [hidden]{display:none!important}
.cs-header-links-toggle{display:none;align-items:center;gap:5px;padding:5px 10px;color:inherit;font-size:12px;font-weight:700;border-radius:5px;min-height:34px;white-space:nowrap}
.cs-category-popover{position:fixed;left:16px;top:var(--cs-menu-top,148px);z-index:10020;width:min(700px,calc(100vw - 32px));max-height:min(76dvh,calc(100dvh - var(--cs-menu-top,148px) - 12px));background:#fff;border:1px solid #d7dce5;border-radius:12px;box-shadow:0 20px 50px #11233a40;color:#273244;overflow:hidden;display:flex;flex-direction:column}
.cs-category-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 15px;background:#f5f6f8;border-bottom:1px solid #e5e9ef;font-size:14px}
.cs-category-total{display:inline-block;border-radius:100px;background:#ffe6cc;color:#a14400;padding:1px 7px;font-weight:800;font-size:11px}
.cs-category-close,.cs-category-expand{display:flex;align-items:center;justify-content:center;border-radius:6px;color:#59677b;cursor:pointer;min-height:34px;min-width:34px}
.cs-category-close:hover,.cs-category-expand:hover{background:#e9edf4;color:#cf510d}
.cs-category-menu-body{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:9px}
.cs-category-menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:5px 10px}
.cs-category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;border:1px solid #eef0f4;border-radius:7px;background:#fff}
.cs-category-parent{display:flex;align-items:center;gap:8px;min-width:0;padding:9px;line-height:1.3;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.cs-category-parent:hover{color:#c65311;background:#fff7ef}
.cs-category-expand[aria-expanded=true] .material-symbols-outlined{transform:rotate(90deg)}
.cs-category-expand .material-symbols-outlined{transition:transform .15s}
.cs-category-submenu{grid-column:1/-1;min-width:0;border-top:1px solid #f0e9df;background:#fafbfc;padding:9px}
.cs-category-view-all{display:block;font-size:12px;color:#b94c0e;font-weight:750;margin-bottom:8px}
.cs-category-submenu-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.cs-category-submenu-items a{min-width:0;background:#f0f3f7;border-radius:4px;padding:7px;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.cs-category-submenu-items a:hover{background:#ffead6;color:#b84e12}
@media(max-width:1100px){
 [data-shared-market-header] >div:nth-child(3)>div{position:relative}
 [data-shared-market-header] [data-cs-header-links]{display:none!important}
 [data-shared-market-header] [data-cs-header-links][data-cs-links-open]{display:flex!important;position:absolute;top:calc(100% + 3px);left:8px;right:8px;width:auto;height:auto;max-height:min(58dvh,480px);overflow-y:auto;overflow-x:hidden;flex-direction:column;align-items:stretch;gap:1px;padding:7px;background:#fff;border:1px solid #d9dfe7;border-radius:8px;box-shadow:0 14px 30px #0003;z-index:10010;white-space:normal}
 [data-shared-market-header] [data-cs-header-links][data-cs-links-open] a{display:block;padding:10px 12px;min-height:38px;border-radius:5px}
 [data-shared-market-header] [data-cs-header-links][data-cs-links-open] a:hover{background:#f4f6f8}
 [data-shared-market-header] .cs-header-links-toggle{display:flex;margin-left:auto}
 [data-shared-market-header] .cs-header-links-toggle[aria-expanded=true]{background:#ffead6;color:#b64c0d}
}
@media(max-width:640px){
 .cs-category-popover{width:calc(100vw - 16px);left:8px!important;max-height:min(75dvh,calc(100dvh - var(--cs-menu-top,148px) - 8px))}
 .cs-category-menu-list{grid-template-columns:minmax(0,1fr)}
 .cs-category-submenu-items{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-shared-market-header] .cs-header-links-toggle{font-size:11px;padding:4px 7px}
}
/* Catalog filter/content architecture: intrinsically-sized desktop rail and mobile disclosure.
   No fixed-width sidebar inside a narrow flex row, no nested main landmarks. */
[data-cs-catalog-container]{width:100%;min-width:0}
.cs-catalog-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:var(--cs-catalog-gap,16px);width:100%;min-width:0}
.cs-catalog-layout>[data-cs-filter-panel],.cs-catalog-layout>section{min-width:0;max-width:100%;width:100%}
.cs-catalog-layout>section{overflow-wrap:anywhere}
.cs-catalog-layout [data-cs-filter-panel] form input{min-width:0}
.cs-catalog-layout [data-cs-filter-panel] form>div{min-width:0}
.cs-filter-toggle{display:none;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 14px;border-radius:8px;border:1px solid #dedfe6;background:#fff;color:#273244;font-size:13px;font-weight:750;box-shadow:0 2px 7px #26374910;cursor:pointer;text-align:left}
.cs-filter-toggle>.material-symbols-outlined:first-child{color:#bf510d}
.cs-filter-chevron{margin-left:auto;transition:transform .15s}
.cs-filter-toggle[aria-expanded=false] .cs-filter-chevron{transform:rotate(180deg)}
@media(max-width:1023px){
 .cs-catalog-layout.cs-filters-enhanced>.cs-filter-toggle{display:flex}
 .cs-catalog-layout.cs-filters-enhanced>[data-cs-filter-panel]:not(.cs-filter-open){display:none}
 .cs-catalog-layout.cs-filters-enhanced>[data-cs-filter-panel].cs-filter-open{display:flex}
 .cs-catalog-layout>[data-cs-filter-panel]{min-width:0}
 .cs-catalog-layout>section{grid-column:1;min-width:0}
}
@media(min-width:1024px){
 .cs-catalog-layout{grid-template-columns:280px minmax(0,1fr)}
 .cs-catalog-layout>.cs-filter-toggle{display:none!important}
 .cs-catalog-layout>[data-cs-filter-panel]{display:flex!important;width:280px;grid-column:1}
 .cs-catalog-layout>section{grid-column:2;min-width:0}
}
/* Compact shopping density on non-desktop devices only. Retain desktop Stitch fidelity. */
@media(max-width:1023px){
 /* Category pages: mobile-first two-up cards; three-up on wider tablets. */
 [data-cs-catalog-product-grid]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0}
 /* Homepage and deals use the same density without changing desktop card grids. */
 [data-stitch-product-grid]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 [data-smart-flash-page] .grid:has(> [data-flash-product-id]){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 [data-stitch-live-product-card]{min-width:0;width:100%;box-sizing:border-box;padding:7px!important;overflow-wrap:anywhere}
 [data-stitch-live-product-card] h4{font-size:12px!important;line-height:1.35!important;min-height:2.7em}
 [data-stitch-live-product-card] .font-price-md{font-size:clamp(13px,2.4vw,17px)!important;overflow-wrap:anywhere}
 [data-stitch-live-product-card] [data-card-secondary-meta],
 [data-stitch-live-product-card] [data-card-category-chip],
 [data-stitch-live-product-card] [data-card-discovery-badge]{display:none!important}
 [data-stitch-live-product-card] form button{min-height:38px;font-size:12px!important}
 [data-stitch-live-product-card] img{max-width:100%;height:100%;object-fit:cover}
 /* Secondary context moves out of the shopping funnel on small screens. */
 [data-cs-category-supplier-spotlights],
 [data-cs-category-comparison],
 [data-cs-category-guide]{display:none!important}
 [data-connectseller-account-panel],
 [data-cs-home-category-rail]{display:none!important}
 [data-cs-home-discovery]{grid-template-columns:minmax(0,1fr)!important}
 [data-cs-home-discovery]>[data-connectseller-market-hero]{grid-column:1!important;min-width:0}
}
@media(min-width:640px) and (max-width:1023px){
 [data-cs-catalog-product-grid],[data-stitch-product-grid],
 [data-smart-flash-page] .grid:has(> [data-flash-product-id]){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
 [data-stitch-live-product-card]{padding:9px!important}
}
@media(max-width:359px){
 [data-cs-catalog-product-grid],[data-stitch-product-grid],
 [data-smart-flash-page] .grid:has(> [data-flash-product-id]){gap:6px!important}
 [data-stitch-live-product-card]{padding:5px!important}
 [data-stitch-live-product-card] .font-price-md{font-size:13px!important}
}

/* Desktop /market: opening All Categories replaces the duplicate inline rail.
   Let the hero and account panel use the freed 2/12 columns; revert on close.
   Mobile/tablet discovery layouts intentionally remain unchanged. */
@media(min-width:1024px){
 [data-cs-home-discovery].cs-home-categories-open > [data-cs-home-category-rail]{display:none!important}
 [data-cs-home-discovery].cs-home-categories-open > [data-connectseller-market-hero]{grid-column:span 8/span 8!important;min-width:0}
 [data-cs-home-discovery].cs-home-categories-open > [data-connectseller-account-panel]{grid-column:span 4/span 4!important;min-width:0}
}
/* Market homepage: linked, image-only product slideshow below hero + account.
   Scroll-snap keeps drag/swipe native and images fluid without changing hero heights. */
.cs-hero-product-slideshow{grid-column:1/-1;min-width:0;max-width:100%;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 2px 8px #1c2d4312;padding:7px}
.cs-hero-product-track{display:flex;gap:8px;min-width:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cs-hero-product-track::-webkit-scrollbar{display:none}
.cs-hero-product-slide{flex:0 0 calc((100% - 8px)/2);display:block;position:relative;isolation:isolate;min-width:0;aspect-ratio:1.45;background:transparent;border-radius:6px;overflow:hidden;scroll-snap-align:start;outline-offset:2px}
.cs-hero-product-slide img{display:block;position:absolute;inset:0;width:100%;height:100%;object-position:center}
.cs-hero-product-slide .cs-hero-product-image{object-fit:contain;z-index:1}
.cs-hero-product-slide:focus-visible{outline:3px solid #e66b22}
@media(min-width:640px){.cs-hero-product-slide{flex-basis:calc((100% - 16px)/3)}}
@media(min-width:1024px){
 [data-cs-home-discovery]>.cs-hero-product-slideshow{grid-column:3/-1;min-width:0}
 [data-cs-home-discovery].cs-home-categories-open>.cs-hero-product-slideshow{grid-column:1/-1}
 .cs-hero-product-slide{flex-basis:calc((100% - 32px)/5);aspect-ratio:1.6}
}
@media(min-width:1440px){.cs-hero-product-slide{flex-basis:calc((100% - 40px)/6)}}


/* Desktop marketplace discovery: remove the categories' internal scroller.
   The rail now spans both the hero and the linked-image slideshow, with all
   42 category links in a compact two-column arrangement. */
@media(min-width:1024px){
 [data-cs-home-discovery]:not(.cs-home-categories-open)>[data-cs-home-category-rail]{
  grid-column:span 2/span 2;grid-row:1/span 2;min-width:0;min-height:0;
 }
 [data-cs-home-category-rail] [data-stitch-category-rail]{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px 3px;max-height:none!important;height:auto!important;overflow:visible!important;
  align-content:start;
 }
 [data-cs-home-category-rail] [data-rail-category]{min-width:0;max-width:100%}
 [data-cs-home-category-rail] [data-rail-category-anchor]{
  min-width:0;min-height:22px;padding:3px 2px;gap:0;
  font-size:10px;line-height:16px;
 }
 [data-cs-home-category-rail] [data-rail-category-anchor]>span:first-child{gap:3px;min-width:0;max-width:100%}
 [data-cs-home-category-rail] [data-rail-category-anchor]>span:last-child{display:none}
 [data-cs-home-category-rail] [data-rail-category-anchor] .material-symbols-outlined{font-size:12px}
 [data-cs-home-discovery]:not(.cs-home-categories-open)>[data-connectseller-market-hero]{grid-row:1;grid-column:span 7/span 7;min-width:0}
 [data-cs-home-discovery]:not(.cs-home-categories-open)>[data-connectseller-account-panel]{grid-row:1;grid-column:span 3/span 3;min-width:0}
 [data-cs-home-discovery]:not(.cs-home-categories-open)>.cs-hero-product-slideshow{grid-column:3/-1;grid-row:2;align-self:start;min-width:0}
}
@media(min-width:1024px) and (max-width:1199px){
 [data-cs-home-category-rail] [data-rail-category-anchor] .material-symbols-outlined{display:none}
}
/* Match the category rail's final height to the slideshow rather than
   preserving the former 360px scrolling viewport. */
@media(min-width:1024px){
 [data-cs-home-category-rail] [data-stitch-category-rail]{gap:2px 3px!important}
 [data-cs-home-category-rail] [data-stitch-category-rail]>[data-rail-category]{margin-top:0!important}
 [data-cs-home-category-rail] [data-rail-category-anchor]{min-height:22px;padding:2px 2px;line-height:16px}
}
@media(min-width:1024px) and (max-width:1199px){
 [data-cs-home-category-rail] [data-stitch-category-rail]{gap:1px 2px!important}
 [data-cs-home-category-rail] [data-rail-category-anchor]{min-height:20px;padding:1px 2px;line-height:15px}
}

/* Discover slideshow heading follows the Flash Deals title treatment. */
.cs-hero-discover-heading{padding:1px 3px 6px;margin-bottom:6px;border-bottom:1px solid rgba(100,116,139,.22);line-height:1.25}

/* Malaysian photo hero: opaque contrast surfaces for every previously
   transparent text badge/action; retain the original content and layout. */
[data-connectseller-market-hero] .relative.z-10>div:first-child>div:first-child>span:nth-child(2){background:#fff!important;color:#16385a!important;border:1px solid #cbd9e8!important}
[data-connectseller-market-hero] .relative.z-10 h2{color:#fff!important;text-shadow:0 2px 7px rgba(0,0,0,.72),0 1px 2px #10283c}
[data-connectseller-market-hero] .relative.z-10 p{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.8)}
[data-connectseller-market-hero] .relative.z-10 .mt-4{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.8)}
[data-connectseller-market-hero] .relative.z-10 .mt-4 .material-symbols-outlined{color:#ffdb86!important}
[data-connectseller-market-hero] .relative.z-10>div:last-child>a:last-child{background:#fff!important;color:#16385a!important;border-color:#d4e0ed!important;box-shadow:0 2px 7px rgba(0,0,0,.16)}
[data-connectseller-market-hero] .relative.z-10>div:last-child>a:last-child:hover{background:#e9f2ff!important;color:#0c3057!important}
[data-connectseller-market-hero] .relative.z-10>div:last-child>a:first-child{color:#102e4a!important;background:#ffd36d!important}
[data-connectseller-market-hero] .relative.z-10>div:last-child>a:first-child:hover{background:#ffbd45!important;color:#102e4a!important}
[data-connectseller-market-hero]>.relative:first-child>.absolute.top-7>div{background:rgba(255,255,255,.95)!important;border-color:#d8e4ef!important;opacity:1!important;box-shadow:0 2px 8px rgba(18,43,69,.16)}
[data-connectseller-market-hero]>.relative:first-child>.absolute.top-7>div span{color:#16385a!important}
/* Malaysian hero: bold black copy without text shadows. */
[data-connectseller-market-hero] .relative.z-10 h2{color:#000!important;font-weight:900!important;text-shadow:none!important;filter:none!important}
[data-connectseller-market-hero] .relative.z-10 p{color:#000!important;font-weight:800!important;text-shadow:none!important;filter:none!important}
[data-connectseller-market-hero] .relative.z-10 .mt-4{color:#000!important;font-weight:800!important;text-shadow:none!important;filter:none!important}
[data-connectseller-market-hero] .relative.z-10 .mt-4 .material-symbols-outlined{color:#000!important;text-shadow:none!important}

/* WCAG touch target improvements: preserve grid, typography and layout. */
.cs-market-pagination > a {min-width:40px;min-height:40px;}
.cs-market-pagination > a:focus-visible,
[data-cs-home-category-rail] a:focus-visible,
[data-shared-market-header] a:focus-visible {outline:2px solid #193e74;outline-offset:2px;}
@media (pointer:coarse) {
 .cs-market-pagination > a {min-width:44px;min-height:44px;}
 [data-connectseller-market-hero] a {min-height:44px;display:inline-flex;align-items:center;}
}
