/* BB56 — home is the SINGLE visual reference for gutters, header, footer and mega-menu. */
:root{--bb56-gutter:clamp(22px,5.1vw,95px)}
/* Detail/directory pages now use the exact same markup and BB39 CSS as the homepage. */
body:not([data-detail-kind="home"]) .site-header{z-index:80}
body:not([data-detail-kind="home"]) .site-header .header-inner{max-width:1800px!important;margin-inline:auto!important;padding-inline:clamp(22px,4.2vw,88px)!important;display:flex!important;gap:28px!important;height:78px!important;min-height:0!important}
body:not([data-detail-kind="home"]) .site-header .desktop-nav{display:flex;flex:1;gap:clamp(13px,1.4vw,29px)}
body:not([data-detail-kind="home"]) .site-header .header-actions{margin-left:auto}
body:not([data-detail-kind="home"]) .site-header .nav-panel{z-index:100}
body:not([data-detail-kind="home"]) .site-header .search-bar{display:flex}
body:not([data-detail-kind="home"]) .footer{width:100%;max-width:none;margin:0;padding:80px var(--bb56-gutter) 24px}
body:not([data-detail-kind="home"]) .footer-main{display:flex;justify-content:space-between;gap:60px;padding-bottom:95px;max-width:none}
body:not([data-detail-kind="home"]) .footer-links{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:26px;padding-top:15px}
body:not([data-detail-kind="home"]) .footer-bottom{max-width:none;margin:0}
/* Match homepage horizontal content gutters rather than the old constrained 1320px center column. */
body[data-detail-kind] #main.bb56-main{width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:clamp(26px,3vw,48px) var(--bb56-gutter) clamp(65px,6vw,105px)!important}
body[data-detail-kind] .bb55-info-layout,body[data-detail-kind] .bb55-outlet-layout,
body[data-detail-kind] .bb55-hero,body[data-detail-kind] .bb55-gallery,
body[data-detail-kind="pages"] .bb55-hero,
body[data-detail-kind="outlet"] .bb55-hero{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
body[data-detail-kind="pages"] .bb55-info-article{grid-template-columns:minmax(160px,.38fr) minmax(0,1fr);gap:clamp(36px,5vw,100px)}
/* Eliminate empty bands above and below product photography without stretching/cropping garments. */
body[data-detail-kind="product"] .detail-gallery-main:has(>img){display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;background:transparent!important;overflow:hidden!important}
body[data-detail-kind="product"] .detail-gallery-main>img{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:transparent!important;margin:0!important}
body[data-detail-kind="product"] .detail-gallery-main:not(:has(>img)){aspect-ratio:4/5;min-height:200px}
body[data-detail-kind="product"] .detail-copy h1{font-size:clamp(30px,3.35vw,54px)!important;line-height:1.02!important;letter-spacing:-.055em!important;overflow-wrap:break-word}
body[data-detail-kind="product"] .detail-layout{gap:clamp(28px,4.5vw,84px)}
/* Form is closed by default; when open it is full width with the same homepage spacing. */
body[data-detail-kind] .site-header>.search-bar{padding-inline:clamp(22px,4.2vw,88px)}
body[data-detail-kind] .site-header>.search-bar[hidden]{display:none!important}
@media(max-width:900px){
 body[data-detail-kind="pages"] .bb55-info-article{grid-template-columns:1fr}
 body:not([data-detail-kind="home"]) .site-header .header-inner{gap:14px!important}
 body:not([data-detail-kind="home"]) .footer-main{gap:34px}
 body:not([data-detail-kind="home"]) .footer-links{grid-template-columns:repeat(2,minmax(115px,1fr));gap:30px}
}
@media(max-width:767px){
 body:not([data-detail-kind="home"]) .site-header .header-inner{height:67px!important;padding-inline:18px!important;gap:13px!important}
 body:not([data-detail-kind="home"]) .site-header .desktop-nav{display:none!important}
 body:not([data-detail-kind="home"]) .site-header .menu-button{display:flex}
 body:not([data-detail-kind="home"]) .site-header .header-actions{gap:10px}
 body:not([data-detail-kind="home"]) .footer{padding:55px 18px 24px}
 body:not([data-detail-kind="home"]) .footer-main{flex-direction:column;gap:36px;padding-bottom:53px}
 body:not([data-detail-kind="home"]) .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}
 body[data-detail-kind] #main.bb56-main{padding:22px 18px 58px!important}
 body[data-detail-kind="product"] .detail-layout{grid-template-columns:1fr!important}
 body[data-detail-kind="product"] .detail-gallery-main>img{width:100%!important;height:auto!important}
 body[data-detail-kind] .site-header>.search-bar{padding:16px 18px;flex-wrap:wrap}
 body[data-detail-kind] .site-header>.search-bar label{width:100%}
}
@media(max-width:450px){
 body:not([data-detail-kind="home"]) .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}
 body:not([data-detail-kind="home"]) .footer-links a{font-size:12px}
 body:not([data-detail-kind="home"]) .footer-logo{font-size:72px}
}
