/* Ad data/markup remains recoverable: remove data-source-ad-hidden from a chosen wrapper to restore it. */
[data-source-ad-hidden="1"]{display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important;border:0!important;overflow:hidden!important}
.bundle-site-brand{display:block!important;width:auto!important;max-width:100%!important;height:48px!important;object-fit:contain!important;visibility:visible!important}
/* Empty hidden blocks must not leave spacing. */
.mac-flink-native:empty,.dynamic-flink:empty,.engine-flink:empty,[data-friend-group]:empty{display:none!important;margin:0!important;padding:0!important;border:0!important;min-height:0!important}
a,button{cursor:pointer}a[aria-disabled="true"]{cursor:default}
@media(max-width:600px){.bundle-site-brand{height:38px!important;max-width:65vw!important}}

.bundle-empty-collapse{display:none!important;margin:0!important;padding:0!important;min-height:0!important;height:0!important;border:0!important}

/* Search controls use real paging data and stay in the template's color scheme. */
.bundle-search-pagination{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;clear:both;width:100%;margin:20px 0;padding:0;list-style:none}
.bundle-search-pagination>a,.bundle-search-pagination>span{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;float:none!important;width:auto!important;min-width:62px;max-width:100%;height:auto!important;min-height:36px;padding:6px 12px;line-height:1.5!important;border:1px solid currentColor;border-radius:5px;font-size:14px;box-sizing:border-box;white-space:nowrap}
.bundle-search-pagination>[aria-disabled=true]{opacity:.45;cursor:default}
.bundle-related-section{clear:both;margin-top:24px}.bundle-related-section>h2{font-size:20px;line-height:1.5;margin:0 0 12px}

/* T307: keep the original category region visible without the retired Swiper UI. */
.head.bundle-native-header{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:182px minmax(0,1fr) auto;align-items:center;gap:12px 20px;width:100%;height:auto!important;min-height:80px;padding:12px 20px;box-sizing:border-box;overflow:visible;z-index:10}
.head.bundle-native-header>.left{display:contents!important;position:static!important;width:auto!important}
.head.bundle-native-header>.left>.logo{grid-column:1;grid-row:1;min-width:0}
.head.bundle-native-header .logo-brand{margin:0!important;max-width:100%}
.head.bundle-native-header>.right{grid-column:3;grid-row:1;position:static!important;height:auto!important;margin:0!important;min-width:0}
.head.bundle-native-header .head-nav.bundle-real-categories{grid-column:2;grid-row:1;position:static!important;display:block!important;width:100%!important;height:auto!important;min-width:0;overflow:hidden}
.head.bundle-native-header .bundle-real-category-list{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;width:100%;height:auto;margin:0;padding:0;list-style:none;transform:none}
.head.bundle-native-header .bundle-real-category-list>.bundle-real-category-item{display:block!important;position:static;width:auto;min-width:0;height:auto;margin:0;line-height:1.5}
.head.bundle-native-header .bundle-real-category-item>.nav-link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:40px;width:100%;height:100%;padding:8px 5px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;border:1px solid rgba(255,255,255,.15);border-radius:5px;background:rgba(255,255,255,.04)}
.head.bundle-native-header .bundle-real-category-item>.nav-link:hover{background:#333;color:#fff}
@media(max-width:1329px){.head.bundle-native-header{grid-template-columns:minmax(0,1fr) auto}.head.bundle-native-header>.right{grid-column:2}.head.bundle-native-header .head-nav.bundle-real-categories{grid-column:1/-1;grid-row:2}}
@media(max-width:767px){.head.bundle-native-header{padding:10px 12px;gap:8px}.head.bundle-native-header .bundle-real-category-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.head.bundle-native-header .bundle-real-category-list>.bundle-nav-home{display:none!important}.head.bundle-native-header .bundle-real-category-list>.bundle-real-category-item:nth-child(n+10){display:none!important}.head.bundle-native-header .bundle-real-category-item>.nav-link{font-size:14px;min-height:40px}}
