.dppo-options{flex:0 0 100%;width:100%;min-width:0;box-sizing:border-box;margin:0 0 18px;padding:16px 18px;border:1px solid var(--theme-border-color,#ddd5ca);border-radius:12px;background:var(--theme-palette-color-7,#f8f5f0);color:var(--theme-text-color,inherit)}
.dppo-options .dppo-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.dppo-options .dppo-field label{font-size:.92em;font-weight:500;margin:0;line-height:1.5}
.dppo-options .dppo-field label small{font-weight:400;font-size:.84em;opacity:.8}
.dppo-options .dppo-field label span{color:inherit}
.dppo-options .dppo-field select{width:100%;max-width:100%;min-height:44px;margin:0;border-radius:8px;padding:8px 30px 8px 12px;box-sizing:border-box;font:inherit;font-size:.92em}
.dppo-options .dppo-field select:focus-visible{outline:2px solid #a68d69;outline-offset:2px}
.dppo-options .dppo-hint{margin:0;font-size:.8em;line-height:1.5;opacity:.85}
@media(max-width:480px){.dppo-options{padding:12px}}

/* Compact, responsive product metadata. Only this plugin's output is styled. */
.dppo-summary {
    --dppo-accent: #795a35;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    min-width: 0;
    margin: 5px 0 3px;
    padding: 3px 0 3px 9px;
    border: 0;
    border-inline-start: 1px solid var(--theme-border-color, rgba(166,141,105,.45));
    border-radius: 0;
    background: transparent;
    color: var(--theme-text-color, inherit);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: start;
    white-space: normal;
    overflow-wrap: anywhere;
}
html[data-color-mode="dark"] .dppo-summary { --dppo-accent: #e4c59b; }
.dppo-summary .dppo-summary-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr));
    align-items: baseline;
    gap: 1px 9px;
    padding: 2px 0;
    margin: 0;
    border: 0;
}
.dppo-summary .dppo-summary-key { min-width: 0; font-weight: 400; }
.dppo-summary .dppo-summary-value {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0 6px;
    min-width: 0;
    text-align: end;
}
.dppo-summary .dppo-summary-label { display: inline; min-width: 0; font-weight: 500; }
.dppo-summary .dppo-summary-extra,
.dppo-summary .dppo-summary-total {
    display: inline;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}
.dppo-summary .dppo-summary-paid { color: var(--dppo-accent); font-weight: 600; }
.dppo-summary .dppo-summary-total { color: var(--dppo-accent); }
/* Native WooCommerce metadata wrapper. Never affect other variation entries. */
.variation dt:has(+ dd .dppo-summary) { display: none !important; }
.variation dd:has(.dppo-summary) {
    display: block !important;
    float: none !important;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.variation dd:has(.dppo-summary) > p { margin: 0 !important; padding: 0 !important; }
/* The two columns wrap automatically according to available width, not viewport. */
@media (max-width: 480px) {
    .dppo-summary { max-width: 100%; padding-inline-start: 7px; }
    .dppo-summary .dppo-summary-value { justify-content: flex-start; text-align: start; }
}

