/* Detech WooCommerce Category Accordion */
.dpc-widget {
    --dpc-accent: #6c4cf1;
    --dpc-text: #25283a;
    --dpc-muted: #7d8292;
    --dpc-border: #ececf3;
    --dpc-hover: #f6f4ff;
    width: 100%; padding: 22px; background: #fff;
    border: 1px solid var(--dpc-border); border-radius: 16px;
    box-sizing: border-box; box-shadow: 0 5px 24px rgba(32,28,70,.045);
    color: var(--dpc-text); font-family: inherit;
}
.dpc-widget *, .dpc-widget *::before, .dpc-widget *::after { box-sizing: border-box; }
.dpc-widget .dpc-heading { margin: 0 0 18px; padding: 0 0 15px; border-bottom: 1px solid var(--dpc-border); color: var(--dpc-text); font-family: inherit; font-size: 19px; font-weight: 750; line-height: 1.4; letter-spacing: -.35px; }
.dpc-widget .dpc-list, .dpc-widget .dpc-sublist { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.dpc-widget .dpc-item { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.dpc-widget .dpc-row { display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 3px 0; border-radius: 9px; transition: background-color .2s ease; }
.dpc-widget .dpc-row:hover { background: var(--dpc-hover); }
.dpc-widget .dpc-toggle { appearance: none; -webkit-appearance: none; flex: 0 0 30px; width: 30px; height: 32px; padding: 0; margin: 0; border: 0; border-radius: 8px; background: transparent; color: var(--dpc-accent); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dpc-widget .dpc-toggle:hover, .dpc-widget .dpc-toggle:focus-visible { background: #ece7ff; outline: none; }
.dpc-widget .dpc-chevron { display: block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .22s ease; }
.dpc-widget .is-open > .dpc-row .dpc-chevron { transform: rotate(45deg); }
.dpc-widget .dpc-toggle-empty { cursor: default; pointer-events: none; }
.dpc-widget .dpc-dot { width: 5px; height: 5px; background: #c9c5d9; border-radius: 50%; }
.dpc-widget .dpc-link { display: flex !important; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 8px 8px 8px 0 !important; margin: 0 !important; border: 0 !important; border-radius: 8px; background: transparent !important; color: var(--dpc-text) !important; text-decoration: none !important; font-size: 14px; font-weight: 500; line-height: 1.5; box-shadow: none !important; }
.dpc-widget .dpc-link:hover { color: var(--dpc-accent) !important; }
.dpc-widget .dpc-name { overflow-wrap: anywhere; transition: color .2s ease; }
.dpc-widget .dpc-count { flex: 0 0 auto; min-width: 25px; padding: 3px 7px; border: 1px solid var(--dpc-border); border-radius: 20px; background: #f8f8fb; color: var(--dpc-muted); font-size: 11px; font-weight: 650; text-align: center; line-height: 1.35; }
.dpc-widget .dpc-sublist { margin: 3px 0 7px 14px !important; padding: 4px 0 4px 13px !important; border-left: 2px solid #eeebff; }
.dpc-widget .dpc-sublist[hidden] { display: none !important; }
.dpc-widget .dpc-sublist .dpc-row { min-height: 39px; }
.dpc-widget .dpc-sublist .dpc-link { font-size: 13px; }
.dpc-widget .dpc-sublist .dpc-sublist { margin-left: 9px !important; padding-left: 10px !important; }
.dpc-widget .dpc-item.is-open > .dpc-row .dpc-name { color: var(--dpc-accent); font-weight: 650; }
.dpc-widget .dpc-toggle:focus-visible, .dpc-widget .dpc-link:focus-visible { outline: 2px solid var(--dpc-accent); outline-offset: 3px; }
.dpc-empty { padding: 16px; border: 1px solid #ececf3; border-radius: 12px; color: #7d8292; font-size: 14px; }
@media (max-width: 480px) { .dpc-widget { padding: 16px; border-radius: 12px; } .dpc-widget .dpc-heading { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .dpc-widget *, .dpc-widget *::before, .dpc-widget *::after { transition: none !important; } }
