/* Accessories Shop — HF35 — home page categories, mobile only.
   Desktop grid, category listing pages, checkout and existing theme hooks are unchanged.
   Uses native scrolling and CSS snap; controls are progressive enhancement. */
.asu35-cats-toolbar,
.asu35-cats-progress { display:none; }

@media (max-width:767.98px) {
  body#index .asu-home #asu22-collections.asu-cats--catalog {
    min-width:0;
    overflow:visible!important;
    padding-top:28px!important;
  }
  body#index .asu-home #asu22-collections .asu-section-head {
    margin-bottom:9px!important;
  }
  body#index .asu-home #asu22-collections .asu-section-head .asu-section-note {
    display:none!important;
  }
  body#index .asu-home #asu22-collections .asu35-cats-toolbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 12px;
    min-height:46px;
    margin-bottom:8px;
  }
  body#index .asu-home #asu22-collections .asu35-cats-hint {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:0;
    margin:0;
    color:#8b6570;
    font:500 12px/1.35 Outfit,Inter,Arial,sans-serif;
  }
  body#index .asu-home #asu22-collections .asu35-cats-hint svg {
    font-size:19px;
    line-height:1;
    color:#b97e90;
  }
  body#index .asu-home #asu22-collections .asu35-cats-controls:not([hidden]) {
    display:flex;
    align-items:center;
    gap:7px;
    margin-inline-start:auto;
  }
  body#index .asu-home #asu22-collections .asu35-cats-count {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:52px;
    color:#80646c;
    font:600 12px/1.3 Outfit,Inter,Arial,sans-serif;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
  }
  body#index .asu-home #asu22-collections .asu35-cats-arrow {
    box-sizing:border-box;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    flex:0 0 40px;
    width:40px;
    height:40px;
    padding:0;
    border:1px solid #e7ced5;
    border-radius:50%;
    background:#fff9f8;
    color:#874d60;
    box-shadow:0 3px 12px rgba(99,45,63,.05);
    cursor:pointer;
    transition:background .2s ease,color .2s ease,border-color .2s ease;
  }
  body#index .asu-home #asu22-collections .asu35-cats-arrow:not(:disabled):active {
    background:#f2dce4;
  }
  body#index .asu-home #asu22-collections .asu35-cats-arrow:disabled {
    opacity:.35;
    cursor:default;
    box-shadow:none;
  }
  body#index .asu-home #asu22-collections .asu35-cats-arrow:focus-visible,
  body#index .asu-home #asu22-collections .asu-cat-grid--catalog:focus-visible {
    outline:3px solid #be8296!important;
    outline-offset:3px;
  }
  /* Edge-to-edge scroll rail within the usual Bootstrap container gutters. */
  body#index .asu-home #asu22-collections .asu-cat-grid--catalog {
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:stretch!important;
    gap:12px!important;
    box-sizing:border-box!important;
    width:calc(100% + var(--bs-gutter-x, 1.5rem))!important;
    max-width:none!important;
    margin-inline:calc(var(--bs-gutter-x, 1.5rem) / -2)!important;
    padding:5px calc(var(--bs-gutter-x, 1.5rem) / 2) 14px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
    scroll-padding-inline:calc(var(--bs-gutter-x, 1.5rem) / 2);
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  body#index .asu-home #asu22-collections .asu-cat-grid--catalog::-webkit-scrollbar {
    display:none;
  }
  /* More photograph, natural image ratio, and a visible preview of the next tile. */
  body#index .asu-home #asu22-collections .asu-cat-grid--catalog > .asu-cat-card {
    box-sizing:border-box!important;
    position:relative;
    flex:0 0 clamp(208px,62vw,252px)!important;
    width:clamp(208px,62vw,252px)!important;
    min-width:0!important;
    height:clamp(260px,78vw,318px)!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    border-radius:19px!important;
    border:1px solid rgba(194,158,169,.25)!important;
    background:#f3e6e7;
    box-shadow:0 8px 24px rgba(82,46,57,.10)!important;
    -webkit-tap-highlight-color:transparent;
  }
  body#index .asu-home #asu22-collections .asu-cat-grid--catalog .asu-cat-card > img {
    position:absolute!important;
    inset:0;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 36%!important;
    aspect-ratio:auto!important;
  }
  body#index .asu-home #asu22-collections .asu-cat-card::before {
    inset:30% 0 0!important;
    background:linear-gradient(to bottom, transparent 0%,rgba(30,18,24,.14) 31%,rgba(29,17,23,.78) 100%)!important;
    pointer-events:none;
  }
  body#index .asu-home #asu22-collections .asu-cat-card__overlay {
    padding:15px 15px 17px!important;
    gap:5px!important;
    text-align:left!important;
  }
  body#index .asu-home #asu22-collections .asu-cat-card__overlay strong {
    display:-webkit-box!important;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    max-width:100%;
    margin:0!important;
    color:#fff!important;
    font:650 clamp(16px,4.1vw,19px)/1.15 Outfit,Inter,Arial,sans-serif!important;
    letter-spacing:-.015em!important;
    overflow-wrap:anywhere;
    text-shadow:0 1px 8px rgba(0,0,0,.28);
  }
  body#index .asu-home #asu22-collections .asu-cat-card__overlay span {
    display:-webkit-box!important;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    max-width:100%;
    margin:0!important;
    color:#fff4f3!important;
    font:400 11.5px/1.35 Outfit,Inter,Arial,sans-serif!important;
    text-shadow:0 1px 7px rgba(0,0,0,.25);
  }
  body#index .asu-home #asu22-collections .asu35-cats-progress:not([hidden]) {
    display:block;
    position:relative;
    width:min(180px,55%);
    height:4px;
    margin:4px auto 0;
    overflow:hidden;
    background:#eee0e4;
    border-radius:99px;
  }
  body#index .asu-home #asu22-collections .asu35-cats-progress__thumb {
    position:absolute;
    inset:0 auto 0 0;
    min-width:16px;
    height:100%;
    border-radius:99px;
    background:#bd7e92;
    will-change:transform;
  }
}

@media (max-width:359.98px) {
  body#index .asu-home #asu22-collections .asu35-cats-hint {font-size:11px!important;}
  body#index .asu-home #asu22-collections .asu35-cats-toolbar {gap:4px!important;}
  body#index .asu-home #asu22-collections .asu35-cats-arrow {width:36px;height:36px;flex-basis:36px;}
}

@media (prefers-reduced-motion:reduce) {
  body#index .asu-home #asu22-collections .asu35-cats-arrow {transition:none!important;}
  body#index .asu-home #asu22-collections .asu-cat-grid--catalog {
    scroll-behavior:auto!important;
  }
}
