.bwdrd {
    --rd-ink: var(--v3-ink, #172333);
    --rd-line: var(--v3-border, #dce2e8);
    --rd-paper: var(--v3-paper, #fff);
    --rd-accent: var(--v3-orange-dark, #ad4312);
    color: var(--rd-ink);
    font-family: var(--font-sans, system-ui, sans-serif);
    line-height: 1.55;
    position: relative;
    isolation: isolate;
}
.bwdrd *, .bwdrd *::before, .bwdrd *::after { box-sizing: border-box; }
.bwdrd [hidden] { display: none !important; }
.bwdrd .bwdrd-demo { padding: 10px 16px; background: var(--v3-peach, #fff3e9); border-radius: 10px; margin: 0 0 20px; font-size: .875rem; }
.bwdrd-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.bwdrd-studio { position: sticky; top: calc(var(--bwd-header-h, 72px) + 16px); min-width: 0; }
.bwdrd-stage { position: relative; aspect-ratio: 4 / 3; min-height: 260px; border-radius: 20px; background: #f0eeeb; overflow: hidden; border: 1px solid var(--rd-line); }
.bwdrd-canvas { position: absolute; inset: 0; }
.bwdrd-canvas canvas { width: 100%; height: 100%; display: block; }
.bwdrd-views, .bwdrd-stage-tools { position: absolute; z-index: 1; display: flex; gap: 5px; flex-wrap: wrap; }
.bwdrd-views { top: 12px; left: 12px; }
.bwdrd-stage-tools { bottom: 12px; right: 12px; }
.bwdrd-stage button { min-height: 40px; padding: 5px 10px; font-size: .8rem; }
.bwdrd-loading, .bwdrd-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 18px; }
.bwdrd-fallback img { display: block; width: min(100%, 340px); height: auto; margin: auto; }
.bwdrd-fallback p, .bwdrd-hint, .bwdrd-summary { font-size: .86rem; margin: 8px 0; }
.bwdrd-engrave-strip { background: #f3f5f7; padding: 8px 12px; border-radius: 8px; }
.bwdrd-engrave-strip span { font-family: var(--font-display, Georgia, serif); padding-left: .5em; }
.bwdrd button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    border: 1px solid var(--rd-line); border-radius: 8px; padding: 7px 12px;
    color: var(--rd-ink); background: var(--rd-paper); font: inherit; font-weight: 650; cursor: pointer;
}
.bwdrd button[aria-pressed="true"], .bwdrd button:hover:not(:disabled) { border-color: var(--rd-accent); }
.bwdrd button:disabled { opacity: .54; cursor: default; }
.bwdrd button.bwdrd-primary { background: var(--rd-accent); color: white; border-color: var(--rd-accent); }
.bwdrd :is(button, input, textarea, select, a, [tabindex]):focus-visible,
.bwdrd-option:focus-within { outline: 2px solid var(--rd-accent); outline-offset: 3px; }
.bwdrd-step { border: 0; padding: 0 0 16px; margin: 0 0 16px; min-width: 0; border-bottom: 1px solid var(--rd-line); }
.bwdrd-step__title { font-weight: 750; font-size: 1rem; margin: 0 0 10px; }
.bwdrd-step__n { display: none; }
.bwdrd-profiles, .bwdrd-finishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bwdrd-option {
    cursor: pointer; display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
    min-height: 44px; padding: 9px 11px; border: 1px solid var(--rd-line); border-radius: 10px;
}
.bwdrd-option:has(input:checked) { border-color: var(--rd-accent); background: var(--v3-peach, #fff3e9); }
.bwdrd-option:has(input:disabled) { color: #5e6167; cursor: default; }
.bwdrd-option__reason:empty { display: none; }
.bwdrd-option__desc, .bwdrd-option__reason { font-size: .76rem; line-height: 1.35; display: block; }
.bwdrd-option__name { font-weight: 700; font-size: .89rem; }
.bwdrd-profile__shape { width: 50px; height: 25px; fill: currentColor; }
.bwdrd-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bwdrd-metal-group__label { margin: 10px 0 4px; font-size: .78rem; font-weight: 700; }
.bwdrd-swatch { align-items: center; text-align: center; }
.bwdrd-swatch__dot { width: 27px; height: 27px; border-radius: 50%; border: 1px solid #8a8180; background: linear-gradient(125deg, #ffffffb0, transparent 54%, #2a24242b), var(--bwdrd-swatch); }
.bwdrd-finish { flex-direction: row; }
.bwdrd-finish__tex { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; background: linear-gradient(140deg, #aaa, #eee, #8a8a8a); border-radius: 50%; }
.bwdrd-finish__tex[data-texture="brushed"] { background: repeating-linear-gradient(30deg, #969696 0 1px, #dedede 1px 3px); }
.bwdrd-finish__tex[data-texture="hammered"] { background: conic-gradient(#ddd, #999, #eee, #aaa, #ddd); }
.bwdrd-range__head, .bwdrd-range__scale { display: flex; justify-content: space-between; gap: 8px; }
.bwdrd-range__scale { font-size: .75rem; }
.bwdrd-range__input { width: 100%; min-height: 36px; accent-color: var(--rd-accent); margin: 0; }
.bwdrd :is(input:not([type="radio"], [type="range"], [type="checkbox"]), select, textarea) {
    width: 100%; min-height: 44px; border: 1px solid var(--rd-line); padding: 8px 10px;
    border-radius: 8px; background: var(--rd-paper); color: var(--rd-ink); font: inherit;
}
.bwdrd-bar {
    position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px;
    background: var(--rd-paper); border: 1px solid var(--rd-line); border-radius: 14px 14px 0 0;
    padding: 12px; box-shadow: 0 -4px 16px #17233312;
}
.bwdrd-bar strong { display: inline-block; margin-right: 5px; font-variant-numeric: tabular-nums; }
.bwdrd-bar [data-price] { font-size: 1.28rem; }
.bwdrd-label, .bwdrd-bar [data-vat] { font-size: .75rem; }
.bwdrd-label { display: block; }
.bwdrd-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.bwdrd-bar .bwdrd-actions { margin-left: auto; }
.bwdrd-breakdown { border: 1px solid var(--rd-line); padding: 0 14px; }
.bwdrd-breakdown__row { display: flex; justify-content: space-between; gap: 10px; }
.bwdrd-breakdown__row--total { font-weight: 750; border-top: 1px solid var(--rd-line); margin-top: 5px; }
.bwdrd-breakdown__row dd { margin: 0; }
.bwdrd-dialog { width: min(520px, calc(100% - 24px)); max-height: 90dvh; padding: 24px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-paper); color: var(--rd-ink); }
.bwdrd-dialog:not([open]) { display: none; }
.bwdrd-dialog::backdrop { background: #172333a0; }
.bwdrd-dialog label { display: block; margin-bottom: 8px; }
.bwdrd-dialog .bwdrd-consent { display: flex; align-items: baseline; gap: 8px; }
.bwdrd-msg { padding: 7px 12px; border-left: 3px solid var(--rd-accent); background: var(--v3-peach, #fff3e9); margin: 5px 0; font-size: .86rem; }
.bwdrd-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bwdrd[data-embed="1"] { margin: 12px; }
@media (max-width: 780px) {
    .bwdrd-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .bwdrd-studio { position: static; }
    .bwdrd-bar .bwdrd-actions { margin-left: 0; }
}
@media (max-width: 440px) {
    .bwdrd-bar { gap: 7px 12px; }
    .bwdrd-bar button { font-size: .75rem; padding-inline: 7px; }
}

