/* 2026-10-31: full-width banners and isolated purchase row layout. */
.dbn2.dbn2-home,.dbn2.dbn2-cat{width:var(--dbn2-viewport,100vw);max-width:none;margin-left:calc(50% - var(--dbn2-viewport,100vw)/2);margin-right:0;padding:0}
.dbn2 .bn{border-radius:0}
.dbn2 .bn .row{margin-left:0;margin-right:0;padding:0;min-height:0;width:auto}
.dbn2 .bn .row::before,.dbn2 .bn .row::after{display:none;content:none}
.dbn2 .bn .row>*{margin-left:0;margin-right:0}
@media(min-width:1024px){
 .dbn2 .home-d{--g:max(24px,calc((100% - 1200px)/2));--pw:calc(var(--g) + 600px + 90px);min-height:500px}
 .dbn2 .home-d .pin{left:var(--g);padding:34px 0;justify-content:center}
 .dbn2 .home-d h2{font-size:clamp(40px,3.35cqw,52px);margin-top:18px;line-height:1.08}
 .dbn2 .home-d .gifts{flex-direction:column;gap:10px;margin-top:22px}
 .dbn2 .home-d:not(.sx) .row{flex-direction:column;align-items:flex-start;gap:20px;margin-top:28px}
 .dbn2 .home-d .price{flex-wrap:wrap;gap:14px}
 .dbn2 .home-d .price strong{font-size:clamp(44px,3.4cqw,58px)}
 .dbn2 .home-d .btn{padding:17px 28px;min-height:56px}
 .dbn2 .home-d.sx{--pw:calc(var(--g) + 700px + 90px)}
 .dbn2 .cat-d{--g:max(24px,calc((100% - 1200px)/2));--pw:calc(var(--g) + 740px);width:100%;height:220px;margin:0}
 .dbn2 .cat-d .pin{left:var(--g);width:640px}
 .dbn2 .cat-d .ph,.dbn2 .cat-d.sx .stg{left:calc(var(--g) + 640px)}
}
@media(min-width:1024px) and (max-width:1279.98px){
 .dbn2 .home-d{--pw:calc(var(--g) + 540px + 70px);--slant:70px;min-height:480px}
 .dbn2 .home-d .pin{width:540px}
 .dbn2 .home-d .gifts,.dbn2 .home-d .desc{font-size:20px}
 .dbn2 .home-d.sx{--pw:calc(var(--g) + 570px + 70px)}
 .dbn2 .home-d.sx .pin{width:570px}
 .dbn2 .home-d.sx .row{flex-wrap:wrap;gap:16px}
 .dbn2 .home-d.sx .rp-tag{width:100px;height:100px;font-size:17px;right:5%}
 .dbn2 .home-d.sx .rp-tx{min-width:0;max-width:90%}
}
@media(max-width:1023.98px){
 .dbn2 .home-m .row{margin-left:0;margin-right:0}
 .dbn2 .cat-m .pin{padding:20px max(16px,calc((100% - 700px)/2))}
 .dbn2 .home-m .gifts span,.dbn2 .cat-m .gifts span{white-space:normal;align-items:flex-start}
 .dbn2 .home-m .price{flex-wrap:wrap}
}

/* Fibrotop desktop: fill the photo window instead of blurring unused space. */
.dbn2 .home-d .ph:has(img[src*="home-fibrotop-classic-desktop"]) img:not(.bg){width:100%!important;height:100%!important;left:0!important;top:0!important;object-fit:cover;object-position:right center;mask-image:none!important;-webkit-mask-image:none!important}
.dbn2 .home-d .ph:has(img[src*="home-fibrotop-classic-desktop"]) .bg{display:none}
/* Photos fill their own frame; no synthetic blurred wall or fade mask. */
.dbn2 .home-d .ph img:not(.bg),.dbn2 .cat-d .ph img:not(.bg){width:100%!important;height:100%!important;left:0!important;top:0!important;object-fit:cover;object-position:right center;mask-image:none!important;-webkit-mask-image:none!important}
.dbn2 .home-d .ph .bg,.dbn2 .cat-d .ph .bg{display:none}
.dbn2 .home-d .ph:has(img[src*="home-purchase-desktop"]),.dbn2 .home-d .ph:has(img[src*="desktop-uncovered-neutral"]){left:calc(var(--pw) - var(--slant))}
@media(min-width:1024px) and (max-width:1599.98px){
.dbn2 .home-d .ph:has(img[src*="home-purchase-desktop"]) img,.dbn2 .home-d .ph:has(img[src*="desktop-uncovered-neutral"]) img{object-position:center 65%}
}
.dbn2 .cat-d .ph:has(img[src*="category-fibrotop-desktop"]) img:not(.bg),.dbn2 .cat-d .ph:has(img[src*="category-delivery-desktop"]) img:not(.bg),.dbn2 .cat-d .ph:has(img[src*="desktop-uncovered-neutral"]) img:not(.bg){object-position:center}
/* Remove the obsolete space reserved above category content. */
.tygh-content .cat-content-grid:has(.dbn2-cat){padding-top:0!important}

/* Subtle sheen on banner calls to action, with long pauses between passes. */
.dbn2 .btn,.dbn2 .go{position:relative;overflow:hidden;isolation:isolate;transition:box-shadow .22s ease,filter .22s ease}
.dbn2 .btn::after,.dbn2 .go::after{content:"";position:absolute;inset:0 auto 0 0;width:45%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);pointer-events:none;transform:translateX(-220%) skewX(-20deg);opacity:0;z-index:1}
.dbn2 .is-on .btn::after,.dbn2 .is-on .go::after{animation:dbn2-button-sheen 5.2s ease-in-out infinite}
.dbn2 .btn:hover,.dbn2 .go:hover,.dbn2 .btn:focus-visible,.dbn2 .go:focus-visible{filter:brightness(1.04);box-shadow:0 0 0 2px rgba(255,255,255,.2),0 6px 18px rgba(0,44,64,.16)}
@keyframes dbn2-button-sheen{0%,64%{transform:translateX(-220%) skewX(-20deg);opacity:0}68%{opacity:1}84%,100%{transform:translateX(320%) skewX(-20deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.dbn2 .btn,.dbn2 .go{transition:none}.dbn2 .btn::after,.dbn2 .go::after{animation:none!important;opacity:0!important}}

/* Approved mat palette only; other campaigns retain their individual colors. */
.dbn2 .bn.dbn2-mat{--bg:#0d3657!important;--fg:#ffffff!important;--acc:#7ee3d5!important;--kbg:#d8f3ef!important;--kfg:#13566a!important;--bbg:linear-gradient(110deg,#7ee3d5,#a7efdd)!important;--bfg:#0d3657!important;--sub:#a9c4d5!important}
.dbn2 .bn.dbn2-mat .off{background:#d8f3ef;color:#13566a}

/* Render only the server-selected slide before JS initializes, including cached fragments. */
.dbn2:not(.is-ready) .dbn2-slide{visibility:hidden!important;opacity:0!important;transition:none!important}
.dbn2:not(.is-ready) .dbn2-slide.dbn2-initial{visibility:visible!important;opacity:1!important}
/* A shared action column prevents CTA movement between category slides. */
@media(min-width:1024px){
 .dbn2 .cat-d:not(.sx) .pin{display:grid;grid-template-columns:400px 216px;column-gap:24px;justify-content:start}
 .dbn2 .cat-d:not(.sx) .r{width:216px;height:160px;justify-content:flex-end;gap:12px}
 .dbn2 .cat-d:not(.sx) .r>.btn{width:216px;min-height:44px;box-sizing:border-box;justify-content:center;padding-left:12px;padding-right:12px;white-space:nowrap}
 .dbn2 .cat-d:not(.sx) .l:only-child{grid-column:1/-1}
 .dbn2 .cat-d .dt-fibrotop-price{width:216px}
 .dbn2 .cat-d .dt-fibrotop-price strong{font-size:34px}
 .dbn2 .home-d:not(.sx) .pin{justify-content:flex-start}
 .dbn2 .home-d:not(.sx) .row{margin-top:auto}
 .dbn2 .home-d:not(.sx) .btn{min-width:240px;box-sizing:border-box;justify-content:center}
}
@media(max-width:1023.98px){
 .dbn2 .home-m:not(.sx) .row{margin-top:auto;padding-top:20px}
 .dbn2 .home-m .dt-fibrotop-price{width:100%;flex-wrap:wrap}
 .dbn2 .home-m .dt-fibrotop-price strong{flex-basis:100%}
 .dbn2 .cat-m .dt-fibrotop-price{flex-wrap:wrap;gap:6px 10px;min-width:0}
 .dbn2 .cat-m .dt-fibrotop-price strong{flex-basis:100%}
 .dbn2 .cat-m .dt-fibrotop-price .off{font-size:13px;padding:3px 6px}
}

.dbn2 .dt-fibrotop-price .off{background:var(--kbg);color:var(--kfg)}
@media(max-width:1023.98px){.dbn2 .cat-m:not(.sx) .row{padding-top:14px}}
