/* Grouped collection browsing and one-column supplier details. */
body.chrysavia-afterglow .af-parent-catalog{padding:0 0 24px}
body.chrysavia-afterglow .af-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 22px}
body.chrysavia-afterglow .af-catalog-browse{font-size:17px;font-weight:500;line-height:1.4;margin:0}
body.chrysavia-afterglow :is(.af-catalog-all-link,.af-group-view-all){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;font-size:14px;text-decoration:none;white-space:nowrap}
body.chrysavia-afterglow :is(.af-catalog-all-link,.af-group-view-all) svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
body.chrysavia-afterglow :is(.af-catalog-all-link,.af-group-view-all):hover{text-decoration:underline;text-underline-offset:5px}
body.chrysavia-afterglow .af-category-jumps{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0 0 22px;margin:0 0 8px;border-bottom:1px solid #d8cfdd}
body.chrysavia-afterglow .af-category-jumps a{display:flex;align-items:center;min-height:44px;font-size:14px;text-decoration:none;color:#164b51;white-space:nowrap}
body.chrysavia-afterglow .af-category-jumps a:hover{text-decoration:underline;text-underline-offset:6px}
body.chrysavia-afterglow .af-collection-group{padding:32px 0 38px;border-bottom:1px solid #e4dfe8;scroll-margin-top:112px}
body.chrysavia-afterglow .af-collection-group-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}
body.chrysavia-afterglow .af-collection-group-heading h2{font-size:25px;line-height:1.25;font-weight:500;margin:0;letter-spacing:-.02em}
body.chrysavia-afterglow .af-group-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;align-items:start}
body.chrysavia-afterglow .af-group-products .af-product-photo{aspect-ratio:1/1;background:#fff}
body.chrysavia-afterglow .af-group-products .af-product-info{padding-top:12px}
body.chrysavia-afterglow .af-group-products .af-product-info h3{font-size:15px;min-height:2.9em;margin:0}
body.chrysavia-afterglow .af-group-products .af-product-price{font-size:14px;margin:7px 0 0}
body.chrysavia-afterglow .af-catalog-tabs{display:flex;gap:24px;margin:0 0 16px;border-bottom:1px solid #d8cfdd}
body.chrysavia-afterglow .af-catalog-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:10px 0 12px;min-height:44px;font:inherit;font-size:15px;cursor:pointer}
body.chrysavia-afterglow .af-catalog-tabs button[aria-selected=true]{border-color:#164b51;color:#164b51}
body.chrysavia-afterglow .af-back-to-groups{border:0;border-bottom:1px solid #164b51;background:transparent;color:#164b51;font:inherit;font-size:14px;min-height:44px;cursor:pointer;margin:0 0 22px;padding:0}
body.chrysavia-afterglow .af-catalog-empty{font-size:16px;line-height:1.7;max-width:60ch;padding:26px 0 44px}
.af-parent-catalog [hidden]{display:none!important}
.af-parent-catalog :focus-visible{outline:2px solid #164b51;outline-offset:4px}
.supplier-details .supplier-detail-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;max-width:880px;width:100%;margin:32px auto 0;gap:36px}
.supplier-details .supplier-detail-grid>.supplier-detail{grid-column:1!important;width:100%;max-width:100%;margin-inline:auto}
.supplier-details .supplier-detail-grid .detail-image-button{width:100%}
@media(max-width:1000px){body.chrysavia-afterglow .af-group-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.supplier-details .supplier-detail-grid{max-width:760px}}
@media(max-width:540px){body.chrysavia-afterglow .af-catalog-toolbar{align-items:flex-start;gap:12px;margin-bottom:12px}body.chrysavia-afterglow .af-catalog-browse{font-size:15px;padding-top:12px}body.chrysavia-afterglow .af-catalog-all-link{font-size:12px}body.chrysavia-afterglow .af-category-jumps{flex-wrap:nowrap;overflow-x:auto;gap:20px;padding-bottom:14px;scrollbar-width:thin;scrollbar-color:#a89ab4 transparent}body.chrysavia-afterglow .af-collection-group{padding:24px 0 28px}body.chrysavia-afterglow .af-collection-group-heading{gap:12px;margin-bottom:14px}body.chrysavia-afterglow .af-collection-group-heading h2{font-size:21px}body.chrysavia-afterglow .af-group-view-all{font-size:12px}body.chrysavia-afterglow .af-group-products{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 15px)/2);gap:15px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#a89ab4 transparent;padding:0 0 12px}body.chrysavia-afterglow .af-group-products .af-product-card{scroll-snap-align:start}body.chrysavia-afterglow .af-group-products .af-product-info h3{font-size:14px}.supplier-details .supplier-detail-grid{margin-top:24px;gap:28px}}

.af-group-products-more>.af-product-card:nth-child(n+6){display:none}

.af-search-strip{background:#f7f3fa;border-bottom:1px solid #e4dfe8;padding:8px 24px;position:relative;z-index:2}
.af-store-search{display:flex;align-items:center;max-width:620px;width:100%;margin:0 auto;border:1px solid #c8bccf;background:#fff;color:#213333;min-height:42px}
.af-store-search input[type=search]{flex:1;min-width:0;width:100%;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:14px;padding:10px 14px;outline:0;box-shadow:none}
.af-store-search input::placeholder{color:#53696b;opacity:1}
.af-store-search button{display:grid;place-items:center;flex:0 0 44px;min-width:44px;height:42px;border:0;border-inline-start:1px solid #e4dfe8;background:#fff;color:#263b3d;cursor:pointer;padding:0}
.af-store-search button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.af-store-search:focus-within{outline:2px solid #164b51;outline-offset:2px}
.af-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:540px){.af-search-strip{padding:8px 16px}.af-store-search{min-height:40px}.af-store-search input[type=search]{font-size:16px}.af-store-search button{height:42px}}

/* Narrow phones: keep logo, language picker, search, bag and menu inside the viewport. */
@media (max-width:420px){
  #af-header{padding-left:8px;padding-right:8px}
  #af-header .masthead{padding-left:6px;padding-right:6px;gap:6px}
  #af-header .header-actions{gap:0}
  #af-header .header-region{min-width:0;max-width:64px}
  #af-header .header-region select{max-width:64px}
  #af-header .plugin_c_market_select_bg:has(> #plugin_c_market_country_select){display:none}
  .site-header{padding-left:12px;padding-right:12px;gap:6px}
  .site-header .header-tools{gap:2px}
  .site-header #language{max-width:64px}
}
