.bd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
    height: calc(100vh - 7.25rem);
    min-height: 560px;
}
.bd-stage-wrap { min-height: 0; height: 100%; }
.bd-stage {
    position: relative;
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(23, 34, 29, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.bd-stage__frame {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #d7e3dc;
    overflow: hidden;
}
.bd-stage:not(.measure-on) .designer-measure-svg { visibility: hidden; }
.bd-stage__zoom {
    position: absolute;
    inset: 0;
    transform-origin: 50% 50%;
}
.bd-bin {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}
.bin-preview-art {
    position: absolute;
    left: 30%;
    width: 40%;
    top: 52%;
    transform: translateY(-50%);
    height: auto;
    display: block;
    overflow: visible;
    padding: 0;
    min-height: 0;
    box-sizing: border-box;
    background: transparent;
}
.bd-stage.is-sticker .bd-bin { display: none; }
.bd-stage.is-sticker .bd-stage__frame { background: #1a7340; }
.designer-measure-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}
.bd-pill {
    position: absolute;
    z-index: 6;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #17221D;
}
.bd-pill--help { left: auto; right: 0.85rem; text-decoration: none; }
.bd-stage-bar {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    flex-wrap: wrap;
}
.bd-zoom, .bd-views, .bd-align, .bd-qty__stepper {
    display: inline-flex;
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 12px;
    overflow: hidden;
}
.bd-zoom button, .bd-views button, .bd-align button, .bd-qty__stepper button {
    border: 0;
    background: #fff;
    min-width: 42px;
    min-height: 42px;
    color: #17221D;
}
.bd-zoom span, .bd-qty__stepper input {
    min-width: 58px;
    text-align: center;
    font-weight: 700;
    align-self: center;
}
.bd-qty__stepper input {
    border: 0;
    width: 48px;
    height: 42px;
}
.bd-views button, .bd-align button { padding: 0 0.75rem; font-weight: 700; }
.bd-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.bd-styles button {
    border: 1px solid #e6ece9;
    background: #fff;
    border-radius: 999px;
    min-height: 40px;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    color: #17221D;
}
.bd-styles button svg { display: none; }
.bd-styles button.is-selected {
    background: #e7f6ef;
    color: #075E45;
    border-color: #087F5B;
}
.bd-frame { width: 100%; height: 100%; display: block; }
.bd-views button.is-selected, .bd-align button.is-selected, .bd-size.is-selected {
    background: #e7f6ef;
    color: #075E45;
}
.bd-panel {
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 18px;
    padding: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.bd-panel__scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0.85rem 1rem 0.35rem;
}
.bd-steps {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: #6c757d;
}
.bd-steps li { display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.bd-steps li > span:first-child {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f0;
    font-weight: 800;
    flex: 0 0 auto;
}
.bd-steps .bd-step-long,
.bd-steps .bd-step-short {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: inherit;
    font-weight: inherit;
}
.bd-steps .bd-step-short { display: none; }
.bd-steps .is-current { color: #075E45; font-weight: 800; }
.bd-steps .is-current > span:first-child { background: #087F5B; color: #fff; }
.bd-panel h1 { font-size: 1.7rem; margin-bottom: 0.25rem; }
.bd-lead { color: #5c6b64; }
.bd-field { margin: 1rem 0; }
.bin-preview-line {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0;
    width: max-content;
    max-width: none;
    cursor: grab;
    user-select: none;
    touch-action: none;
}
.bin-preview-line.is-arced {
    width: 0;
    height: 0;
    overflow: visible;
}
.bd-arc-ch {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    white-space: pre;
    transform-origin: center center;
}
.bin-preview-line.is-holo,
.bd-arc-ch.is-holo {
    background-image: linear-gradient(90deg, #a8edea 0%, #fed6e3 25%, #d4f1f4 40%, #f5efef 55%, #e0c3fc 70%, #8ec5fc 85%, #b6f9c9 100%);
    background-size: 220% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: bdHolo 3s ease-in-out infinite;
}
@keyframes chromeShine {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}
.bd-guide { position: absolute; pointer-events: none; z-index: 3; }
.bd-guide-x { left: 4%; right: 4%; top: 50%; height: 0; border-top: 1px dashed rgba(47, 128, 237, 0.85); }
.bd-guide-y { top: 4%; bottom: 4%; left: 50%; width: 0; border-left: 1px dashed rgba(47, 128, 237, 0.85); }
.bd-autofit { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.45rem; font-weight: 700; }
.bd-fit-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.45rem 0 0;
    color: #9a3412;
    font-size: 0.78rem;
    font-weight: 700;
}
.bd-fit-note[hidden] { display: none; }
.bd-fit-note button {
    margin-left: auto;
    border: 1px solid #f3d0d0;
    background: #fff;
    color: #9a3412;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
}
.bd-layer__grip { cursor: grab; color: #8aa097; font-weight: 700; }
.bin-line-row {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.35rem;
    border: 1px solid #e6ece9;
    border-radius: 12px;
    padding: 0.35rem 0.4rem 0.35rem 0.5rem;
    background: #fff;
    cursor: pointer;
}
.bin-line-row.is-selected { border-color: #087F5B; background: #f3fbf7; }
.bin-line-row.is-hidden { opacity: 0.45; }
.bd-layer__mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #e7f6ef;
    color: #075E45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: none;
}
.bd-layer__copy { min-width: 0; flex: 1; }
.bd-layer__title, .bd-layer__meta { display: block; }
.bd-layer__title { font-weight: 800; }
.bd-layer__meta { color: #6c757d; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-layer__tools { display: inline-flex; gap: 0.15rem; }
.bd-layer__tools button {
    border: 0;
    background: transparent;
    min-width: 28px;
    min-height: 28px;
    color: #5c6b64;
    padding: 0;
}
.bin-line-label, .bin-line-count { font-size: 0.78rem; color: #6c757d; }
.bin-line-row input { min-height: 46px; }
.bin-line-remove {
    border: 0;
    background: transparent;
    color: #D64545;
    min-width: 42px;
    min-height: 42px;
}
.bd-add-line {
    border: 0;
    background: transparent;
    color: #087F5B;
    font-weight: 700;
    padding: 0.25rem 0;
}
.bin-colors { display: flex; flex-direction: column; gap: 0.55rem; }
.bd-color-group { display: flex; align-items: flex-start; gap: 0.5rem; }
.bd-color-group__label {
    flex: 0 0 4.7rem;
    margin: 0;
    padding-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #5c6b64;
}
.bd-color-group__swatches { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.bin-color {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
}
.bin-color.is-white { border: 2px solid #333; }
.bin-color.is-selected { border: 3px solid #087F5B; box-shadow: 0 0 0 1px #087F5B; }
.bin-color__extra {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    font-size: 0.45rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 1px #000, 0 1px 2px rgba(0,0,0,0.8);
    pointer-events: none;
}
.bin-color.is-holo {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 15%, #d4f1f4 30%, #f5efef 45%, #e0c3fc 60%, #8ec5fc 75%, #b6f9c9 90%, #a8edea 100%);
    background-size: 200% 200%;
    animation: bdHolo 3s ease-in-out infinite;
}
.bin-color.is-chrome { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 4px rgba(0,0,0,0.18); }
.bin-color.is-chrome[data-hex="#d4dbdf"] { background-image: linear-gradient(135deg, #2c3236 0%, #6d7579 10%, #8e969a 25%, #b4bcc0 36%, #d0d6d8 43%, #e8ecee 50%, #d0d6d8 57%, #b4bcc0 64%, #8e969a 75%, #6d7579 90%, #2c3236 100%); }
.bin-color.is-chrome[data-hex="#b29742"] { background-image: linear-gradient(135deg, #2e2610 0%, #6e5c28 10%, #9a8038 25%, #b29742 36%, #d4bc78 43%, #e8cc88 50%, #d4bc78 57%, #b29742 64%, #9a8038 75%, #6e5c28 90%, #2e2610 100%); }
.bin-color.is-chrome[data-hex="#2e62d1"] { background-image: linear-gradient(135deg, #081838 0%, #1a3878 10%, #2e62d1 25%, #5080e0 36%, #6894e8 43%, #88b0f0 50%, #6894e8 57%, #5080e0 64%, #2e62d1 75%, #1a3878 90%, #081838 100%); }
.bin-color.is-chrome[data-hex="#05f2e3"] { background-image: linear-gradient(135deg, #01655e 0%, #028a82 10%, #05b8ad 25%, #05e0d4 36%, #3ef9ee 43%, #8afdf4 50%, #3ef9ee 57%, #05e0d4 64%, #05b8ad 75%, #028a82 90%, #01655e 100%); }
.bin-color.is-chrome[data-hex="#844b9a"] { background-image: linear-gradient(135deg, #221228 0%, #4d2b5a 10%, #844b9a 25%, #9658ac 36%, #b078c8 43%, #c490d8 50%, #b078c8 57%, #9658ac 64%, #844b9a 75%, #4d2b5a 90%, #221228 100%); }
@keyframes bdHolo { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.bd-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
.bd-size {
    position: relative;
    text-align: left;
    border: 1px solid #e6ece9;
    border-radius: 12px;
    background: #fff;
    padding: 0.55rem 0.6rem;
    min-height: 58px;
}
.bd-size span, .bd-size strong { display: block; }
.bd-size.is-selected { border-color: #087F5B; }
.bd-size i { position: absolute; top: 0.45rem; right: 0.45rem; color: #087F5B; }
.bd-buy {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
    margin: 0;
    padding: 0.7rem 1rem;
    border-top: 1px solid #eef2f0;
    background: #fff;
}
.bd-qty, .bd-total { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.82rem; color: #5c6b64; }
#bin-price { font-size: 1.35rem; color: #17221D; }
.bd-tools {
    position: absolute;
    z-index: 7;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 16px;
    padding: 0.35rem;
    box-shadow: 0 8px 24px rgba(23, 34, 29, 0.08);
}
.bd-tools button {
    border: 0;
    background: transparent;
    border-radius: 12px;
    min-width: 52px;
    min-height: 52px;
    color: #17221D;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
}
.bd-tools button i { font-size: 1.05rem; }
.bd-tools button:disabled { opacity: 0.35; }
.bd-tools button.is-selected { background: #e7f6ef; color: #075E45; }
.bd-selection {
    position: absolute;
    border: 1.5px solid #2f80ed;
    pointer-events: none;
    z-index: 6;
    box-sizing: border-box;
}
.bd-selection i, .bd-selection__rot { pointer-events: auto; touch-action: none; cursor: grab; }
.bd-selection i, .bd-selection__rot {
    position: absolute;
    width: 9px;
    height: 9px;
    background: #fff;
    border: 1.5px solid #2f80ed;
    border-radius: 50%;
}
.bd-selection i:nth-child(1) { left: -5px; top: -5px; }
.bd-selection i:nth-child(2) { left: 50%; top: -5px; transform: translateX(-50%); }
.bd-selection i:nth-child(3) { right: -5px; top: -5px; }
.bd-selection i:nth-child(4) { right: -5px; top: 50%; transform: translateY(-50%); }
.bd-selection i:nth-child(5) { right: -5px; bottom: -5px; }
.bd-selection i:nth-child(6) { left: 50%; bottom: -5px; transform: translateX(-50%); }
.bd-selection i:nth-child(7) { left: -5px; bottom: -5px; }
.bd-selection i:nth-child(8) { left: -5px; top: 50%; transform: translateY(-50%); }
.bd-selection__rot { left: 50%; top: -22px; transform: translateX(-50%); width: 16px; height: 16px; }
.bd-field__head, .bd-editor__text { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.bd-editor__empty, .bd-idle-note { display: none; margin: 0.35rem 0 0; color: #5c6b64; font-size: 0.82rem; }
.bd-editor.is-idle .bd-editor__empty, .bd-editor.is-idle .bd-idle-note { display: block; }
.bd-editor.is-idle .bd-needs-line { display: none; }
.bd-hint { margin: 0.45rem 0 0; color: #5c6b64; font-size: 0.78rem; }
.bd-hint:empty { display: none; }
.bd-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.bd-type-toggles { display: inline-flex; gap: 0.35rem; margin-top: 0.65rem; }
.bd-type-toggles button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e6ece9;
    background: #fff;
    font-weight: 800;
}
.bd-type-toggles button.is-selected { background: #e7f6ef; border-color: #087F5B; color: #075E45; }
.bd-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; margin-bottom: 0.6rem; }
.bd-metrics label { font-size: 0.75rem; color: #5c6b64; }
.bd-metrics input {
    display: block;
    width: 100%;
    margin-top: 0.2rem;
    border: 1px solid #e6ece9;
    border-radius: 10px;
    min-height: 38px;
    padding: 0 0.5rem;
    background: #f8faf9;
}
.bd-layer-actions { display: inline-flex; gap: 0.15rem; }
.bd-layer-actions button {
    border: 1px solid #e6ece9;
    background: #fff;
    border-radius: 10px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    font-weight: 700;
    color: #17221D;
}
.bd-layer-actions button:disabled { opacity: 0.35; }
.bd-steps { background: #f4f7f5; border-radius: 999px; padding: 0.3rem; }
.bd-steps .is-current { background: #fff; border-radius: 999px; padding: 0.2rem 0.55rem 0.2rem 0.2rem; }
.bd-acc { border-top: 1px solid #eef2f0; }
.bd-acc__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    min-height: 42px;
    padding: 0.35rem 0;
    font-weight: 800;
    color: #17221D;
    text-align: left;
}
.bd-acc__head::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #8aa097;
    border-bottom: 2px solid #8aa097;
    transform: rotate(45deg);
    margin-right: 0.25rem;
    flex: 0 0 auto;
}
.bd-acc.is-open .bd-acc__head::after { transform: rotate(225deg); margin-top: 0.3rem; }
.bd-acc__title { margin-right: auto; }
.bd-acc__meta { margin-right: 0.55rem; color: #5c6b64; font-size: 0.78rem; font-weight: 700; }
.bd-acc__meta:empty { display: none; }
.bd-step-short { display: none; }
.bd-sheet__handle { display: none; }
.bd-color__sheet-bar, .bd-color__picked { display: none; }
.bd-app-cart { display: none; }
.bd-acc__body { display: none; padding: 0 0 0.75rem; }
.bd-acc.is-open .bd-acc__body { display: block; }
.bd-style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-top: 0.45rem; }
.bd-style-grid .form-select, .bd-editor__text .form-control { min-height: 38px; }
.bd-color { position: relative; }
.bd-color--sticker { margin-top: 0.7rem; }
.bd-color--sticker .bd-color__pop {
    top: auto;
    bottom: calc(100% + 4px);
    width: min(460px, 92vw);
}
.bd-color__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #e6ece9;
    background: #fff;
    border-radius: 10px;
    min-height: 38px;
    padding: 0 0.6rem;
    font-weight: 700;
}
.bd-color__toggle i:first-child, #bin-color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #d5ddd8;
    display: inline-block;
}
.bd-color__toggle .bi-chevron-down { margin-left: auto; color: #8aa097; font-size: 0.75rem; }
.bd-color__pop {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    width: min(260px, 70vw);
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 12px 28px rgba(23, 34, 29, 0.14);
}
.bin-color { width: 28px; height: 28px; }
@media (max-width: 991px) {
    body.bd-app #tawkchat-container,
    body.bd-app .tawk-min-container,
    body.bd-app iframe[title="chat widget"],
    body.bd-app iframe[title="Chat widget"],
    body.bd-app [class*="tawk"],
    body.bd-app [id*="tawk"],
    body.bd-app [class*="ndrsl"],
    body.bd-app [class*="NDRSL"],
    body.bd-app [id*="ndrsl"],
    body.bd-app [id*="NDRSL"],
    body.bd-app [class*="REVIEWHQ"],
    body.bd-app [class*="endorsal"],
    body.bd-app [id*="endorsal"] {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
    body.bd-app {
        height: 100dvh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    body.bd-app #countdown-banner,
    body.bd-app #panic-sale-banner,
    body.bd-app #holiday-notice-banner,
    body.bd-app footer,
    body.bd-app .breadcrumb { display: none !important; }
    body.bd-app .navbar-container { display: flex; align-items: center; }
    body.bd-app .navbar-toggler { order: 0; margin-right: 0.35rem; }
    body.bd-app .navbar-brand { order: 1; margin-right: auto; }
    body.bd-app .bd-app-cart {
        order: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: #17221D;
        font-size: 1.25rem;
        text-decoration: none;
    }
    body.bd-app main {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    body.bd-app .bin-designer {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 0 !important;
    }
    body.bd-app #bin-designer-alert { margin: 0.4rem 0.75rem; }
    .bd-layout {
        flex: 1;
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .bd-stage-wrap {
        flex: 1 1 auto;
        min-height: 38vh;
        height: auto;
    }
    .bd-stage { height: 100%; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
    .bd-stage__frame { flex: 1; min-height: 0; height: auto; }
    .bd-tools {
        top: 0.45rem;
        left: 0.45rem;
        transform: none;
        flex-direction: column;
        gap: 0.1rem;
        padding: 0.2rem;
        border-radius: 14px;
    }
    .bd-tools button { min-width: 44px; min-height: 44px; font-size: 0.62rem; }
    .bd-stage-bar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0.45rem;
        z-index: 6;
        justify-content: center;
        padding: 0;
        background: transparent;
    }
    .bd-zoom { display: none; }
    .bd-views { background: rgba(255,255,255,0.94); box-shadow: 0 6px 16px rgba(23,34,29,0.12); }
    .bd-views button { min-height: 40px; padding: 0 0.7rem; }
    .bd-panel {
        flex: 0 1 auto;
        height: auto;
        max-height: 46%;
        min-height: 0;
        border-radius: 18px 18px 0 0;
        border-bottom: 0;
        box-shadow: 0 -10px 28px rgba(23, 34, 29, 0.08);
    }
    .bd-sheet__handle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 22px;
        border: 0;
        background: #fff;
        padding: 0.35rem 0 0.15rem;
        touch-action: none;
    }
    .bd-sheet__handle span {
        width: 42px;
        height: 4px;
        border-radius: 999px;
        background: #d5ddd8;
    }
    .bd-panel__scroll { overflow: auto; padding: 0 0.85rem 0.35rem; }
    .bd-steps { margin: 0 0 0.15rem; font-size: 0.75rem; justify-content: space-between; }
    .bd-steps .bd-step-long { display: none; }
    .bd-steps .bd-step-short { display: inline; }
    .bd-acc__head { min-height: 44px; font-size: 0.92rem; }
    .bd-buy {
        grid-template-columns: auto minmax(0, 1fr) auto;
        position: sticky;
        bottom: 0;
        z-index: 8;
        padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 24px rgba(23, 34, 29, 0.06);
    }
    .bd-buy #bin-add { min-height: 44px; white-space: nowrap; }
    .bd-qty__stepper button, .bd-qty__stepper input { min-height: 44px; }
    #bin-price { font-size: 1.15rem; }
    .bd-editor .form-range { height: 1.75rem; }
    .bd-layer__tools button, .bd-add-line, .bd-type-toggles button, .bd-align button { min-height: 44px; }
    .bd-color__sheet-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.55rem;
    }
    .bd-color__sheet-bar button {
        border: 0;
        background: #075E45;
        color: #fff;
        border-radius: 999px;
        min-height: 36px;
        padding: 0 0.8rem;
        font-weight: 800;
    }
    .bd-color__picked { display: block; margin: 0.65rem 0 0; font-size: 0.85rem; font-weight: 700; }
    body.bd-app.is-color-open .bin-color { width: 40px; height: 40px; }
    body.bd-app.is-color-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(23, 34, 29, 0.38);
        z-index: 70;
    }
    body.bd-app.is-color-open .bd-color__pop,
    .bd-color--sticker .bd-color__pop {
        position: fixed;
        z-index: 80;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-height: min(68vh, 520px);
        overflow: auto;
        border-radius: 18px 18px 0 0;
        padding: 0.9rem 0.9rem calc(1rem + env(safe-area-inset-bottom));
    }
    body.bd-app.is-sheet-mid .bd-stage-wrap { flex: 0 0 24vh; min-height: 128px; }
    body.bd-app.is-sheet-mid .bd-panel { flex: 1 1 auto; max-height: none; }
    body.bd-app.is-sheet-full .bd-stage-wrap { flex: 0 0 108px; min-height: 108px; }
    body.bd-app.is-sheet-full .bd-panel { flex: 1 1 auto; max-height: none; }
}
@media (max-width: 400px) {
    .bd-tools span { display: none; }
    .bd-tools button { min-width: 40px; min-height: 40px; }
    .bd-views button { padding: 0 0.5rem; font-size: 0.78rem; }
}
@media (min-width: 414px) and (max-width: 991px) {
    .bd-style-grid { gap: 0.7rem; }
}
