/* Visitor section order (js/spec-order.js): device page + compare page. */
.ls-spec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.ls-spec-head > h2 { margin: 0 !important; }
.ls-arrange-btn {
    display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
    min-height: 34px; padding: 0 12px;
    border: 1px solid #cfe0fa; border-radius: 999px; background: #fff;
    color: #0b5fd8; font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.ls-arrange-btn:hover, .ls-arrange-btn:focus-visible, .ls-arrange-btn[aria-expanded="true"] { border-color: #0b5fd8; background: #f2f7ff; color: #0b5fd8; }
.ls-arrange-btn .ls-arrange-ico { width: 17px; height: 17px; flex: 0 0 auto; }
.ls-arrange-btn.is-custom::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff8a3d; }
.ls-arrange-btn[hidden], .ls-arrange[hidden] { display: none !important; }

.ls-arrange {
    margin: 0 0 14px; padding: 14px; border: 1px solid #dbe7f7; border-radius: 12px;
    background: #f7faff; box-shadow: 0 8px 22px rgba(7, 29, 51, .08);
}
.ls-cmp-toolbar + .ls-arrange { margin-top: 10px; }
.ls-arrange-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.ls-arrange-head strong { color: #071d33; font-size: 15px; }
.ls-arrange-head span { color: #4a5d7a; font-size: 13px; line-height: 1.4; }
.ls-arrange-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px;
    margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.ls-arrange-item {
    display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0;
    padding: 5px 6px 5px 4px; border: 1px solid #dbe7f7; border-radius: 9px; background: #fff;
    transition: box-shadow .15s, border-color .15s;
}
.ls-arrange-item.is-dragging { border-color: #0b5fd8; box-shadow: 0 6px 16px rgba(11, 95, 216, .2); position: relative; z-index: 1; }
.ls-arrange-list.is-sorting { user-select: none; }
.ls-arrange-handle {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 32px;
    color: #9aaccc; cursor: grab; touch-action: none; flex: 0 0 auto;
}
.ls-arrange-list.is-sorting .ls-arrange-handle { cursor: grabbing; }
.ls-arrange-handle svg { width: 18px; height: 18px; fill: currentColor; }
.ls-arrange-num {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    min-width: 22px; height: 22px; border-radius: 6px; background: #e8f0fd; color: #0b5fd8; font-size: 12px; font-weight: 800;
}
.ls-arrange-name { flex: 1 1 auto; min-width: 0; overflow: hidden; color: #071d33; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ls-arrange-move {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 32px; height: 32px; padding: 0; border: 1px solid #dbe7f7; border-radius: 8px; background: #fff; color: #0b5fd8; cursor: pointer;
}
.ls-arrange-move svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ls-arrange-move:hover:not(:disabled), .ls-arrange-move:focus-visible { border-color: #0b5fd8; background: #f2f7ff; }
.ls-arrange-move:disabled { color: #c3cfe2; cursor: default; }
.ls-arrange-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ls-arrange-reset, .ls-arrange-done {
    min-height: 36px; padding: 0 14px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.ls-arrange-reset { border: 1px solid #dbe7f7; background: #fff; color: #4a5d7a; }
.ls-arrange-reset:hover:not(:disabled), .ls-arrange-reset:focus { border-color: #4a5d7a; background: #fff; color: #4a5d7a; }
.ls-arrange-move:focus { background: #f2f7ff; color: #0b5fd8; }
.ls-arrange-done:focus { background: #0a4fb4; color: #fff; }
.ls-arrange-btn:focus { background: #f2f7ff; color: #0b5fd8; }
.ls-arrange-reset:disabled { opacity: .5; cursor: default; }
.ls-arrange-done { border: 1px solid #0b5fd8; background: #0b5fd8; color: #fff; }
.ls-arrange-done:hover { background: #0a4fb4; }

@media (max-width: 700px) {
    .ls-arrange-list { grid-template-columns: minmax(0, 1fr); }
    .ls-arrange { padding: 12px; }
    .ls-spec-head .ls-arrange-btn span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .ls-arrange-item, .ls-arrange-btn { transition: none; } }
