/* Visual QA fixes, 16 Nov 2026 (QA-VISUAL-20261116.md). Loaded on every page after the shared styles.
   Home CTA sizes stay owned by the home-placement ledger (52px = the "large" size below). */
:root{--btn-h:48px;--btn-h-sm:40px;--btn-h-lg:52px;--btn-r:999px;--btn-fs:15px;--btn-fs-sm:13px}

/* 1 + 7: generated image slots. The photo fills the slot (cover, never stretched) and the duplicate
   caption that was squeezed beside it is hidden; the card title and the image alt carry the name. */
figure.st-slot.generated-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
figure.st-slot.generated-visual>figcaption{display:none}

/* 2: home stats block, the button no longer sits on the facts above it. */
body.reference-home .home-v2 .v2-wrap>.v2-facts+.v2-cta{margin-top:24px}

/* 3: "Ask Brandy" launcher. Desktop: one-line pill, 48px high. Phone: 48px icon-only circle (aria-label
   "Ask Brandy"), bottom-right inside the safe area, with room left under the footer so it never sits on text. */
.brandy-chat-launcher,body.reference-home button.brandy-chat-launcher{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;min-height:48px;padding:0 18px;white-space:nowrap;border-radius:999px;font-size:14px;line-height:1;right:calc(24px + env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom))}
.brandy-chat-launcher:before{flex:none}
@media(max-width:767px){ /* font-size !important: home-typography.css sets the launcher caption size with !important */
 .brandy-chat-launcher,body.reference-home button.brandy-chat-launcher{width:48px;padding:0;gap:0;font-size:0!important;right:calc(16px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom))}
 .brandy-chat-launcher:before{width:18px;height:15px}
 footer.reference-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}

/* 5: one button system. Default 48px, small 40px, large 52px; one pill radius, one font size. */
.btn{height:auto;min-height:var(--btn-h);padding-block:10px;border-radius:var(--btn-r);font-size:var(--btn-fs);line-height:1.3;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.btn.sm,.inbox-tools .btn{min-height:var(--btn-h-sm);padding-block:6px;font-size:var(--btn-fs-sm)}
.btn.lg,.shop-summary .btn{min-height:var(--btn-h-lg)}
.reference-footer .footer-invitation .btn{font-size:var(--btn-fs)}
header .hact>.btn{height:auto;min-height:var(--btn-h-sm);padding-block:6px;font-size:var(--btn-fs-sm)}
.home-hero-copy>.btn{height:auto;min-height:var(--btn-h-lg)}
.scan-tabs button,body.reference-home .scan-tabs button{min-height:var(--btn-h);padding-block:6px;line-height:1.3;display:inline-flex;align-items:center}
form button.btn{height:auto;min-height:var(--btn-h)}
.mm .btn{min-height:var(--btn-h-lg);padding-block:10px}
.heart{width:44px;height:44px}

/* 4 + 8: tap targets at least 44px on touch widths. */
.skip{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:1023px){
 a.logo,nav.crumbs>a,.crumbs a,.category-tab>a,.footer-social>a,.footer-link{min-height:44px;min-width:44px;display:inline-flex;align-items:center}
 nav.crumbs{align-items:center}
 .footer-social>a{justify-content:center}
 footer.reference-footer .footer-columns a.footer-link,.reference-footer .footer-columns a{min-height:44px;padding-block:10px}
}

/* Blog articles: table cells no longer break words mid-word on phones ("Objectiv / e"). */
.editorial-copy .editorial-table :is(th,td){overflow-wrap:normal;word-break:normal;hyphens:manual}
.editorial-copy .editorial-table :is(th,td):first-child{min-width:7.5em}

/* Logo scale (owner request 16 Nov): header 42px desktop / 31px phone, footer scaled by the same ratio. */
body #hdr a.logo img.wm,body header a.logo img.wm{height:42px;width:auto;max-width:none}
body footer a.logo img.wm{height:48px;width:auto;max-width:none}
@media(max-width:767px){
 body #hdr a.logo img.wm,body header a.logo img.wm{height:31px}
 body footer a.logo img.wm{height:38px}
}

/* Story clips: always show poster/video, 16:9, consistent spacing (Sami 16 Nov) */
.reference-home .home-v2 .v2-video.v2-story{aspect-ratio:16/9}
.reference-home .home-v2 .v2-video.v2-story video{opacity:1;pointer-events:auto}
.reference-home .home-v2 .v2-stories article>h3{margin:24px 0 10px!important;line-height:1.15}
.reference-home .home-v2 .v2-stories article>p{margin:0 0 14px!important}
.reference-home .home-v2 .v2-stories article>a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:767px){.reference-home .home-v2 .v2-stories article>h3{margin-top:20px!important}.reference-home .home-v2 .v2-stories{gap:40px}}
/* 22 Nov 2026 Sami fixes */
.fresh-hero-grid{overflow:hidden!important;scrollbar-width:none!important}
.fresh-hero-grid::-webkit-scrollbar{display:none}
[data-logo-band] .v2-logo-card{min-width:0;width:auto;height:auto;padding:8px 28px;border:0!important;background:none!important;border-radius:0;display:flex;align-items:center;justify-content:center}
[data-logo-band] .v2-logo-card img{height:44px;width:auto;max-width:120px;object-fit:contain;display:block;transition:transform .3s ease}
[data-logo-band] .v2-logo-card:hover img{transform:scale(1.08)}

.shop-banner-stage{min-height:0!important;background:none!important;border-radius:0!important;max-width:1280px;margin:0 auto;padding:0 20px}
.shop-banner{background:#ffffff!important;color:#281455!important;padding:48px 0 24px!important}.shop-gallery-slide{display:grid!important;grid-template-columns:repeat(3,1fr)!important;grid-template-rows:none!important;gap:16px;align-items:start;padding:0!important;min-height:0!important;background:none!important}
.shop-gallery-slide:not(.active){position:absolute;inset:0}
.shop-gallery-slide.active{position:relative}
.shop-gallery-item{display:block;color:#281455;text-decoration:none}
.shop-gallery-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;border-radius:16px;transition:transform .35s ease}
.shop-gallery-item:hover img{transform:translateY(-4px)}
.shop-gallery-item span{display:block;margin-top:10px;font:500 16px/1.3 'Inter Tight',Arial,sans-serif}
@media(max-width:767px){.shop-gallery-slide{grid-template-columns:1fr 1fr!important;gap:10px}.shop-gallery-slide .shop-gallery-item:nth-child(3){display:none}.shop-banner-stage{min-height:0!important}}
.collection-media img{aspect-ratio:4/3;object-fit:cover}
.video-soon-badge{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(0,0,0,.62);color:#ffffff;font:500 12px/1 'Inter Tight',Arial,sans-serif}
body [data-logo-band] .v2-rail-card.v2-logo-card{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:auto!important;aspect-ratio:auto!important;padding:8px 28px!important}
body [data-logo-band] .v2-rail-card.v2-logo-card img{height:44px!important;width:auto!important;max-width:120px!important;aspect-ratio:auto!important;object-fit:contain!important}
body [data-logo-band] .home-rail{padding-block:12px}
body [data-logo-band] .rail-group{gap:56px!important;padding-right:56px}
body [data-logo-band] .home-rail .rail-track,body [data-logo-band] .home-rail:hover .rail-track,body [data-logo-band] .v2-mockup-rail.v2-rail-paused .rail-track{animation-play-state:running!important}

/* 22 Nov 2026 customer audit fixes */
/* 8.1 Pages are visible by default; no opacity-0 start. */
body{animation:none!important;opacity:1!important}
/* 3.3 / 9.4 Footer links had no spacing and ran together. */
footer .footer-link{display:block!important;padding:5px 0!important;line-height:1.4}
/* 9.2 Shop: one clear, tappable action on planned items. */
body .collection-card .collection-ask{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:0 16px!important;border-radius:999px!important;border:1px solid currentColor!important;font-weight:600;text-decoration:none!important}
.collection-card small a,.collection-card .planned-note a{display:inline-block;min-height:44px;line-height:44px}
/* Header brief button (opens the enquiry brief drawer). */
body header .hact .brief-nav{display:inline-flex!important;align-items:center;gap:6px;min-height:40px!important;padding:0 14px!important;border-radius:999px;border:1px solid rgba(0,0,0,.15);background:transparent;font:inherit;font-weight:600;cursor:pointer;color:inherit}
.brief-nav .badge{position:static!important;transform:none!important;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#773dff;color:#fff;font-size:12px;line-height:20px;text-align:center}
/* 1.6 Empty testimonials block hidden until real quotes exist. */
[data-home-section="feedback"]{display:none!important}
