/* Accessories Shop Premium — Hotfix 15
   Smaller catalog/brand imagery, focus card media, and seamless square-ended homepage hero. */

/* Hero photography fades into the page at the right edge — no rounded crop. */
.asu-home .asu-hero__visual--banner,
body#index .asu-home .asu-hero__visual--banner {
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  border:0 !important;
}
.asu-home .asu-hero__visual--banner .asu-hero-banner,
body#index .asu-home .asu-hero__visual--banner .asu-hero-banner {
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
}
@media(min-width:1200px){
  .asu-home .asu-hero__visual--banner {
    /* Extend beyond the content column so the image fades naturally into the page edge. */
    width:calc(100% + 2.6vw) !important;
    margin-right:-2.6vw !important;
  }
  body#index .asu-home .asu-hero__visual--banner::after,
  .asu-home .asu-hero__visual--banner::after {
    content:'' !important;
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    z-index:2 !important;
    pointer-events:none !important;
    background:linear-gradient(90deg,
      #fff8f6 0%,
      rgba(255,248,246,.55) 2.2%,
      rgba(255,248,246,0) 7.5%,
      rgba(255,248,246,0) 78%,
      rgba(255,248,246,.10) 85%,
      rgba(255,248,246,.43) 92%,
      rgba(255,248,246,.78) 97%,
      #fff8f6 100%) !important;
    opacity:1!important;
  }
}
@media (min-width:768px) and (max-width:1199.98px) {
  .asu-home .asu-hero__visual--banner::after {
    content:'' !important;display:block!important;position:absolute!important;inset:0!important;
    z-index:2!important;pointer-events:none!important;
    background:linear-gradient(90deg,transparent 71%,rgba(255,248,246,.55) 90%,#fff8f6 100%)!important;
  }
}
@media (max-width:767.98px) {
  .asu-home .asu-hero__visual--banner,
  .asu-home .asu-hero-banner {border-radius:0!important;}
  .asu-home .asu-hero__visual--banner::after {
    content:''!important;display:block!important;position:absolute!important;inset:0!important;
    z-index:2!important;pointer-events:none!important;
    background:linear-gradient(90deg,transparent 77%,#fff8f6 100%)!important;
  }
}

/* The two Focus marque / Lifestyle Icon images were expanding too much.
   Limit height and keep the whole photo without cropping logos. */
.asu-home .asu-feature-panels .asu-panel {
  min-width:0 !important;
  overflow:hidden;
}
.asu-home .asu-feature-panels .asu-panel__media {
  position:relative;display:flex!important;align-items:center;justify-content:center;
  width:100%!important;max-height:220px!important;min-height:0!important;
  overflow:hidden!important;border-radius:18px!important;background:#fbf6f4;
}
.asu-home .asu-feature-panels .asu-panel__media img {
  display:block!important;width:100%!important;height:100%!important;
  max-height:220px!important;min-height:0!important;object-fit:contain!important;
  object-position:center!important;transform:none!important;
}
.asu-home .asu-feature-panels .asu-panel__media:hover img {transform:none!important;}

/* Brand and category intro logo frames stay compact regardless of source image dimensions. */
.asu-collection-hero .asu-manufacturer-hero__inner {
  grid-template-columns:minmax(120px,172px) minmax(0,1fr)!important;
  gap:clamp(16px,2.8vw,30px)!important;
}
.asu-collection-hero .asu-manufacturer-hero__logo {
  width:100%!important;max-width:172px!important;max-height:142px!important;
  aspect-ratio:1.3/1!important;padding:15px!important;
  border-radius:19px!important;
}
.asu-collection-hero .asu-manufacturer-hero__logo img,
.asu-collection-hero [data-as-brand-hero-logo] {
  width:100%!important;height:100%!important;
  max-width:144px!important;max-height:105px!important;
  object-fit:contain!important;object-position:center!important;
}
.asu-collection-hero {padding:clamp(18px,2vw,30px)!important;}
.asu-collection-hero h1 {font-size:clamp(1.8rem,3.3vw,3.3rem)!important;}

/* Smaller, balanced homepage image tiles without giant portrait cards. */
.asu-home .asu-cat-grid--catalog .asu-cat-card {
  height:auto!important;min-height:0!important;
  max-height:360px!important;aspect-ratio:4/5!important;
}
.asu-home .asu-cat-grid--catalog .asu-cat-card>img {
  width:100%!important;height:100%!important;max-height:360px!important;
  object-fit:cover!important;object-position:center!important;
}
.asu-home .asu-brand-logo img {width:auto!important;max-width:140px!important;height:auto!important;max-height:56px!important;object-fit:contain!important;}

/* Avoid giant photo blocks on category pages. */
body#category .asu-category-hero-v6 {
  aspect-ratio:3.8/1!important;min-height:225px!important;max-height:330px!important;
}
body#category .asu-native-category-cover,
body#category .asu-native-category-cover img {max-height:310px!important;}
@media(max-width:767.98px){
  .asu-collection-hero .asu-manufacturer-hero__inner {grid-template-columns:1fr!important;}
  .asu-collection-hero .asu-manufacturer-hero__logo {max-width:165px!important;max-height:130px!important;}
  .asu-home .asu-feature-panels .asu-panel__media,
  .asu-home .asu-feature-panels .asu-panel__media img {max-height:200px!important;}
  .asu-home .asu-cat-grid--catalog .asu-cat-card,
  .asu-home .asu-cat-grid--catalog .asu-cat-card>img {max-height:285px!important;}
  body#category .asu-category-hero-v6 {aspect-ratio:1.7/1!important;max-height:300px!important;min-height:230px!important;}
}
