.dpfw { --dpfw-accent: #bc2431; --dpfw-ink: #20242a; --dpfw-line: #e3e5e8; --dpfw-soft: #f6f7f8; color: var(--dpfw-ink); font-family: inherit; font-size: 14px; line-height: 1.5; width: 100%; max-width: 100%; margin: 24px auto; text-align: start; container-type: inline-size; }
.dpfw,.dpfw *,.dpfw *::before,.dpfw *::after { box-sizing: border-box; }
.dpfw [hidden] { display: none !important; }
.dpfw button,.dpfw input { font-family: inherit; }
.dpfw button { text-transform: none; letter-spacing: normal; min-height: 0; margin: 0; }
.dpfw button:focus-visible,.dpfw a:focus-visible,.dpfw input:focus-visible,.dpfw [tabindex]:focus-visible { outline: 3px solid #2271b1; outline-offset: 3px; }
.dpfw-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 0 20px; border-bottom: 2px solid var(--dpfw-ink); margin-bottom: 14px; }
.dpfw .dpfw-code { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dpfw-accent); margin-bottom: 6px; }
.dpfw .dpfw-title { margin: 0; font-size: clamp(24px,3vw,36px); font-weight: 700; line-height: 1.2; color: var(--dpfw-ink); }
.dpfw .dpfw-subtitle { margin: 8px 0 0; font-size: 14px; color: #656b73; }
.dpfw .dpfw-cart-link { flex-shrink: 0; text-decoration: none; background: var(--dpfw-accent); color: #fff; border-radius: 4px; padding: 11px 18px; font-weight: 600; }
.dpfw-cart-link span { margin-inline-start: 12px; }
.dpfw-status { min-height: 0; margin-bottom: 14px; font-size: 14px; background: #eef7ef; border-radius: 4px; overflow-wrap: anywhere; }
.dpfw-status:not(:empty) { padding: 10px 14px; border-inline-start: 3px solid #31813b; }
.dpfw-status.is-error { background: #fff1ed; border-color: var(--dpfw-accent); }
.dpfw-status a,.dpfw-dialog-status a { color: inherit; text-decoration: underline; }
.dpfw-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.2fr); gap: 24px; align-items: start; }
.dpfw-image-panel,.dpfw-table-panel { min-width: 0; }
.dpfw-image-panel { position: sticky; top: 24px; border: 1px solid var(--dpfw-line); border-radius: 6px; background: #fff; overflow: hidden; }
.dpfw-image-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; background: var(--dpfw-soft); border-bottom: 1px solid var(--dpfw-line); }
.dpfw .dpfw-image-toolbar p { margin: 0; font-size: 12px; color: #555c64; }
.dpfw-zoom-controls { display: flex; align-items: center; gap: 4px; direction: ltr; }
.dpfw .dpfw-zoom-controls button { border: 1px solid #d6d9de; border-radius: 3px; background: #fff; color: var(--dpfw-ink); padding: 4px 8px; height: 30px; min-width: 30px; font-size: 13px; line-height: 20px; box-shadow: none; }
.dpfw-image-scroll { max-height: 76vh; overflow: auto; overscroll-behavior: contain; padding: 0; direction: ltr; }
.dpfw-canvas { position: relative; width: 100%; max-width: none; }
.dpfw .dpfw-diagram-image { display: block; width: 100%; max-width: none; height: auto; border: 0; margin: 0; border-radius: 0; box-shadow: none; }
.dpfw .dpfw-hotspot { position: absolute; left: 0; top: 0; transform: translate(-50%,-50%); display: grid; place-items: center; width: var(--dpfw-marker-size,28px); height: var(--dpfw-marker-size,28px); min-width: 0; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--dpfw-accent); font-size: 12px; line-height: 1; font-weight: 700; padding: 0; cursor: pointer; box-shadow: 0 1px 4px #0003; z-index: 1; transition: background .15s,box-shadow .15s; }
.dpfw .dpfw-hotspot:hover,.dpfw .dpfw-hotspot.is-hover,.dpfw .dpfw-hotspot.is-selected { color: #fff; background: #242a32; box-shadow: 0 0 0 3px #bc24313d; z-index: 3; }
.dpfw .dpfw-style-outline .dpfw-hotspot { border: 1px solid transparent; border-radius: 3px; background: transparent; box-shadow: none; }
.dpfw .dpfw-style-outline .dpfw-hotspot span { opacity: 0; }
.dpfw .dpfw-style-outline .dpfw-hotspot:hover,.dpfw .dpfw-style-outline .dpfw-hotspot.is-hover,.dpfw .dpfw-style-outline .dpfw-hotspot.is-selected,.dpfw .dpfw-style-outline .dpfw-hotspot:focus-visible { background: #bc24312b; border-color: var(--dpfw-accent); box-shadow: 0 0 0 2px #bc243121; }
.dpfw-hotspot.is-loading { cursor: progress; }
.dpfw-no-image { padding: 48px 20px; text-align: center; color: #676e77; }
.dpfw-search-label { display: block; font-weight: 600; margin-bottom: 6px; }
.dpfw .dpfw-search { display: block; width: 100%; margin: 0 0 14px; padding: 10px 12px; height: 42px; border: 1px solid #cfd3d8; border-radius: 4px; font-size: 14px; background: #fff; color: var(--dpfw-ink); }
.dpfw-table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--dpfw-line); border-radius: 4px; }
.dpfw .dpfw-table { border: 0; border-collapse: collapse; width: 100%; min-width: 610px; margin: 0; font-size: 12px; line-height: 1.45; table-layout: auto; }
.dpfw-table th,.dpfw-table td { border: 0; border-bottom: 1px solid var(--dpfw-line); padding: 10px 8px; vertical-align: middle; text-align: start; background: transparent; color: var(--dpfw-ink); }
.dpfw-table thead th { background: #242a32; color: #fff; font-weight: 600; font-size: 11px; white-space: nowrap; }
.dpfw-table tbody tr:nth-child(even) { background: #fafbfc; }
.dpfw-table tbody tr:last-child th,.dpfw-table tbody tr:last-child td { border-bottom: 0; }
.dpfw-table tbody tr.is-hover,.dpfw-table tbody tr.is-selected { background: #fff0f0; }
.dpfw-table tbody tr.is-selected th:first-child { box-shadow: inset 3px 0 var(--dpfw-accent); }
.dpfw .dpfw-figure-link { color: var(--dpfw-accent); font-size: 13px; font-weight: 700; border: 0; border-radius: 3px; background: transparent; padding: 6px; cursor: pointer; line-height: 1.2; box-shadow: none; }
.dpfw-sku { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dpfw-description { min-width: 135px; }
.dpfw-description a { color: inherit; text-decoration: none; font-weight: 500; }
.dpfw-description a:hover { text-decoration: underline; }
.dpfw-description .stock { margin: 4px 0 0; font-size: 10px; }
.dpfw-description .in-stock { color: #2c7735; }
.dpfw-description .out-of-stock { color: var(--dpfw-accent); }
.dpfw .dpfw-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dpfw-price ins { background: transparent; text-decoration: none; }
.dpfw-price del { opacity: .6; font-size: 10px; }
.dpfw .dpfw-qty { width: 56px; min-width: 50px; height: 34px; padding: 5px; border: 1px solid #cfd3d8; border-radius: 3px; color: #20242a; background: #fff; font-size: 13px; line-height: 22px; margin: 0; }
.dpfw .dpfw-add,.dpfw .dpfw-choice-add { position: relative; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; font-size: 22px; line-height: 30px; font-weight: 500; color: #fff; background: var(--dpfw-accent); cursor: pointer; box-shadow: none; }
.dpfw .dpfw-add:hover,.dpfw .dpfw-choice-add:hover { background: #951b27; color: #fff; }
.dpfw .dpfw-add[disabled],.dpfw .dpfw-choice-add[disabled] { cursor: progress; opacity: .6; }
.dpfw-add[aria-busy="true"] span { visibility: hidden; }
.dpfw-add[aria-busy="true"]::after { content: ''; position: absolute; width: 14px; height: 14px; top: 9px; left: 9px; border: 2px solid #ffffff60; border-top-color: #fff; border-radius: 50%; animation: dpfw-spin .7s linear infinite; }
.dpfw .added_to_cart { display: block; margin-top: 5px; font-size: 10px; color: var(--dpfw-accent); white-space: nowrap; }
.dpfw-options,.dpfw-unavailable { font-size: 11px; line-height: 1.3; }
.dpfw .dpfw-options { color: var(--dpfw-accent); }
.dpfw-unavailable { color: #747a82; }
.dpfw .dpfw-quantity-note { margin: 10px 0 0; color: #747a82; font-size: 11px; }
.dpfw-no-results { text-align: center; padding: 24px; color: #747a82; }
.dpfw .dpfw-dialog { width: min(620px,calc(100% - 32px)); max-width: 620px; max-height: 80vh; padding: 0; margin: auto; overflow-y: auto; border: 0; border-radius: 8px; background: #fff; color: var(--dpfw-ink); box-shadow: 0 24px 80px #0003; }
.dpfw-dialog::backdrop { background: #10182099; }
.dpfw-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--dpfw-line); }
.dpfw .dpfw-dialog-header h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.dpfw .dpfw-dialog-close { border: 0; background: #f1f2f4; color: #30343a; width: 32px; height: 32px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 32px; cursor: pointer; }
.dpfw-dialog-content { padding: 0 22px 18px; }
.dpfw-choice { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--dpfw-line); }
.dpfw-choice-details { flex: 1; min-width: 0; }
.dpfw-choice-details strong { display: block; font-size: 14px; }
.dpfw-choice-sku { display: block; color: #747a82; font-size: 12px; margin-bottom: 4px; }
.dpfw-choice-price { font-size: 13px; margin-top: 4px; }
.dpfw-dialog-status { font-size: 13px; margin: 12px 0 0; }
.dpfw .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes dpfw-spin { to { transform: rotate(360deg); } }
@media(max-width:1100px) { .dpfw-layout { grid-template-columns: 1fr; } .dpfw-image-panel { position: static; } .dpfw-image-scroll { max-height: 650px; } }
@container(max-width:1000px) { .dpfw-layout { grid-template-columns: 1fr; } .dpfw-image-panel { position: static; } }
@media(max-width:600px) { .dpfw { margin: 16px 0; } .dpfw-header { gap: 12px; } .dpfw .dpfw-cart-link { padding: 9px 12px; font-size: 12px; } .dpfw-cart-link span { display: none; } .dpfw .dpfw-title { font-size: 24px; } .dpfw-layout { gap: 18px; } .dpfw-image-toolbar { padding: 10px; } .dpfw-choice { flex-wrap: wrap; } .dpfw-choice-details { min-width: 60%; } }
@media(prefers-reduced-motion:reduce) { .dpfw * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
