/* BSG Header Mega V1 — sand/milk, inherits existing Montserrat and site container. */
.bsg-mega[hidden],.bsg-mega [hidden]{display:none!important}
.bsg-mega,.bsg-mega *{box-sizing:border-box}
.bsg-mega{position:fixed;inset:0;z-index:1100;color:#2b2926;font-family:inherit;font-size:inherit;line-height:1.5}
.bsg-mega__backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(22,21,20,.43);cursor:default}
.bsg-mega__container{position:absolute;top:var(--bsg-mega-top,82px);left:0;right:0;width:100%;margin-inline:auto;max-height:calc(100dvh - var(--bsg-mega-top,82px) - 12px);padding-block:0;overflow:visible}
.bsg-mega__surface{width:100%;display:grid;grid-template-columns:minmax(240px,32%) minmax(0,1fr);max-height:inherit;overflow:hidden;background:#faf5ed;border-radius:0 0 14px 14px;box-shadow:0 14px 36px rgba(40,25,10,.20)}
.bsg-mega__left{min-width:0;min-height:0;display:flex;flex-direction:column;padding:22px 14px 20px 22px;background:#ead9bf;overflow:auto;overscroll-behavior:contain}
.bsg-mega__left-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 12px 12px}
.bsg-mega__left-head strong{font-size:1.13em;line-height:1.35;font-weight:700}
.bsg-mega__close{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:0;border-radius:9px;background:#fff8ed;color:#493627;font-size:25px;line-height:1;cursor:pointer}
.bsg-mega__list,.bsg-mega__children,.bsg-mega__grid{list-style:none!important;margin:0;padding:0}
.bsg-mega__node{min-width:0}
.bsg-mega__node-row{display:flex;align-items:stretch;min-width:0;gap:2px;border-radius:9px;transition:background-color .18s ease}
.bsg-mega__node-row:hover,.bsg-mega__node-row:focus-within{background:#f4e8d7}
.bsg-mega__node-link{display:flex;min-width:0;flex:1;justify-content:space-between;align-items:center;gap:8px;padding:10px 10px 10px 12px;border-radius:9px;text-decoration:none!important;color:#382c22!important;font-weight:700;line-height:1.45;overflow-wrap:anywhere;transition:background-color .18s ease}
.bsg-mega__node-link.is-active{background:#f9f1e7;color:#734329!important}
.bsg-mega__node-link>span:first-child{min-width:0}
.bsg-mega__arrow{flex:0 0 auto;display:inline-block;white-space:nowrap;transition:transform .2s ease}
.bsg-mega__node-link:hover .bsg-mega__arrow,.bsg-mega__tile:hover .bsg-mega__arrow,.bsg-mega__action:hover span{transform:translateX(4px)}
.bsg-mega__expand{width:34px;min-width:34px;align-self:center;min-height:34px;border:0;border-radius:8px;background:transparent;color:#644531;cursor:pointer;font-size:1.25em;transition:background-color .2s ease}
.bsg-mega__expand:hover{background:#f8eee0}
.bsg-mega__expand[aria-expanded=true]>span{display:inline-block;transform:rotate(180deg)}
.bsg-mega__children{padding-left:16px;border-left:1px solid #d8c1a3;margin-left:13px}
.bsg-mega__children .bsg-mega__node-link{font-weight:400}
.bsg-mega__all{margin:18px 12px 0;align-self:flex-start}
.bsg-mega__right{min-width:0;min-height:0;padding:30px 34px 28px;background:#fcf8f2;overflow-y:auto;overscroll-behavior:contain}
.bsg-mega__heading{margin:0 0 20px;font-size:1.26em;line-height:1.35;font-weight:700;color:#2b2622}
.bsg-mega__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.bsg-mega__tile{display:flex;align-items:flex-start;justify-content:space-between;min-width:0;height:100%;gap:12px;padding:13px 12px;border:1px solid #e9ded0;border-radius:10px;background:#fffdfa;text-decoration:none!important;color:#43382e!important;font-weight:400;line-height:1.5;overflow-wrap:anywhere;transition:background-color .18s ease,border-color .18s ease}
.bsg-mega__tile:hover{background:#f1e4d4;border-color:#d9b99c}
.bsg-mega__tile>span:first-child{min-width:0}
.bsg-mega__tile .bsg-mega__arrow{color:#94613e}
.bsg-mega__section-link{display:inline-flex;margin-top:24px}
.bsg-mega__action{align-items:center;gap:10px;text-decoration:none!important;color:#8c502d!important;font-weight:600;line-height:1.4}
.bsg-mega__action span{display:inline-block;transition:transform .2s ease}
.bsg-mega__empty{color:#716b62;margin:0}
.bsg-mega a:focus-visible,.bsg-mega button:focus-visible,[data-bsg-mega-trigger]:focus-visible{outline:2px solid #935a39;outline-offset:3px}
[data-bsg-mega-trigger][aria-expanded=true]{color:var(--main,#925534)!important}
@media(max-width:1100px){.bsg-mega__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bsg-mega__right{padding:24px 22px}}
@media(max-width:760px){.bsg-mega__container{max-height:calc(100dvh - var(--bsg-mega-top,82px) - 6px)}.bsg-mega__surface{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,auto) minmax(0,1fr);max-height:inherit;border-radius:0 0 10px 10px}.bsg-mega__left{padding:12px 10px 10px;max-height:43dvh}.bsg-mega__right{padding:18px 16px;min-height:110px}.bsg-mega__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bsg-mega__tile{padding:11px}.bsg-mega__heading{margin-bottom:13px}.bsg-mega__all{margin-top:10px}}
@media(max-width:450px){.bsg-mega__grid{grid-template-columns:minmax(0,1fr)}.bsg-mega__left{max-height:37dvh}.bsg-mega__right{max-height:44dvh}.bsg-mega__tile{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.bsg-mega *{transition:none!important}}

/* BSG HEADER MEGA V2 — full-width layout, editable right colors, category icons. */
.bsg-mega__container{
  left:0!important;right:0!important;width:100vw!important;max-width:none!important;
  padding:0!important;margin:0!important;
}
.bsg-mega__surface{
  width:100%;grid-template-columns:minmax(320px,35%) minmax(0,1fr);
  border-radius:0 0 12px 12px;
}
.bsg-mega__left{padding-left:max(22px,calc((100vw - 1280px) / 2));}
.bsg-mega__right{
  padding-right:max(24px,calc((100vw - 1280px) / 2));
  background:var(--bsg-mega-right-bg,#fcf8f2);
}
.bsg-mega__node-link,.bsg-mega__children .bsg-mega__node-link{font-weight:400;}
.bsg-mega__node-name{display:flex;align-items:center;min-width:0;gap:10px;}
.bsg-mega__node-name>span{min-width:0;overflow-wrap:anywhere;}
.bsg-mega__node-icon{display:block;flex:none;width:20px;height:20px;object-fit:contain;}
.bsg-mega__arrow{flex:0 0 18px;text-align:center;font-size:1.12em;font-weight:500;}
.bsg-mega__node-link:hover .bsg-mega__arrow{transform:translateX(3px);}
.bsg-mega__expand{font-size:1.1em;}
.bsg-mega__expand>span{display:inline-block;transition:transform .18s ease;}
.bsg-mega__expand[aria-expanded=true]>span{transform:rotate(90deg);}
.bsg-mega__tile{background:var(--bsg-mega-tile-bg,#fffdfa);color:var(--bsg-mega-right-text,#43382e)!important;}
.bsg-mega__tile:hover,.bsg-mega__tile:focus-visible{background:var(--bsg-mega-hover-bg,#f1e4d4);color:var(--bsg-mega-hover-text,#43382e)!important;}
.bsg-mega__heading{color:var(--bsg-mega-right-text,#2b2622);}
.bsg-mega__section-link{color:var(--bsg-mega-right-text,#43382e)!important;}
.bsg-mega__section-link:hover{color:var(--bsg-mega-hover-text,#43382e)!important;}
/* Highlighted Catalog trigger inherits site typeface, uses BSG's brown palette. */
header .header-links button.bsg-catalog-trigger{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  flex:0 0 auto;min-height:43px;padding:10px 16px;border-radius:12px;
  background:#895638!important;border:1px solid #895638!important;color:#fff!important;
  font-family:inherit;font-size:inherit;font-weight:600;line-height:1.25;
  cursor:pointer;white-space:nowrap;transition:background-color .18s,border-color .18s;
}
header .header-links button.bsg-catalog-trigger:hover,
header .header-links button.bsg-catalog-trigger:focus-visible{background:#a16b48!important;border-color:#a16b48!important;color:#fff!important;}
header .header-links button.bsg-catalog-trigger[aria-expanded=true]{background:#6e4029!important;border-color:#6e4029!important;}
.bsg-catalog-trigger__icon{position:relative;display:inline-block;flex:none;width:20px;height:18px;}
.bsg-catalog-trigger__icon span{
  position:absolute;left:1px;width:18px;height:2px;border-radius:2px;background:currentColor;
  transition:transform .18s ease,opacity .18s ease,top .18s ease;
}
.bsg-catalog-trigger__icon span:nth-child(1){top:3px;}
.bsg-catalog-trigger__icon span:nth-child(2){top:8px;}
.bsg-catalog-trigger__icon span:nth-child(3){top:13px;}
.bsg-catalog-trigger[aria-expanded=true] .bsg-catalog-trigger__icon span:nth-child(1){top:8px;transform:rotate(45deg);}
.bsg-catalog-trigger[aria-expanded=true] .bsg-catalog-trigger__icon span:nth-child(2){opacity:0;}
.bsg-catalog-trigger[aria-expanded=true] .bsg-catalog-trigger__icon span:nth-child(3){top:8px;transform:rotate(-45deg);}
@media(max-width:760px){
 .bsg-mega__surface{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,auto) minmax(0,1fr);}
 .bsg-mega__left{padding:12px 14px 10px;}
 .bsg-mega__right{padding:18px 16px;}
 header .header-links button.bsg-catalog-trigger{align-self:flex-start;}
}
@media(prefers-reduced-motion:reduce){.bsg-catalog-trigger__icon span{transition:none!important;}}


/* BSG Mega Menu V2.2 — text-only links on the RIGHT panel.
   Keep panel background, 3/2/1-column layout and editable font colors. */
.bsg-mega__right .bsg-mega__tile,
.bsg-mega__right .bsg-mega__tile:hover,
.bsg-mega__right .bsg-mega__tile:focus-visible {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.bsg-mega__right .bsg-mega__tile {
  display: block;
  width: 100%;
  height: auto;
  padding: 5px 0;
  text-decoration: none !important;
  color: var(--bsg-mega-right-text,#43382e) !important;
}
.bsg-mega__right .bsg-mega__tile:hover,
.bsg-mega__right .bsg-mega__tile:focus-visible {
  color: var(--bsg-mega-hover-text,#43382e) !important;
}
.bsg-mega__right .bsg-mega__tile > span {
  text-decoration: none;
}
.bsg-mega__right .bsg-mega__tile:hover > span,
.bsg-mega__right .bsg-mega__tile:focus-visible > span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* BSG Mega Menu V2.4 — left panel colors from Voyager; leave right text-link V2.2 styles intact. */
.bsg-mega__left{background:var(--bsg-mega-left-background,#EAD9BF);color:var(--bsg-mega-left-text,#382C22)}
.bsg-mega__left .bsg-mega__left-head strong{color:var(--bsg-mega-left-text,#382C22)}
.bsg-mega__left .bsg-mega__node-link,
.bsg-mega__left .bsg-mega__children .bsg-mega__node-link{color:var(--bsg-mega-left-text,#382C22)!important}
.bsg-mega__left .bsg-mega__node-row:hover,
.bsg-mega__left .bsg-mega__node-row:focus-within{background:var(--bsg-mega-left-hover-background,#F4E8D7)}
.bsg-mega__left .bsg-mega__node-link:hover,
.bsg-mega__left .bsg-mega__node-row:focus-within .bsg-mega__node-link{color:var(--bsg-mega-left-hover-text,#382C22)!important}
.bsg-mega__left .bsg-mega__node-link.is-active,
.bsg-mega__left .bsg-mega__children .bsg-mega__node-link.is-active{background:var(--bsg-mega-left-active-background,#F9F1E7);color:var(--bsg-mega-left-active-text,#734329)!important}
.bsg-mega__left .bsg-mega__expand{color:var(--bsg-mega-left-text,#382C22)}
.bsg-mega__left .bsg-mega__expand:hover,
.bsg-mega__left .bsg-mega__expand:focus-visible{background:var(--bsg-mega-left-hover-background,#F4E8D7);color:var(--bsg-mega-left-hover-text,#382C22)}
.bsg-mega__left .bsg-mega__all{color:var(--bsg-mega-left-text,#382C22)!important}
.bsg-mega__left .bsg-mega__all:hover,
.bsg-mega__left .bsg-mega__all:focus-visible{color:var(--bsg-mega-left-hover-text,#382C22)!important}

/* BSG Mega Menu V2.5 — white header, unified left-row hover/active, icon chevrons. */
/* Keep the header above the dimmed content without moving its layout. */
.bsg-mega{pointer-events:none;background:transparent}
.bsg-mega__backdrop{top:var(--bsg-mega-top,82px);pointer-events:auto}
.bsg-mega__container{pointer-events:auto}
header.bsg-mega-header-open{background:#fff!important;background-color:#fff!important}

/* The entire row (link + disclosure button) is a single highlight surface. */
.bsg-mega__left .bsg-mega__node-row{
  border-radius:9px;
  background:transparent;
  transition:background-color .18s ease;
}
.bsg-mega__left .bsg-mega__node-row:focus-within:not(.is-active):not(:hover){background:transparent}
.bsg-mega__left .bsg-mega__node-row.is-active{
  background:var(--bsg-mega-left-active-background,#F9F1E7);
}
.bsg-mega__left .bsg-mega__node-row:hover{
  background:var(--bsg-mega-left-hover-background,#F4E8D7);
}
.bsg-mega__left .bsg-mega__node-row:has(:focus-visible){
  background:var(--bsg-mega-left-hover-background,#F4E8D7);
}
.bsg-mega__left .bsg-mega__node-link,
.bsg-mega__left .bsg-mega__node-link.is-active,
.bsg-mega__left .bsg-mega__children .bsg-mega__node-link.is-active{
  background:transparent!important;
}
.bsg-mega__left .bsg-mega__node-row.is-active .bsg-mega__node-link,
.bsg-mega__left .bsg-mega__node-row.is-active .bsg-mega__expand{
  color:var(--bsg-mega-left-active-text,#734329)!important;
}
.bsg-mega__left .bsg-mega__node-row:hover .bsg-mega__node-link,
.bsg-mega__left .bsg-mega__node-row:hover .bsg-mega__expand{
  color:var(--bsg-mega-left-hover-text,#382C22)!important;
}
.bsg-mega__left .bsg-mega__expand:hover,
.bsg-mega__left .bsg-mega__expand:focus-visible{background:transparent!important}

/* Draw a proper right chevron without an icon font or image. */
.bsg-mega__left .bsg-mega__arrow,
.bsg-mega__left .bsg-mega__expand > span,
.bsg-mega__left .bsg-mega__all > span{
  position:relative;
  display:inline-block;
  width:20px;
  min-width:20px;
  height:20px;
  flex:0 0 20px;
  font-size:0!important;
  line-height:0;
  vertical-align:middle;
  color:inherit;
}
.bsg-mega__left .bsg-mega__arrow::before,
.bsg-mega__left .bsg-mega__expand > span::before,
.bsg-mega__left .bsg-mega__all > span::before{
  content:"";
  position:absolute;
  left:6px;
  top:6px;
  width:8px;
  height:8px;
  border:solid currentColor;
  border-width:0 1.7px 1.7px 0;
  transform:rotate(-45deg);
}
.bsg-mega__left .bsg-mega__expand{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  padding:0;
}
@media(prefers-reduced-motion:reduce){.bsg-mega__left .bsg-mega__node-row{transition:none!important}}

/* BSG Mega Menu V2.5.1 — restore header contrast when opening above a hero banner.
   The site's header normally starts in the WHITE-ON-TRANSPARENT state on the home hero.
   V2.5 gave it a white background but didn't swap the logo, text and icon colours.
   Do not move, resize or reposition header children; only change presentation. */
header.bsg-mega-header-open {
  background: #fff !important;
  background-color: #fff !important;
  color: var(--primary, #24201d) !important;
  border-color: var(--primary, #24201d) !important;
}
header.bsg-mega-header-open .logo-wrapper .white { display: none !important; }
header.bsg-mega-header-open .logo-wrapper .black { display: block !important; }
header.bsg-mega-header-open .header-links a,
header.bsg-mega-header-open #select-btn,
header.bsg-mega-header-open .catalog-search-trigger,
header.bsg-mega-header-open .bsg-inquiry-header-link,
header.bsg-mega-header-open a[href^="tel:"] {
  color: var(--primary, #24201d) !important;
}
/* Keep the Catalog trigger's existing white-on-brown theme. */
header.bsg-mega-header-open .header-links .bsg-catalog-trigger {
  color: #fff !important;
}
header.bsg-mega-header-open #menu-button {
  color: var(--primary, #24201d) !important;
  stroke: var(--primary, #24201d) !important;
}
header.bsg-mega-header-open #search .search-svg {
  fill: var(--primary, #24201d) !important;
}

/* BSG Mega Menu V2.6 — mobile: category-first disclosure, sand from Voyager, charcoal outline. */
@media (max-width:760px) {
  .bsg-mega .bsg-mega__surface {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(0,auto);
    background:var(--bsg-mega-left-background,#EAD9BF);
    border:1px solid #55514D;
    border-top:1px solid #55514D;
    border-radius:0 0 12px 12px;
  }
  .bsg-mega .bsg-mega__left {
    background:var(--bsg-mega-left-background,#EAD9BF);
    color:var(--bsg-mega-left-text,#382C22);
    max-height:min(64dvh,calc(100dvh - var(--bsg-mega-top,82px) - var(--bsg-mobile-nav-height,80px) - 15px));
  }
  .bsg-mega:not(.bsg-mega--mobile-category-selected) .bsg-mega__right {
    display:none!important;
  }
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__right {
    display:block;
    min-height:0;
    max-height:38dvh;
    padding:16px;
    background:var(--bsg-mega-left-background,#EAD9BF);
    border-top:1px solid #55514D;
    overflow-y:auto;
  }
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__left {max-height:40dvh;}
  .bsg-mega .bsg-mega__node-link {min-height:44px;}
  .bsg-mega .bsg-mega__expand {min-height:44px;min-width:44px;}
  .bsg-mega .bsg-mega__right .bsg-mega__tile {min-height:44px;}
}


/* BSG Mobile Mega V2.7 — icon visibility + single row controls (max-width:760px).
   The uploaded raster image must itself have transparent pixels; CSS cannot repair opaque artwork. */
.bsg-mega__node-icon {
  display:block!important;
  width:20px!important;height:20px!important;
  flex:0 0 20px!important;
  max-width:20px!important;max-height:20px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
  border-radius:0!important;
  vertical-align:middle;
}
.bsg-mega__node-name {display:inline-flex;align-items:center;min-width:0;gap:9px}
.bsg-mega__node-name>span {min-width:0}
@media (max-width:760px) {
  /* Fix site header controls being squeezed/wrapped across two lines at 320px. */
  header .container > .flex-center-btw {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:4px!important;
    width:100%;min-width:0;
  }
  header .container > .flex-center-btw > .logo-wrapper {
    width:clamp(104px,34vw,148px)!important;
    min-width:0!important;
    max-width:148px!important;
    flex:0 1 clamp(104px,34vw,148px)!important;
  }
  header .container > .flex-center-btw > .logo-wrapper img {width:100%;height:100%;object-fit:contain}
  header .container > .flex-center-btw > div:last-child {
    display:flex!important;
    flex:0 0 auto!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:clamp(1px,0.7vw,5px)!important;
    min-width:0;
  }
  header .container > .flex-center-btw > div:last-child > button,
  header .container > .flex-center-btw > div:last-child > a,
  header .container > .flex-center-btw > div:last-child > #select {
    flex:0 0 auto!important;
  }
  header .container > .flex-center-btw #select-btn{padding:6px 3px!important;white-space:nowrap!important}
  header .container > .flex-center-btw #menu-button{padding:5px!important}
  header .container > .flex-center-btw .catalog-search-trigger,
  header .container > .flex-center-btw .bsg-inquiry-header-link {padding:5px!important}
  /* Preserve five equal navigation zones on even the narrowest smartphones. */
  #bsg-mobile-nav.bsg-mobile-nav{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-template-rows:minmax(0,1fr)!important;
    grid-auto-flow:column!important;
    flex-wrap:nowrap!important;
    align-items:end!important;
  }
  #bsg-mobile-nav .bsg-mobile-nav__item{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    flex-wrap:nowrap!important;
  }
  #bsg-mobile-nav .bsg-mobile-nav__label{
    white-space:nowrap!important;
    overflow:visible;
    font-size:clamp(8px,2.55vw,11px)!important;
    letter-spacing:-.15px;
  }
  /* The category list, not the logo/header, may scroll within the open dialog. */
  .bsg-mega__left{min-width:0}
  .bsg-mega__node-row{width:100%;min-width:0;flex-wrap:nowrap}
  .bsg-mega__node-link{min-width:0}
  .bsg-mega__node-name{min-width:0}
}
@media (max-width:340px) {
  header .container > .flex-center-btw > .logo-wrapper{
    width:102px!important;flex-basis:102px!important;
  }
  header .container > .flex-center-btw .catalog-search-trigger,
  header .container > .flex-center-btw .bsg-inquiry-header-link {padding:3px!important}
}

/* BSG MOBILE/MEGA V2.8 — full-height phone catalog, Voyager-linked colors and motion. */
/* Desktop: extend left-side navigation to the left edge instead of a wide empty gutter. */
@media (min-width:761px) {
  .bsg-mega .bsg-mega__surface { grid-template-columns:minmax(365px,37%) minmax(0,1fr) !important; }
  .bsg-mega .bsg-mega__left {
    padding-left:clamp(20px,2.5vw,46px) !important;
    padding-right:clamp(16px,2vw,30px) !important;
  }
}
/* Icon sizes in every menu viewport, including SVG/transparent PNG. */
.bsg-mega .bsg-mega__node-icon {
  width:30px !important;height:30px !important;
  min-width:30px !important;min-height:30px !important;
  max-width:30px !important;max-height:30px !important;
  flex:0 0 30px !important;object-fit:contain !important;
  background:transparent !important;filter:none !important;
}
.bsg-mega .bsg-mega__node-name {gap:10px}
.bsg-mega__mobile-phone {display:none}
@media (max-width:760px) {
  /* Height reaches the TOP of the fixed five-button bar, without hiding any page controls. */
  .bsg-mega:not([hidden]) .bsg-mega__container {
    height:calc(100dvh - var(--bsg-mega-top,82px) - var(--bsg-mobile-nav-height,80px)) !important;
    max-height:calc(100dvh - var(--bsg-mega-top,82px) - var(--bsg-mobile-nav-height,80px)) !important;
    min-height:0 !important;
  }
  .bsg-mega .bsg-mega__surface {
    display:flex !important;flex-direction:column !important;
    width:100%;height:100% !important;min-height:0 !important;max-height:100% !important;
    border:1px solid #55514d !important;border-radius:0 0 12px 12px;
    overflow:hidden !important;
    background:var(--bsg-mega-right-bg,#FCF8F2) !important;
  }
  .bsg-mega .bsg-mega__left {
    display:flex !important;flex-direction:column !important;
    flex:1 1 auto;min-height:0 !important;max-height:none !important;
    padding:18px 16px 12px !important;overflow:hidden !important;
    background:var(--bsg-mega-right-bg,#FCF8F2) !important;
  }
  .bsg-mega .bsg-mega__left nav {flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
  .bsg-mega .bsg-mega__left-head,
  .bsg-mega .bsg-mega__all {flex:0 0 auto;}
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__left {
    flex:0 1 auto;max-height:51% !important;min-height:0 !important;
  }
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__right {
    display:block !important;flex:1 1 auto;min-height:0 !important;
    max-height:none !important;overflow-y:auto !important;
    padding:16px !important;
    border-top:1px solid #77716d;
    background:var(--bsg-mega-right-bg,#FCF8F2) !important;
  }
  .bsg-mega .bsg-mega__mobile-phone:not([hidden]) {
    display:flex;align-items:center;justify-content:center;
    flex:0 0 auto;min-height:56px;padding:10px 14px;
    border-top:1px solid #bfb5a9;
    background:var(--bsg-mega-right-bg,#FCF8F2);
  }
  .bsg-mega__mobile-phone a {
    display:inline-flex;align-items:center;justify-content:center;
    min-height:44px;max-width:100%;font:inherit;font-weight:600;
    color:var(--bsg-mega-right-text,#43382E) !important;
    text-decoration:none !important;overflow-wrap:anywhere;
  }
  .bsg-mega__mobile-phone a:focus-visible,
  .bsg-mega__mobile-phone a:hover {text-decoration:underline !important;text-underline-offset:3px;}
  /* Subtle entry/exit on tap of the center Catalog button. */
  @keyframes bsgMegaV28In { from { opacity:0;transform:translateY(24px); } to { opacity:1;transform:translateY(0); } }
  @keyframes bsgMegaV28Out { from { opacity:1;transform:translateY(0); } to { opacity:0;transform:translateY(24px); } }
  @keyframes bsgMegaV28ShadeIn {from{opacity:0} to{opacity:1}}
  @keyframes bsgMegaV28ShadeOut {from{opacity:1} to{opacity:0}}
  .bsg-mega:not([hidden]):not(.bsg-mega--closing) .bsg-mega__surface {
    animation:bsgMegaV28In 260ms cubic-bezier(.2,.75,.22,1) both;
  }
  .bsg-mega.bsg-mega--closing .bsg-mega__surface {
    animation:bsgMegaV28Out 200ms ease-in both;pointer-events:none;
  }
  .bsg-mega:not([hidden]):not(.bsg-mega--closing) .bsg-mega__backdrop {
    animation:bsgMegaV28ShadeIn 260ms ease-out both;
  }
  .bsg-mega.bsg-mega--closing .bsg-mega__backdrop {
    animation:bsgMegaV28ShadeOut 200ms ease-in both;pointer-events:none;
  }
}
@media (max-width:760px) and (prefers-reduced-motion:reduce) {
 .bsg-mega .bsg-mega__surface,.bsg-mega .bsg-mega__backdrop {animation:none!important;transition:none!important}
}

/* BSG Mega Menu V2.9 — desktop logo alignment + mobile full-screen drill-down. */
@media (min-width:761px) {
  .bsg-mega .bsg-mega__surface {
    grid-template-columns: min(72vw, max(400px, calc(var(--bsg-mega-logo-left, 20px) + 390px))) minmax(0,1fr) !important;
  }
  .bsg-mega .bsg-mega__left {
    padding-left:var(--bsg-mega-logo-left,20px)!important;
    padding-right:18px!important;
  }
}
.bsg-mega__mobile-back{display:none}
@media (max-width:760px) {
  /* Panels occupy ONE screen. The category list never shrinks to make space below. */
  .bsg-mega .bsg-mega__surface {position:relative!important;isolation:isolate}
  .bsg-mega .bsg-mega__left,
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__left {
    flex:1 1 auto!important;max-height:none!important;height:100%!important;
  }
  .bsg-mega .bsg-mega__right,
  .bsg-mega:not(.bsg-mega--mobile-category-selected) .bsg-mega__right,
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__right {
    position:absolute!important;
    inset:0 0 56px 0!important;
    display:block!important;
    flex:none!important;
    width:100%!important;height:auto!important;
    max-width:none!important;max-height:none!important;min-height:0!important;
    padding:16px 20px 24px!important;
    border:0!important;
    background:var(--bsg-mega-right-bg,#FCF8F2)!important;
    overflow-y:auto!important;
    z-index:3;
    transform:translateX(102%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .24s ease, visibility 0s linear .24s;
  }
  .bsg-mega.bsg-mega--mobile-category-selected .bsg-mega__right {
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
    transition:transform .24s ease,visibility 0s;
  }
  .bsg-mega .bsg-mega__mobile-phone:not([hidden]) {
    position:absolute!important;
    bottom:0;left:0;right:0;
    height:56px;min-height:56px;
    z-index:5;
  }
  .bsg-mega__mobile-back {
    display:inline-flex!important;align-items:center;gap:9px;
    background:transparent;border:0;border-radius:8px;
    padding:9px 8px;margin:0 0 14px -8px;
    color:var(--bsg-mega-right-text,#43382E);
    font:inherit;font-weight:600;text-align:left;
    min-width:72px;min-height:44px;cursor:pointer;
  }
  .bsg-mega__mobile-back-chevron {
    display:inline-block;width:10px;height:10px;
    border:solid currentColor;border-width:0 0 2px 2px;
    transform:rotate(45deg);
  }
  /* No nested children expanding beneath the parent in mobile mode. */
  .bsg-mega .bsg-mega__children {display:none!important}
  .bsg-mega .bsg-mega__mobile-back:focus-visible {outline:2px solid #895638;outline-offset:2px}
}
@media (max-width:760px) and (prefers-reduced-motion:reduce) {
  .bsg-mega .bsg-mega__right {transition:none!important}
}

/* BSG_MOBILE_HEADER_NO_HAMBURGER_V291
   Top header's legacy hamburger is redundant: mobile bottom navigation
   already owns the central Catalogue trigger. Keep tablet/desktop unchanged. */
@media (max-width: 760px) {
    header #menu-button {
        display: none !important;
    }
}

/* BSG_DESKTOP_SUBCATEGORY_HOVER_V292
   Whole desktop grid cell is a text-only link. Its hit-area remains
   stable while the pointer moves directly from the Catalog button. */
@media (min-width:761px) {
  .bsg-mega .bsg-mega__right {position:relative;isolation:isolate;}
  .bsg-mega .bsg-mega__right .bsg-mega__grid > li {
    position:relative;min-width:0;
  }
  .bsg-mega .bsg-mega__right a.bsg-mega__tile {
    position:relative;z-index:1;display:flex;align-items:flex-start;
    width:100%;height:100%;min-height:44px;padding:9px 2px;
    background:transparent!important;border:0!important;
    border-radius:0!important;box-shadow:none!important;
    pointer-events:auto;text-decoration:none!important;
  }
  .bsg-mega .bsg-mega__right a.bsg-mega__tile:hover > span,
  .bsg-mega .bsg-mega__right a.bsg-mega__tile:focus-visible > span {
    text-decoration:underline;
    text-underline-offset:3px;
    text-decoration-thickness:1px;
  }
  .bsg-mega .bsg-mega__right .bsg-mega__section-link {
    position:relative;z-index:1;min-height:44px;padding-block:10px;
  }
}
