/* v6.4.51: category navigation. Keep earlier visual styling. */
.giftq-categories{width:100%;margin:0 0 3px;border-radius:12px;background:#f8f6ff;border:1px solid #e7e3f6}
.giftq-categories summary{list-style:none;cursor:pointer;padding:9px 10px;font-weight:700;color:#433982;display:flex;align-items:center;justify-content:space-between;gap:7px}
.giftq-categories summary::-webkit-details-marker{display:none}
.giftq-categories summary:before{content:'▸';display:inline-block;font-size:12px;margin-right:5px;transition:transform .15s ease}
.giftq-categories[open]>summary:before,.giftq-cat-group[open]>summary:before{transform:rotate(90deg)}
.giftq-cat-number{margin-left:auto;padding:1px 6px;border-radius:20px;background:#eeebfa;font-size:11px;font-weight:750;color:#5c5193;white-space:nowrap}
.giftq-cat-tree{padding:2px 5px 9px}.giftq-cat-group{margin:2px 0;border-top:1px solid #ece9f3}
.giftq-cat-group>summary{font-size:12px;line-height:1.3;padding:8px 7px;font-weight:650}
.giftq-cat-children{display:flex;flex-direction:column;gap:2px;padding:0 0 4px 10px}
.giftq-cat-children button{display:flex;align-items:center;text-align:left;gap:8px;justify-content:space-between;padding:6px 7px;border:0;border-radius:8px;background:transparent;font-size:12px;color:#514b6d;cursor:pointer}
.giftq-cat-children button:hover,.giftq-cat-children button.selected{background:#eae4ff;color:#432cb3}
.giftq-cat-meta{font-size:10px;line-height:1.5;color:#6e6683;padding:10px 6px 0}
.giftq-cat-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 15px}
.giftq-cat-head h1{margin:0}
.giftq-archive-badge{background:#f3f0e7!important;border:1px solid #d4cfc2!important;color:#665b46!important;max-width:none!important;white-space:normal!important}
@media(max-width:750px){.giftq-cat-children button{padding:10px 8px}}
