[data-tb-design-product][hidden], [data-tb-design-review-slot][hidden] { display: none !important; }
[data-tb-launch-model]:not([hidden]) + #tbqq-overview-cta { display: none !important; }
/* Match the product toolbar's primary custom-work action, including theme overrides. */
.productView .tbProduct-tools button.button[data-tb-launch-model] {
    --design-color: #d60000;
    --design-hover: #a80000;
    background: var(--design-color) !important;
    border-color: var(--design-color) !important;
    color: white !important;
    gap: 8px;
}
.productView .tbProduct-tools button[data-tb-launch-model][data-resume-key]:not([data-resume-key=""]) {
    --design-color: #2e7d32;
    --design-hover: #245e28;
}
.productView .tbProduct-tools button.button[data-tb-launch-model]:is(:hover, :focus-visible, :active) {
    background: var(--design-hover) !important;
    border-color: var(--design-hover) !important;
}
[data-tb-launch-model] svg { width: 23px; height: 23px; flex: none; vertical-align: middle; }
[data-tb-design-review] { position: relative; }
[data-design-count] { font-weight: inherit; }
[data-design-compact-count] { display: none; }
@media (max-width: 1199px) {
    .tb-header-main [data-design-compact-count] {
        display: block; position: absolute; right: 0; top: 0; min-width: 16px;
        padding: 1px 3px; border-radius: 10px; background: #245e28; color: white;
        font: bold 10px/14px sans-serif; text-align: center;
    }
}
.tb-designer-tile .tb-designer-photo { display: block; color: inherit; }
.tb-designer-tile { container: designer-tile / inline-size; }
.tb-homeCategories .tb-designer-tile .tb-tile__link-row { display: flex; flex-wrap: nowrap; gap: 5px; align-items: center; }
.tb-designer-tile .tb-tile__title { flex: 1 1 auto; min-width: 0; }
.tb-designer-tile .tb-tile__cue { display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.tb-designer-tile .tb-tile__cue svg { width: 17px; height: 17px; flex: none; }
.tb-designer-tile .tb-tile__cue .tb-tile__cue-label { display: inline; }
.tb-designer-tile .tb-tile__cue .tb-tile__cue-arrow { display: none; }
@container designer-tile (max-width: 290px) {
    .tb-designer-tile .tb-tile__cue .tb-tile__cue-label { display: none; }
}
@container designer-tile (max-width: 195px) {
    .tb-homeCategories .tb-designer-tile .tb-tile__link-row { padding-inline: 4px; gap: 2px; }
    .tb-homeCategories .tb-designer-tile .tb-tile__cue { min-width: 30px; padding-inline: 4px; }
    .tb-designer-tile .tb-tile__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.tb-designer-tile .tb-designer-shop { color: inherit; text-decoration: none; }
.tb-designer-pair { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
html.tb-designer-open { overflow: hidden; }
dialog.tb-designer-dialog { position: fixed; inset: 0; margin: auto; width: 97vw; max-width: 1900px; height: 94vh; height: 94dvh; max-height: none; padding: 0; border: 1px solid #c8c5c0; border-radius: 8px; background: white; color: #222; }
dialog.tb-designer-dialog[open] { display: flex; flex-direction: column; }
.tb-designer-dialog::backdrop { background: rgba(22, 22, 22, .58); }
.tb-designer-dialog header { display: flex; flex: none; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #e2e5e5; }
.tb-designer-dialog header strong { flex: 1; min-width: 0; font-size: 20px; line-height: 1.25; }
.tb-designer-dialog header nav { display: flex; align-items: center; gap: 8px; }
.tb-designer-dialog header :is(button, a.tb-designer-action) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 44px; margin: 0; padding: 0 14px; border: 1px solid #d2cec4; border-radius: 7px; background: var(--tb-ui-secondary,#f4f1e9); color: var(--tb-ui-secondary-text,#654423); font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.25; text-decoration: none; cursor: pointer; }
.tb-designer-dialog header :is(button, a):focus-visible { outline: 2px solid #654423; outline-offset: 2px; }
.tb-designer-dialog header nav :is(a, button):hover { background: var(--tb-ui-secondary-hover,#e4ded1); }
.tb-designer-dialog header .tb-designer-action svg { color: #d60000; flex: none; }
.tb-designer-dialog header :is([data-expand],[data-back]) { width: 44px; padding: 0; border-radius: 5px; }
.tb-designer-dialog header [data-expand] { background: white; color: #173d49; border-color: #a7bdc3; }
.tb-designer-dialog header [data-back] { background: #f5f5f5; color: #181818; border-color: #bbb; font-size: 28px; }
.tb-designer-dialog iframe { flex: 1 1 auto; min-height: 0; border: 0; width: 100%; }
.tb-designer-dialog p[role=status] { padding: 12px; margin: 0; }
dialog.tb-designer-dialog.is-expanded { inset: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; border-radius: 0; }
@media (max-width: 720px) {
    dialog.tb-designer-dialog { width: 100vw; max-width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
    .tb-designer-dialog header { gap: 4px; padding: 5px; }
    .tb-designer-dialog header strong { font-size: 15px; }
    .tb-designer-dialog header nav { gap: 4px; }
    .tb-designer-dialog header .tb-designer-action { width: 44px; padding: 0; }
    .tb-designer-dialog header .tb-designer-action span { display: none; }
    [data-tb-design-review-slot] button { white-space: normal !important; line-height: 1.1; }
}
.tb-designer-surface { display:flex; flex:1; min-height:0; flex-direction:column; background:white; }
