/* Store mobile repair: keep Collection 001 strange, make it usable with a thumb. */
@media (max-width:820px){
  html.na-store-mobile-repaired,html.na-store-mobile-repaired body{width:100%!important;height:auto!important;max-height:none!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
  html.na-store-mobile-repaired body{padding-bottom:148px!important;background:#efe2bd!important}
  html.na-store-mobile-repaired #collection-system,
  html.na-store-mobile-repaired #nile-desktop,
  html.na-store-mobile-repaired #collection-desktop{height:auto!important;max-height:none!important;min-height:100svh!important;overflow:visible!important}
  html.na-store-mobile-repaired #nile-desktop{position:relative!important;inset:auto!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"]{position:relative!important;inset:auto!important;height:auto!important;min-height:100svh!important;overflow:visible!important;padding-bottom:0!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-shop-shell{position:relative!important;inset:auto!important;overflow:visible!important}

  /* Store system bar stays useful. Radio has its own mobile hardware dock below. */
  html.na-store-mobile-repaired .system-bar{position:sticky!important;top:0!important;z-index:24000!important;height:50px!important;min-height:50px!important;grid-template-columns:auto minmax(0,1fr)!important;gap:6px!important;padding:5px 8px!important;overflow:visible!important;background:#efe2bd!important}
  html.na-store-mobile-repaired .system-bar__identity{min-width:48px!important}
  html.na-store-mobile-repaired .system-bar__brand img{width:44px!important}
  html.na-store-mobile-repaired .system-bar__collection,
  html.na-store-mobile-repaired .system-bar__app,
  html.na-store-mobile-repaired .system-bar__radio-mount{display:none!important}
  html.na-store-mobile-repaired .system-bar__commands{min-width:0!important;overflow:visible!important;justify-self:end!important}
  html.na-store-mobile-repaired .system-bar__commands>[data-reset-layout],
  html.na-store-mobile-repaired .system-bar__commands>[data-sfx-toggle]{display:none!important}
  html.na-store-mobile-repaired .system-bar__commands>a,
  html.na-store-mobile-repaired .system-bar__commands>button{min-height:40px!important;font-size:8px!important;padding-inline:8px!important}
  html.na-store-mobile-repaired .system-bar__clock{font-size:7px!important;min-width:42px!important}

  /* NILE RADIO: the canonical player node is moved here, never cloned. */
  html.na-store-mobile-repaired #nile-mobile-radio-dock{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    z-index:50000!important;
    display:block!important;
    width:auto!important;
    height:58px!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:hidden!important;
    border:2px solid #0b0f0c!important;
    background:#171d18!important;
    box-shadow:6px 7px 0 rgba(3,41,28,.22)!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock>#nile-radio-player{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:54px!important;
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr) 104px!important;
    grid-template-rows:54px!important;
    align-items:stretch!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(180deg,#303630,#171b18)!important;
    color:#e9dfbd!important;
    box-shadow:none!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__station{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    height:54px!important;
    min-height:54px!important;
    padding:0!important;
    border:0!important;
    border-right:1px solid #62675d!important;
    background:#272d28!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__station>span:not(.nile-radio__led){display:none!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__led{left:5px!important;top:5px!important;width:5px!important;height:5px!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock [data-radio-toggle]{
    display:block!important;
    width:36px!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #050706!important;
    border-radius:50%!important;
    background:repeating-conic-gradient(#1a1f1b 0deg 9deg,#444a43 9deg 13deg)!important;
    color:transparent!important;
    font-size:0!important;
    box-shadow:inset 0 0 0 5px #252b25,inset 2px 2px 2px rgba(255,255,255,.1)!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock [data-radio-toggle]::after{content:""!important;display:block!important;width:2px!important;height:10px!important;margin:3px auto 0!important;background:#e8debd!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__now{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    height:46px!important;
    min-height:46px!important;
    align-self:center!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:6px!important;
    margin:4px!important;
    padding:0 8px!important;
    border:1px solid #506052!important;
    background:#07150d!important;
    color:#cadb92!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__now b{display:block!important;color:#e24a41!important;font-size:6px!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__now>[data-radio-title]{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#d7e2a8!important;font-size:8px!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__eq{display:flex!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__controls{
    grid-column:3!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:30px 38px 30px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    height:54px!important;
    min-height:54px!important;
    padding:5px 2px!important;
    border:0!important;
    border-left:1px solid #62675d!important;
    background:#202620!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__controls>button{
    display:block!important;
    min-width:0!important;
    width:auto!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0 2px!important;
    border:1px solid #080b09!important;
    border-radius:0!important;
    background:linear-gradient(#ddd0ab,#a79b7e)!important;
    color:#0d2518!important;
    font-size:8px!important;
  }
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__volume,
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__layout-toggle,
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__float-handle,
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__window-controls,
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__tune-knob{display:none!important}
  html.na-store-mobile-repaired .nile-dock{bottom:76px!important;max-width:calc(100vw - 16px)!important;min-height:58px!important;overflow-x:auto!important;gap:2px!important}
  html.na-store-mobile-repaired .nile-dock button{min-width:58px!important;min-height:46px!important;font-size:9px!important}

  /* Catalogue: two readable garments per row. Every card owns exactly ONE visible angle. */
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-shop-catalog{position:relative!important;inset:auto!important;display:block!important;height:auto!important;transform:none!important;overflow:visible!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-scroll{height:auto!important;overflow:visible!important;padding:0!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-head{display:block!important;min-height:0!important;padding:22px 16px 14px!important;overflow:visible!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-heading{display:block!important;pointer-events:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-index{display:flex!important;gap:9px!important;margin-bottom:9px!important;font-size:9px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-title{display:block!important;margin:0!important;font-size:clamp(38px,13vw,58px)!important;line-height:.9!important;white-space:normal!important;overflow:visible!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-sub{display:block!important;margin:9px 0 0!important;font:700 12px/1.4 Archivo,Arial,sans-serif!important;letter-spacing:0!important;white-space:normal!important;text-transform:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-controls{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px!important;margin-top:16px!important;overflow:visible!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-filter-set{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-filter,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-sort{min-height:44px!important;font-size:10px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:12px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card{display:grid!important;grid-template-rows:auto auto!important;min-width:0!important;min-height:0!important;height:auto!important;transform:none!important;box-shadow:none!important;background:#fff8df!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__media{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/5!important;overflow:hidden!important;background:#f2e6c2!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;padding:8px!important;transform:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__front,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card:hover .na-product-card__front,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card:focus-visible .na-product-card__front{display:block!important;opacity:1!important;visibility:visible!important;z-index:2!important;transform:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__back,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card:hover .na-product-card__back,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card:focus-visible .na-product-card__back{display:none!important;opacity:0!important;visibility:hidden!important;z-index:-1!important;pointer-events:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__info{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important;align-items:end!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__eyebrow{font-size:8px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__name{display:block!important;font-size:13px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__meta{display:block!important;margin-top:4px!important;font-size:8px!important;line-height:1.3!important;white-space:normal!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__price{font-size:13px!important;white-space:nowrap!important}

  /* Product view: exactly one selected drawing. Alternate angles are selected with the view tabs. */
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-shop-workspace{position:relative!important;inset:auto!important;height:auto!important;overflow:visible!important;transform:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-workspace-grid{display:block!important;height:auto!important;min-height:0!important;padding:12px 12px 150px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-panel{width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;margin:0 0 12px!important;box-shadow:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-rail .na-panel-head,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-rail .na-rail-scroll{display:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-back-collection{display:flex!important;align-items:center!important;min-height:48px!important;font-size:13px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-viewer{display:block!important;height:auto!important;min-height:0!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-viewer>.na-panel-head{min-height:38px!important;font-size:9px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-tools,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-hud,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] [data-na-measure-layer]{display:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-stage{position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/5!important;overflow:hidden!important;pointer-events:none!important;background:#f4e8c5!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-product{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-product img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;padding:10px!important;transform:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-main{display:block!important;opacity:1!important;visibility:visible!important;z-index:2!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-cad-compare{display:none!important;opacity:0!important;visibility:hidden!important;z-index:-1!important;pointer-events:none!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-view-tabs{display:flex!important;overflow-x:auto!important;gap:5px!important;padding:8px!important;pointer-events:auto!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-view-tab{min-width:84px!important;min-height:44px!important;font-size:10px!important;pointer-events:auto!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-order-body,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-econ-body{overflow:visible!important;max-height:none!important;padding:16px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-order-name{font-size:34px!important;line-height:.92!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-order .na-size,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-add-bag{min-height:46px!important;font-size:14px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-garment-description,
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-garment-details :is(summary,p,dt,dd,a){font-size:14px!important;line-height:1.55!important}
}

@media (max-width:360px){
  html.na-store-mobile-repaired #nile-mobile-radio-dock>#nile-radio-player{grid-template-columns:46px minmax(0,1fr) 96px!important}
  html.na-store-mobile-repaired #nile-mobile-radio-dock .nile-radio__controls{grid-template-columns:28px 34px 28px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-catalog-grid{gap:7px!important;padding:8px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__info{padding:8px!important}
  html.na-store-mobile-repaired #collection-desktop[data-shop-revamp="catalog-workspace-v1"] .na-product-card__name{font-size:12px!important}
}
