/* iro. v1.6.4 — brand results: mobile header, nav and card alignment.
   Scoped to brand pages only; desktop, API and purchase destinations unchanged. */
.iro-mobile-brand-bottom-nav,.iro-mobile-brand-menu-scrim{display:none}
@media(max-width:650px){
 :root{scroll-padding-top:74px}
 body.iro-mobile-brand-results{padding-bottom:calc(82px + env(safe-area-inset-bottom));overflow-x:clip}
 body.iro-mobile-brand-results #brandProducts,
 body.iro-mobile-brand-results #brandSearchForm,
 body.iro-mobile-brand-results #resultControls,
 body.iro-mobile-brand-results #products{scroll-margin-top:78px}
 /* Unlike the old brand header, it must not collapse into a floating pill. */
 body.iro-mobile-brand-results > header,
 body.iro-mobile-brand-results > header.mobile-nav-collapsed{
   position:sticky!important;top:0!important;z-index:110!important;display:block!important;
   height:auto!important;min-height:60px!important;margin:0!important;padding:0!important;
   border-bottom:1px solid #f0dfe7!important;background:#fffcfd!important;
   box-shadow:0 2px 16px #9a567319!important;pointer-events:auto!important;
 }
 body.iro-mobile-brand-results > header .header,
 body.iro-mobile-brand-results > header.mobile-nav-collapsed .header{
   box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-rows:auto!important;align-items:center!important;gap:8px!important;
   width:100%!important;min-height:60px!important;height:auto!important;margin:0 auto!important;
   padding:9px 17px!important;background:#fffcfd!important;pointer-events:auto!important;
 }
 body.iro-mobile-brand-results > header .header .logo,
 body.iro-mobile-brand-results > header.mobile-nav-collapsed .header .logo{
   display:inline-flex!important;align-items:center!important;grid-column:1!important;grid-row:1!important;
   font-size:31px!important;line-height:1.05!important;width:max-content!important;
 }
 body.iro-mobile-brand-results > header .header .iro-beta-tag{font-size:10px}
 body.iro-mobile-brand-results > header .header .iro-mobile-menu-toggle,
 body.iro-mobile-brand-results > header.mobile-nav-collapsed .header .iro-mobile-menu-toggle{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   position:static!important;grid-column:2!important;grid-row:1!important;z-index:112!important;
   min-height:40px!important;min-width:80px!important;padding:8px 12px!important;
   border:1px solid #ebcad9!important;border-radius:999px!important;
   background:#fff4f8!important;color:#92516c!important;
   box-shadow:none!important;pointer-events:auto!important;font-size:12px!important;line-height:1.4!important;
 }
 body.iro-mobile-brand-results > header .header nav[aria-label="サイトメニュー"]{
   display:none!important;position:fixed!important;left:12px!important;right:12px!important;
   top:calc(67px + env(safe-area-inset-top))!important;z-index:121!important;
   width:auto!important;max-width:none!important;max-height:min(75dvh,590px)!important;
   overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;padding:15px!important;
   border:1px solid #eed6e1!important;border-radius:18px!important;
   flex-direction:column!important;align-items:stretch!important;gap:12px!important;
   background:#fff!important;box-shadow:0 10px 35px #7f425d3d!important;
 }
 body.iro-mobile-brand-results:not(.iro-mobile-nav-collapsed) > header .header nav[aria-label="サイトメニュー"]{display:flex!important}
 body.iro-mobile-brand-results > header .header nav .nav-primary,
 body.iro-mobile-brand-results > header .header nav .nav-secondary{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;width:100%!important;min-width:0!important;overflow:visible!important;
 }
 body.iro-mobile-brand-results > header .header nav .nav-primary a,
 body.iro-mobile-brand-results > header .header nav .nav-secondary a{
   display:flex!important;align-items:center!important;justify-content:center!important;
   min-width:0!important;min-height:45px!important;padding:9px 6px!important;
   white-space:normal!important;text-align:center!important;font-size:12px!important;
   background:#fff!important;color:#80546a!important;
   border:1px solid #efd1df!important;border-radius:12px!important;text-decoration:none!important;
 }
 body.iro-mobile-brand-results .iro-mobile-brand-menu-scrim:not([hidden]){
   display:block;position:fixed;inset:60px 0 0;z-index:109;background:#5338475c;
 }
 /* Same five-item bottom navigation used on the homepage. */
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav{
   display:grid;position:fixed;bottom:0;left:0;right:0;z-index:115;
   grid-template-columns:repeat(5,minmax(0,1fr));gap:0;align-items:stretch;
   padding:5px 7px calc(5px + env(safe-area-inset-bottom));
   border-top:1px solid #efd9e2;background:#fffdfef2;
   backdrop-filter:blur(14px);box-shadow:0 -4px 20px #a35b7c1a;
 }
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav .iro-mobile-bottom-item{
   display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
   min-height:52px;padding:5px 1px;min-width:0;border:0;border-radius:10px;
   color:#846f79;background:transparent;text-decoration:none;font-family:inherit;cursor:pointer;
 }
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav .iro-mobile-bottom-item svg{
   width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;
   stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;
 }
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav .iro-mobile-bottom-item span{
   font-size:10px;line-height:1.2;white-space:nowrap;
 }
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav .iro-mobile-bottom-item[aria-current="page"],
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav .iro-mobile-bottom-item[aria-expanded="true"]{
   color:#ab5279;background:#fff0f6;font-weight:750;
 }
 /* Prevent the card summary's content-box width+padding from protruding 12px to the right. */
 body.iro-mobile-brand-results #products.iro-mobile-compact-grid > .product{
   box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
 }
 body.iro-mobile-brand-results #products .iro-mobile-compact-card > .iro-mobile-product-details{
   box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body.iro-mobile-brand-results #products .iro-mobile-compact-card > .iro-mobile-product-details > summary{
   box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:9px 6px!important;position:relative;
 }
 body.iro-mobile-brand-results .iro-m16-sticky:not([hidden]){
   box-sizing:border-box;max-width:min(560px,calc(100% - 22px));
 }
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav :focus-visible,
 body.iro-mobile-brand-results .iro-mobile-product-details > summary:focus-visible{
   outline:3px solid #a94e75;outline-offset:2px;
 }
}
@media(max-width:360px){
 body.iro-mobile-brand-results .iro-mobile-brand-bottom-nav .iro-mobile-bottom-item span{font-size:9px}
}

/* iro. v1.9.5 — brand detail header alignment and interactive menu.
   v1.9.1 makes the global header fixed and reserves 60px on body; the legacy
   v1.6.4 brand CSS made it sticky again, doubling the vertical offset and
   reducing the stacking level below the global menu backdrop. Keep exactly
   one 60px offset and put the header/menu above that backdrop. */
@media (max-width:650px){
 body.iro-header-stable.iro-mobile-brand-results > header,
 body.iro-header-stable.iro-mobile-brand-results > header.mobile-nav-collapsed{
   position:fixed!important;
   top:0!important;left:0!important;right:0!important;bottom:auto!important;
   z-index:140!important;
   width:100%!important;
 }
 body.iro-header-stable.iro-mobile-brand-results > header .header nav[aria-label="サイトメニュー"]{
   z-index:142!important;
   top:calc(68px + env(safe-area-inset-top,0px))!important;
 }
 body.iro-header-stable.iro-mobile-brand-results > header .header .iro-mobile-menu-toggle{
   z-index:143!important;
 }
}
