/* Bench Brothers v28 — standalone customer account + refinements. */
*,*::before,*::after{box-sizing:border-box}
.bb-account{margin:0;background:#f5f5f4;color:#202122;font-family:Arial,'Helvetica Neue',sans-serif}
.bb-account-head{background:white;display:flex;align-items:center;gap:clamp(16px,3vw,38px);padding:20px max(24px,calc((100vw - 1160px)/2));border-bottom:1px solid #ebebeb}
.bb-account-head a{color:inherit;text-decoration:none;font-size:14px}.bb-account-head .bb-account-brand{margin-right:auto;font-size:19px;font-weight:700}
.bb-account-main{max-width:1160px;margin:0 auto;padding:48px 24px 100px}
.bb-account-intro span,.bb-muted{color:#767676}.bb-account-intro span{font-size:11px;letter-spacing:.12em}.bb-account-intro h1{font-size:clamp(32px,4vw,52px);font-weight:500;letter-spacing:-.04em;margin:10px 0}.bb-account-intro p{color:#6f6f6f}
.bb-account-panel{max-width:700px;background:white;border:1px solid #eaeaea;border-radius:24px;padding:clamp(20px,4vw,40px);margin-top:36px;box-shadow:0 10px 40px #00000006}
.bb-account-panel[hidden],.bb-account-form[hidden]{display:none!important}
.bb-account-tabs{display:flex;gap:6px;background:#f4f4f4;padding:5px;border-radius:14px;margin-bottom:24px}.bb-account-tabs button{flex:1;border:0;padding:12px 8px;border-radius:10px;background:none;cursor:pointer;font:inherit}.bb-account-tabs button[aria-selected="true"]{background:#202122;color:white}
.bb-account-form{display:grid;gap:16px}.bb-account-form label{display:grid;gap:8px;font-size:14px}.bb-account-form input{width:100%;min-width:0;border:1px solid #dedede;border-radius:10px;background:#fbfbfb;padding:13px 14px;font:inherit;font-size:15px;color:inherit}.bb-account-form small{font-size:12px;color:#858585}
.bb-account-primary{background:#202122;color:white;border:0;padding:15px;border-radius:11px;font:inherit;cursor:pointer;font-weight:600}.bb-account-link{justify-self:center;border:0;color:#555;background:none;cursor:pointer;padding:7px}.bb-account-outline{border:1px solid #ddd;background:white;padding:10px 16px;border-radius:10px;cursor:pointer}
.bb-account-ok:not(:empty),.bb-account-error:not(:empty){max-width:700px;margin-top:15px;padding:13px 17px;border-radius:10px;background:#fff;border:1px solid #ddd;font-size:14px}.bb-account-error{color:#a22!important}
.bb-profile-head{display:flex;justify-content:space-between;gap:20px;align-items:start;border-bottom:1px solid #eee;margin-bottom:25px;padding-bottom:18px}.bb-profile-head h2{font-size:29px;margin:9px 0 15px}.bb-profile-head p{margin:6px 0}.bb-order-list{display:grid;gap:12px;margin-top:22px}.bb-order{border:1px solid #ededed;border-radius:15px;padding:20px;background:#fafafa}.bb-order-header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.bb-order-items{padding-left:22px}
.bb-suggestion{border:1px solid #ddd;border-radius:18px;padding:6px 12px;margin:3px 6px 3px 0;background:#f5f5f5;cursor:pointer;color:inherit}
@media(max-width:620px){.bb-account-head{padding:18px 16px}.bb-account-main{padding:26px 16px 60px}.bb-account-panel{border-radius:18px}.bb-profile-head{display:block}}
/* Active product video ratio must override default image box. */
html body[data-page="product"] .product-gallery__main[data-media-type="video"]{aspect-ratio:var(--bb-v28-ratio,16 / 9)!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
html body[data-page="product"] .product-gallery__main[data-media-type="video"] .product-gallery__active-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:var(--bb-v28-fit,cover)!important}
/* Keep About intro centered with image and reduce excessive whitespace. */
@media(min-width:821px){html body[data-page="about"] .about-hero{align-items:center!important}html body[data-page="about"] .about-hero__text{align-self:center!important;transform:none!important;margin-block:0!important}html body[data-page="about"] .about-hero__image{align-self:center!important}}
/* Product video control in admin: preview follows selected format. */
.product-video-card video{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:var(--bb-v28-preview-ratio,auto)!important;object-fit:cover!important}
.bb-v28-admin-orders{margin-top:16px}.bb-v28-admin-order-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.bb-v28-admin-order{border:1px solid #e2e2e2;background:#fafafa;padding:14px;border-radius:12px}.bb-v28-admin-order p{font-size:12px;margin:5px 0;color:#555;overflow-wrap:anywhere}
/* About page: collapse the inherited oversized intro spacing while keeping both columns intact. */
@media (min-width: 821px){
 html body[data-page="about"] .about-hero{min-height:0!important;height:auto!important;align-items:center!important;padding-bottom:clamp(18px,2vw,38px)!important;margin-bottom:0!important}
 html body[data-page="about"] .about-hero__text{align-self:center!important;padding-block:0!important}
 html body[data-page="about"] .about-hero__image{align-self:center!important}
}
@media(max-width:820px){
 html body[data-page="about"] .about-production__track{display:flex!important;gap:12px!important;overflow-x:auto!important}
 html body[data-page="about"] .about-production__slide{flex:0 0 min(80vw,360px)!important;aspect-ratio:4/3!important;min-width:min(80vw,360px)!important}
}
